/*=========================================================
  JORASHA WISHLIST
  Product Card + Custom Header Wishlist
  (cleaned — duplicate/overridden rules removed,
   final effective values kept, same visual result)
=========================================================*/


/*=========================================================
  PRODUCT CARD WISHLIST
=========================================================*/

.jorasha-wishlist {
    position: relative;
    cursor: pointer;
}

.jorasha-heart {
    width: 30px;
    height: 30px;

    display: block;

    fill: none;
    color: currentColor;

    transition:
        transform 0.2s ease,
        fill 0.2s ease,
        color 0.2s ease;
}

.jorasha-wishlist.is-wishlisted .jorasha-heart {
    fill: #e91e63;
    color: #e91e63;
}

.jorasha-wishlist.wishlist-pop .jorasha-heart {
    transform: scale(1.15);
}


/*=========================================================
  PRODUCT CARD WISHLIST — WOOCOMMERCE FORCE DISPLAY
=========================================================*/

.woocommerce .jorasha-image {
    position: relative !important;
}

.woocommerce .jorasha-wishlist {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;

    width: 42px !important;
    height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    visibility: visible !important;
    opacity: 1 !important;

    z-index: 999 !important;

    color: #E91E63 !important;
    background: #ffffff !important;

    border-radius: 50% !important;

    cursor: pointer !important;
    pointer-events: auto !important;

    box-shadow: 0 3px 12px rgba(0,0,0,0.12) !important;

    transform: none;
}

.woocommerce .jorasha-wishlist:hover {
    transform: scale(1.10) !important;
}

.woocommerce .jorasha-wishlist .jorasha-heart {
    display: block !important;

    width: 30px !important;
    height: 30px !important;

    visibility: visible !important;
    opacity: 1 !important;

    stroke: currentColor !important;
    color: #E91E63 !important;

    fill: none !important;

    pointer-events: none !important;
}

.woocommerce .jorasha-wishlist.is-wishlisted .jorasha-heart {
    fill: #E91E63 !important;
    stroke: #E91E63 !important;
}


/*=========================================================
  CUSTOM HEADER WISHLIST
=========================================================*/

.jorasha-header-wishlist {
    position: absolute !important;

    right: 145px;
    top: 18px;

    width: 52px;
    height: 52px;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    z-index: 9999;
}

.jorasha-custom-header-wishlist {
    position: relative;

    width: 48px;
    height: 48px;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    color: #e91e63 !important;

    text-decoration: none !important;

    cursor: pointer;

    border-radius: 10%;

    transition:
        transform 0.25s cubic-bezier(.2, .8, .2, 1),
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.jorasha-custom-wishlist-heart {
    width: 32px !important;
    height: 32px !important;

    display: block;

    fill: none;

    stroke: #e91e63 !important;
    stroke-width: 2.2;

    transition:
        transform 0.25s cubic-bezier(.2, .8, .2, 1),
        fill 0.25s ease,
        stroke 0.25s ease;
}

/* Radial hover */
.jorasha-custom-header-wishlist:hover {
    color: #d81b60 !important;

    /* Expands outward from the center. Does NOT move up or down. */
    transform: scale(1.10);

    background: rgba(233, 30, 99, 0.06);

    box-shadow: 0 5px 18px rgba(233, 30, 99, 0.12);
}

.jorasha-custom-header-wishlist:hover .jorasha-custom-wishlist-heart {
    transform: scale(1.08);
    stroke: #d81b60 !important;
}

/* Filled state */
.jorasha-custom-header-wishlist.is-wishlisted {
    color: #e91e63 !important;
}

.jorasha-custom-header-wishlist.is-wishlisted .jorasha-custom-wishlist-heart {
    fill: #e91e63 !important;
    stroke: #e91e63 !important;
}

/* Count bubble */
.jorasha-custom-wishlist-count {
    position: absolute;

    top: -1px;
    right: -2px;

    min-width: 19px;
    height: 19px;

    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e91e63;
    color: #ffffff;

    border: 2px solid #ffffff;
    border-radius: 50%;

    font-family: Poppins, Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;

    box-sizing: border-box;

    z-index: 2;
}

/* Click animation */
.jorasha-custom-header-wishlist.wishlist-pop .jorasha-custom-wishlist-heart {
    animation: jorashaWishlistPop 0.28s cubic-bezier(.2, .8, .2, 1);
}

@keyframes jorashaWishlistPop {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.28); }
    75%  { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* Tablet */
@media (max-width: 1024px) {
    .jorasha-header-wishlist {
        right: 110px;
        top: 18px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .jorasha-header-wishlist {
        right: 72px;
        top: 50%;

        width: 44px;
        height: 44px;
    }

    .jorasha-custom-header-wishlist {
        width: 30px;
        height: 30px;
    }

    .jorasha-custom-wishlist-heart {
        width: 23px !important;
        height: 23px !important;
    }

    .jorasha-custom-wishlist-count {
        top: -2px;
        right: -3px;

        min-width: 17px;
        height: 17px;

        font-size: 9px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .jorasha-header-wishlist {
        right: 62px;
    }
}


/*=========================================================
  EMPTY WISHLIST BOX
=========================================================*/

.jorasha-empty-wishlist {
    box-sizing: border-box;

    width: 100% !important;
    max-width: none !important;
    margin: 5px 0 30px !important;

    min-height: 440px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;

    padding: 5px 30px 55px;

    border: 1px solid #f6cbd8;
    border-radius: 26px;

    background: #fff;
    overflow: hidden;
}

.jorasha-empty-wishlist-icon {
    font-size: 100px;
    color: #f58aa8;
    line-height: 1;
    margin-bottom: 15px;
}

.jorasha-empty-wishlist h2 {
    font-size: 34px;
    margin: 0 0 15px;
    color: #181827;
}

.jorasha-empty-wishlist h2 span {
    color: #ef4775;
}

.jorasha-empty-wishlist p {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 25px;
}

.jorasha-empty-wishlist-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 42px;

    background: #ef4775;
    color: #fff !important;

    text-decoration: none !important;
    border-radius: 12px;

    font-size: 17px;
    font-weight: 600;

    transition: .2s ease;
}

.jorasha-empty-wishlist-button:hover {
    transform: translateY(-2px);
    opacity: .9;
}

@media (max-width: 768px) {
    .jorasha-empty-wishlist {
        margin: 5px 0 25px !important;

        min-height: 420px;
        padding: 35px 18px 40px;
        border-radius: 20px;
    }

    .jorasha-empty-wishlist-icon {
        font-size: 75px;
    }

    .jorasha-empty-wishlist h2 {
        font-size: 25px;
        line-height: 1.3;
    }

    .jorasha-empty-wishlist p {
        font-size: 15px;
        line-height: 1.6;
    }

    .jorasha-empty-wishlist-button {
        width: 90%;
        max-width: 330px;
        box-sizing: border-box;

        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .jorasha-empty-wishlist {
        min-height: 390px;
        padding: 30px 14px 35px;
        border-radius: 18px;
    }

    .jorasha-empty-wishlist-icon {
        font-size: 65px;
    }

    .jorasha-empty-wishlist h2 {
        font-size: 22px;
    }

    .jorasha-empty-wishlist p {
        font-size: 14px;
    }
}


/*=========================================================
  WOOCOMMERCE DEFAULT BREADCRUMB
  (unrelated to .jorasha-wishlist-breadcrumb below —
   kept as its own selector, not a duplicate)
=========================================================*/

.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
    width: calc(100% - 72px);
    max-width: 1400px;

    margin: 25px auto 0 !important;
    padding: 0 !important;

    font-size: 16px;
    line-height: 1.5;

    color: #777;
}

.woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover,
.woocommerce .woocommerce-breadcrumb a:hover {
    color: #ef4775;
}

.woocommerce-breadcrumb .breadcrumb_last,
.woocommerce .woocommerce-breadcrumb .breadcrumb_last {
    color: #ef4775;
}

@media (max-width: 1024px) {
    .woocommerce-breadcrumb,
    .woocommerce .woocommerce-breadcrumb {
        width: calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    .woocommerce-breadcrumb,
    .woocommerce .woocommerce-breadcrumb {
        width: calc(100% - 24px);
        margin: 18px auto 0 !important;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .woocommerce-breadcrumb,
    .woocommerce .woocommerce-breadcrumb {
        width: calc(100% - 20px);
        font-size: 13px;
    }
}


/*=========================================================
  CUSTOM WISHLIST BREADCRUMB
=========================================================*/

.jorasha-wishlist-breadcrumb {
    display: flex;
    align-items: center;
    gap: 14px;

    width: 100% !important;
    max-width: none !important;
    margin: 8px 0 12px !important;

    font-size: 16px;
    color: #777;
}

.jorasha-wishlist-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.jorasha-wishlist-breadcrumb span:nth-child(2) {
    color: #aaa;
}

.jorasha-wishlist-breadcrumb span:last-child {
    color: #ef4775;
}

.jorasha-shopping-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .jorasha-wishlist-breadcrumb {
        margin: 6px 0 10px !important;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .jorasha-wishlist-breadcrumb {
        font-size: 13px;
    }
}


/*=========================================================
  WISHLIST PAGE WRAPPER
=========================================================*/

.jorasha-wishlist-page {
    width: 100% !important;
    max-width: none !important;
    margin: 5px 0 30px !important;
}

.woocommerce-page .entry-header {
    padding-top: 4px !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

.woocommerce-page .entry-title {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

/*
 * FULL-BLEED BREAKOUT
 * -----------------------------------------------------------------
 * width:100% only fills the parent box — if a grandparent
 * (.site-content, body wrapper, etc.) is itself centered with a
 * max-width, 100% of it is still centered on the screen, which is
 * the gap you were seeing. This breaks the container out to the
 * true viewport edge regardless of what any ancestor is doing,
 * then padding-left/right controls the actual left/right gap.
 */
body.woocommerce-page .site-content > .ast-container {
    box-sizing: border-box !important;

    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding-left: 25px !important;
    padding-right: 25px !important;
}

body.woocommerce-page #primary {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.woocommerce-page .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 768px) {
    .jorasha-wishlist-page {
        margin: 6px 0 30px !important;
    }

    .woocommerce-page .entry-header {
        padding-top: 2px !important;
        margin-bottom: 4px !important;
    }

    .woocommerce-page .entry-title {
        margin-bottom: 4px !important;
    }

    body.woocommerce-page .site-content > .ast-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}


/*=========================================================
  WISHLIST PRODUCT GRID
=========================================================*/

.jorasha-wishlist-page .products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;

    width: 100% !important;
    max-width: none !important;
    margin: 0;
    padding: 0;
}

.jorasha-wishlist-page .products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1024px) {
    .jorasha-wishlist-page .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .jorasha-wishlist-page .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}






/* =========================================================
   WISHLIST HEART - ORIGINAL BOTTOM RIGHT POSITION
   ========================================================= */

.jorasha-card .jorasha-image {
    position: relative !important;
}

.jorasha-card .jorasha-image > .jorasha-wishlist {
    position: absolute !important;

    top: auto !important;
    left: auto !important;

    right: 5px !important;
    bottom: 5px !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    z-index: 50 !important;

    color: #E91E63 !important;
    cursor: pointer !important;

    transform: none;
    transition: .3s ease;
}

/* Heart SVG */

.jorasha-card .jorasha-image > .jorasha-wishlist .jorasha-heart {
    display: block !important;

    width: 32px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;

    z-index: 51 !important;

    color: inherit !important;
}

/* Hover */

.jorasha-card .jorasha-image > .jorasha-wishlist:hover {
    transform: scale(1.12) !important;
}

/* =========================================================
   MOBILE - SAME ORIGINAL POSITION
   ========================================================= */

@media (max-width: 768px) {

    .jorasha-card .jorasha-image > .jorasha-wishlist {
        top: auto !important;
        left: auto !important;

        right: 5px !important;
        bottom: 5px !important;

        width: auto !important;
        height: auto !important;
    }

    .jorasha-card .jorasha-image > .jorasha-wishlist .jorasha-heart {
        width: 18px !important;
        height: 18px !important;
    }

}









/* =========================================================
   MOBILE - SHOW JORASHA GIFT WIDGET IN HEADER
   ========================================================= */

@media (max-width: 921px) {

    #jorasha-gift-widget {
        display: flex !important;
        position: relative !important;

        width: 38px !important;
        height: 38px !important;

        margin: 0 4px 0 6px !important;
        padding: 0 !important;

        align-items: center !important;
        justify-content: center !important;

        flex-shrink: 0 !important;

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;

        color: #e91e63 !important;
        z-index: 9999 !important;
    }

    #jorasha-gift-widget svg {
        width: 27px !important;
        height: 27px !important;

        display: block !important;

        color: #e91e63 !important;
        stroke: currentColor !important;
        fill: none !important;
    }

    #jorasha-gift-widget #jorasha-gift-count {
        position: absolute !important;

        top: -3px !important;
        right: -3px !important;

        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding: 0 !important;

        background: #e91e63 !important;
        color: #fff !important;

        border-radius: 50% !important;

        font-size: 9px !important;
        line-height: 16px !important;
        font-weight: 600 !important;

        z-index: 10000 !important;
    }
}











/* =========================================================
   MOBILE - WISHLIST + CART FINAL POSITION
   ========================================================= */

@media (max-width: 767px) {

    /*
     * Keep the existing wishlist position.
     */
    .jorasha-header-wishlist {
        width: 42px !important;
        height: 42px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex-shrink: 0 !important;
    }


    /*
     * Make the cart compact.
     */
    #jorasha-gift-widget {
        width: 32px !important;
        height: 32px !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        margin: 0 0 0 10px !important;
        padding: 0 !important;

        flex-shrink: 0 !important;

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;

        color: #e91e63 !important;
        z-index: 9999 !important;
    }


    /*
     * Cart icon.
     */
    #jorasha-gift-widget svg {
        width: 24px !important;
        height: 24px !important;

        display: block !important;
        margin: 0 !important;

        color: #e91e63 !important;
        stroke: currentColor !important;
        fill: none !important;
        stroke-width: 2.2 !important;
    }


    /*
     * Cart badge.
     */
    #jorasha-gift-widget #jorasha-gift-count {
        position: absolute !important;

        top: -3px !important;
        right: -3px !important;

        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;

        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        background: #e91e63 !important;
        color: #ffffff !important;

        border-radius: 50% !important;

        font-size: 8px !important;
        font-weight: 600 !important;
        line-height: 15px !important;

        z-index: 10000 !important;
    }

}









/* =========================================================
   MOBILE - MOVE CART BESIDE WISHLIST
   ========================================================= */

@media (max-width: 767px) {

    #ast-mobile-header #jorasha-gift-widget {
        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        width: 30px !important;
        height: 30px !important;

        margin-left: 5px !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        transform: none !important;

        flex-shrink: 0 !important;

        background: transparent !important;
        border: none !important;
        box-shadow: none !important;

        z-index: 99999 !important;
    }

    #ast-mobile-header #jorasha-gift-widget svg {
    width: 27px !important;
    height: 27px !important;

    display: block !important;
    margin: 0 !important;

    color: #e91e63 !important;
    stroke: currentColor !important;
    fill: none !important;

    stroke-width: 2.2 !important;
}

    #ast-mobile-header #jorasha-gift-widget #jorasha-gift-count {
        position: absolute !important;

        top: -3px !important;
        right: -3px !important;

        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        background: #e91e63 !important;
        color: #fff !important;

        border-radius: 50% !important;

        font-size: 8px !important;
        line-height: 15px !important;
        font-weight: 600 !important;
    }

}

/*=========================================================
MOBILE - CART ONLY
Move cart horizontally without touching wishlist
=========================================================*/

@media (max-width: 767px) {

    #ast-mobile-header #jorasha-gift-widget {
        position: relative !important;

        left: 30px !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        transform: none !important;
    }

}









/*=========================================================
Final to override all 
=========================================================*/

@media (max-width: 767px) {

    #ast-mobile-header #jorasha-gift-widget #jorasha-gift-count {
        position: absolute !important;

        top: 5px !important;
        right: 2px !important;

        width: 13px !important;
        min-width: 13px !important;

        height: 13px !important;
        min-height: 13px !important;

        max-width: 13px !important;
        max-height: 13px !important;

        padding: 0 !important;
        margin: 0 !important;

        box-sizing: border-box !important;
        border-radius: 50% !important;

        background: #e91e63 !important;
        color: #ffffff !important;

        font-family: Poppins, Arial, sans-serif !important;
        font-size: 8px !important;
        font-weight: 600 !important;
        line-height: 14px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        transform: translateY(0px) !important;
        transform-origin: center center !important;

        z-index: 999999 !important;
    }
}

@media (max-width: 767px) {

    #ast-mobile-header #jorasha-gift-widget {
        transform: translateX(5px) !important;
    }

}

