/* GROOKFIT AJAX Wishlist v1.0.2 */
.gfse-wishlist-btn{
    appearance:none !important;
    -webkit-appearance:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    width:48px !important;
    min-width:48px !important;
    height:48px !important;
    min-height:48px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid rgba(255,255,255,.30) !important;
    background:#151515 !important;
    color:#fff !important;
    border-radius:10px !important;
    font-family:inherit !important;
    cursor:pointer !important;
    opacity:1 !important;
    visibility:visible !important;
    box-shadow:none !important;
    transition:.2s ease !important;
}
.gfse-wishlist-btn .gfse-heart{
    display:block !important;
    color:#fff !important;
    font-size:20px !important;
    line-height:1 !important;
    font-style:normal !important;
}
.gfse-wishlist-btn.is-active{
    background:#1b1b1b !important;
    border-color:rgba(255,255,255,.55) !important;
}
.gfse-wishlist-btn.is-loading{opacity:.55 !important;pointer-events:none !important}

/* Wishlist shortcode page */
.gfse-wishlist-page{color:#fff}
.gfse-wishlist-heading{display:flex;align-items:center;gap:10px;margin-bottom:24px}
.gfse-wishlist-heading h2{margin:0}
.gfse-wishlist-count{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:99px;background:#111;color:#fff;font-size:12px}
.gfse-wishlist-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.gfse-wishlist-card{border:1px solid rgba(255,255,255,.10);border-radius:14px;overflow:hidden;background:#0d0d0d}
.gfse-wishlist-image{display:block;aspect-ratio:1/1;overflow:hidden}
.gfse-wishlist-image img{width:100%;height:100%;object-fit:cover}
.gfse-wishlist-info{padding:14px}
.gfse-wishlist-title{display:block;color:inherit;text-decoration:none;font-weight:600;margin-bottom:8px}
.gfse-wishlist-price{margin-bottom:14px}
.gfse-wishlist-actions{display:flex;gap:8px;flex-wrap:wrap}
.gfse-wishlist-cart,.gfse-wishlist-remove{border-radius:8px;padding:9px 12px}
.gfse-wishlist-remove{background:transparent;border:1px solid rgba(255,255,255,.15);color:inherit;cursor:pointer}
.gfse-wishlist-empty{padding:40px 20px;border:1px dashed rgba(255,255,255,.15);border-radius:14px;text-align:center;color:#aaa}
@media(max-width:767px){
 .gfse-wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .gfse-wishlist-info{padding:10px}
}


/* Heart-only product wishlist control */
.gfse-wishlist-btn .gfse-wishlist-text{display:none !important}
.gfse-wishlist-btn .gfse-heart{
    font-family:"Font Awesome 6 Free","Font Awesome 6 Pro",sans-serif !important;
    font-weight:900 !important;
}


.gfse-wishlist-btn .gfse-heart.fa-regular{
    font-family:"Font Awesome 6 Free","Font Awesome 6 Pro",sans-serif !important;
    font-weight:400 !important;
}
.gfse-wishlist-btn .gfse-heart.fa-solid{
    font-family:"Font Awesome 6 Free","Font Awesome 6 Pro",sans-serif !important;
    font-weight:900 !important;
}


.gfse-wishlist-btn.is-variation-locked{
    opacity:.42 !important;
    cursor:not-allowed !important;
    pointer-events:none !important;
}
.gfse-wishlist-btn .gfse-heart.fa-regular{
    font-family:"Font Awesome 6 Free","Font Awesome 6 Pro",sans-serif !important;
    font-weight:400 !important;
}
.gfse-wishlist-btn .gfse-heart.fa-solid{
    font-family:"Font Awesome 6 Free","Font Awesome 6 Pro",sans-serif !important;
    font-weight:900 !important;
}


/* v1.0.9: locked wishlist = outline + muted */
.gfse-wishlist-btn.is-variation-locked .gfse-heart{
    font-weight:400 !important;
    color:rgba(255,255,255,.60) !important;
}


/* =========================================================
   v1.2.2 — Wishlist cards: native image ratio + one-line title
   ========================================================= */
.gfse-wishlist-page{
    width:100% !important;
    color:inherit !important;
    margin:0 !important;
    padding:0 !important;
}
.gfse-wishlist-heading{display:none !important}
.gfse-wishlist-grid{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:20px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}
.gfse-wishlist-card{
    position:relative !important;
    min-width:0 !important;
    overflow:visible !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.gfse-wishlist-media{
    position:relative !important;
    width:100% !important;
    height:auto !important;
    overflow:hidden !important;
    border-radius:14px !important;
    background:#111 !important;
    aspect-ratio:auto !important;
}
.gfse-wishlist-image{
    display:block !important;
    width:100% !important;
    height:auto !important;
    overflow:hidden !important;
    border:0 !important;
    text-decoration:none !important;
    line-height:0 !important;
}
.gfse-wishlist-image img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-width:100% !important;
    object-fit:contain !important;
    transition:transform .3s ease !important;
}
.gfse-wishlist-card:hover .gfse-wishlist-image img{transform:scale(1.02) !important}
.gfse-wishlist-sale{
    position:absolute !important;
    top:10px !important;
    right:10px !important;
    z-index:3 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:30px !important;
    padding:0 9px !important;
    border-radius:0 !important;
    background:#fff !important;
    color:#222 !important;
    font-size:12px !important;
    font-weight:500 !important;
    line-height:1 !important;
}
.gfse-wishlist-card-heart{
    position:absolute !important;
    right:8px !important;
    bottom:8px !important;
    z-index:4 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    min-height:40px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    color:#fff !important;
    cursor:pointer !important;
    text-shadow:0 1px 5px rgba(0,0,0,.75) !important;
    box-shadow:none !important;
    appearance:none !important;
    -webkit-appearance:none !important;
}
.gfse-wishlist-card-heart i{font-size:26px !important;line-height:1 !important;font-style:normal !important}
.gfse-wishlist-card-heart.is-loading{opacity:.45 !important;pointer-events:none !important}
.gfse-wishlist-info{min-width:0 !important;padding:10px 4px 0 !important}
.gfse-wishlist-title{
    display:block !important;
    overflow:hidden !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
    margin:0 0 6px !important;
    color:inherit !important;
    text-decoration:none !important;
    font-size:16px !important;
    font-weight:600 !important;
    line-height:1.35 !important;
}
.gfse-wishlist-price{margin:0 !important;color:inherit !important;font-size:15px !important;line-height:1.25 !important}
.gfse-wishlist-price del{margin-right:5px !important;opacity:.55 !important}
.gfse-wishlist-price ins{color:inherit !important;text-decoration:none !important;font-weight:600 !important}
.gfse-wishlist-card-actions{display:flex !important;margin-top:9px !important}
.gfse-wishlist-cart{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    width:100% !important;
    min-height:38px !important;
    padding:8px 10px !important;
    border:1px solid rgba(255,255,255,.18) !important;
    border-radius:9px !important;
    background:#151515 !important;
    color:#fff !important;
    font:inherit !important;
    font-size:13px !important;
    font-weight:600 !important;
    line-height:1 !important;
    text-decoration:none !important;
    cursor:pointer !important;
    box-sizing:border-box !important;
}
.gfse-wishlist-cart i{font-size:13px !important}
.gfse-wishlist-cart:hover{background:#222 !important;border-color:rgba(255,255,255,.35) !important;color:#fff !important}
.gfse-wishlist-cart.is-loading{opacity:.55 !important;pointer-events:none !important}
.gfse-wishlist-empty{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    min-height:180px !important;
    padding:35px 20px !important;
    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:16px !important;
    background:rgba(255,255,255,.025) !important;
    color:rgba(255,255,255,.68) !important;
    text-align:center !important;
}
.gfse-wishlist-empty i{font-size:30px !important;color:#fff !important}
.gfse-wishlist-empty strong{display:block !important;color:#fff !important;font-size:17px !important;font-weight:600 !important}
.gfse-wishlist-empty span{font-size:14px !important}
.gfse-wishlist-actions,.gfse-wishlist-remove{display:none !important}
@media(max-width:767px){
    .gfse-wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;column-gap:10px !important;row-gap:24px !important}
    .gfse-wishlist-media{border-radius:8px !important;aspect-ratio:auto !important}
    .gfse-wishlist-sale{top:8px !important;right:8px !important;min-height:28px !important;padding:0 8px !important;font-size:11px !important}
    .gfse-wishlist-card-heart{right:6px !important;bottom:6px !important;width:36px !important;height:36px !important;min-width:36px !important;min-height:36px !important}
    .gfse-wishlist-card-heart i{font-size:24px !important}
    .gfse-wishlist-info{padding:8px 2px 0 !important}
    .gfse-wishlist-title{margin-bottom:5px !important;font-size:14px !important;line-height:1.3 !important}
    .gfse-wishlist-price{font-size:14px !important}
    .gfse-wishlist-card-actions{margin-top:8px !important}
    .gfse-wishlist-cart{min-height:36px !important;padding:7px 8px !important;font-size:12px !important;border-radius:8px !important}
}
@media(max-width:360px){
    .gfse-wishlist-grid{column-gap:8px !important}
    .gfse-wishlist-title{font-size:13px !important}
    .gfse-wishlist-price{font-size:13px !important}
    .gfse-wishlist-cart{font-size:11px !important}
}


/* =========================================================
   v1.2.3 — Preserve the actual uploaded image ratio.
   Some WooCommerce themes force product images to square.
   These rules intentionally override that only inside wishlist.
   ========================================================= */
.gfse-wishlist-media,
.gfse-wishlist-image,
.gfse-wishlist-image img{
    aspect-ratio:auto !important;
}
.gfse-wishlist-media{
    height:auto !important;
    max-height:none !important;
}
.gfse-wishlist-image{
    height:auto !important;
    min-height:0 !important;
}
.gfse-wishlist-image img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center center !important;
}

/* Keep the wishlist cart CTA visually identical for every product type. */
.gfse-wishlist-cart{
    appearance:none !important;
    -webkit-appearance:none !important;
    box-sizing:border-box !important;
}


/* v1.2.4 — Never let the theme's square product-image rules win. */
.gfse-wishlist-media::before,.gfse-wishlist-media::after{display:none !important;content:none !important;padding:0 !important;}
.gfse-wishlist-media[style]{height:auto !important;min-height:0 !important;max-height:none !important;}
.gfse-wishlist-media[style] .gfse-wishlist-image{height:auto !important;min-height:0 !important;}
.gfse-wishlist-media[style] .gfse-wishlist-image img{height:auto !important;min-height:0 !important;max-height:none !important;object-fit:contain !important;}

/* v1.2.6 — Compact wishlist card actions: cart icon + Buy */
.gfse-wishlist-card-actions{
    display:grid !important;
    grid-template-columns:42px minmax(0,1fr) !important;
    gap:7px !important;
    align-items:stretch !important;
    width:100% !important;
    margin-top:9px !important;
}
.gfse-wishlist-card-actions .gfse-wishlist-cart,
.gfse-wishlist-card-actions .gfse-wishlist-buy{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    min-width:0 !important;
    min-height:38px !important;
    height:38px !important;
    margin:0 !important;
    padding:0 9px !important;
    border:1px solid rgba(255,255,255,.18) !important;
    border-radius:9px !important;
    background:#151515 !important;
    color:#fff !important;
    font:inherit !important;
    font-size:13px !important;
    font-weight:600 !important;
    line-height:1 !important;
    text-decoration:none !important;
    cursor:pointer !important;
}
.gfse-wishlist-card-actions .gfse-wishlist-cart{
    width:42px !important;
    padding:0 !important;
}
.gfse-wishlist-card-actions .gfse-wishlist-cart i{font-size:14px !important}
.gfse-wishlist-card-actions .gfse-wishlist-buy{
    width:100% !important;
    gap:6px !important;
}
.gfse-wishlist-card-actions .gfse-wishlist-buy i{font-size:12px !important}
.gfse-wishlist-card-actions .gfse-wishlist-cart:hover,
.gfse-wishlist-card-actions .gfse-wishlist-buy:hover{
    background:#222 !important;
    border-color:rgba(255,255,255,.35) !important;
    color:#fff !important;
}
.gfse-wishlist-card-actions .is-loading{opacity:.55 !important;pointer-events:none !important}
@media(max-width:767px){
    .gfse-wishlist-card-actions{
        grid-template-columns:38px minmax(0,1fr) !important;
        gap:6px !important;
        margin-top:8px !important;
    }
    .gfse-wishlist-card-actions .gfse-wishlist-cart,
    .gfse-wishlist-card-actions .gfse-wishlist-buy{
        min-height:36px !important;
        height:36px !important;
        border-radius:8px !important;
        font-size:12px !important;
    }
    .gfse-wishlist-card-actions .gfse-wishlist-cart{width:38px !important}
}


/* v1.2.9 — Wishlist icon shortcode for desktop headers/menus. */
.gfse-wishlist-icon-shortcode{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:var(--gfse-wishlist-icon-size,24px) !important;
    height:var(--gfse-wishlist-icon-size,24px) !important;
    min-width:var(--gfse-wishlist-icon-size,24px) !important;
    min-height:var(--gfse-wishlist-icon-size,24px) !important;
    color:currentColor !important;
    text-decoration:none !important;
    line-height:1 !important;
    vertical-align:middle !important;
}
.gfse-wishlist-icon-shortcode i{
    display:block !important;
    font-size:var(--gfse-wishlist-icon-size,24px) !important;
    line-height:1 !important;
    font-style:normal !important;
}
.gfse-wishlist-icon-badge{
    position:absolute !important;
    top:-7px !important;
    right:-9px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:16px !important;
    height:16px !important;
    padding:0 4px !important;
    box-sizing:border-box !important;
    border-radius:999px !important;
    background:#fff !important;
    color:#111 !important;
    border:1px solid rgba(0,0,0,.12) !important;
    font:700 10px/1 Arial,sans-serif !important;
}

/* v1.2.11 — Wishlist shortcode icon: monochrome white outline for dark headers/menus. */
.gfse-wishlist-icon-shortcode,
.gfse-wishlist-icon-shortcode:visited,
.gfse-wishlist-icon-shortcode:hover,
.gfse-wishlist-icon-shortcode:focus {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    text-decoration:none !important;
}
.gfse-wishlist-icon-shortcode i.fa-heart {
    color:#fff !important;
    font-weight:400 !important;
    -webkit-text-stroke:0 !important;
    text-shadow:none !important;
}

/* v1.2.12 — Dark wishlist page: strict monochrome white UI. */
.gfse-wishlist-page,
.gfse-wishlist-page .gfse-wishlist-title,
.gfse-wishlist-page .gfse-wishlist-title:visited,
.gfse-wishlist-page .gfse-wishlist-title:hover,
.gfse-wishlist-page .gfse-wishlist-price,
.gfse-wishlist-page .gfse-wishlist-price del,
.gfse-wishlist-page .gfse-wishlist-price ins,
.gfse-wishlist-page .amount,
.gfse-wishlist-page .woocommerce-Price-amount,
.gfse-wishlist-page .woocommerce-Price-currencySymbol {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}
.gfse-wishlist-page .gfse-wishlist-price del{opacity:.58 !important}
.gfse-wishlist-page .gfse-wishlist-card-heart,
.gfse-wishlist-page .gfse-wishlist-card-heart i{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}
.gfse-wishlist-page .gfse-wishlist-cart,
.gfse-wishlist-page .gfse-wishlist-buy{
    background:#111 !important;
    border-color:rgba(255,255,255,.28) !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}
.gfse-wishlist-page .gfse-wishlist-cart i,
.gfse-wishlist-page .gfse-wishlist-buy i{color:#fff !important;-webkit-text-fill-color:#fff !important}
.gfse-wishlist-page .gfse-wishlist-sale{
    background:#fff !important;
    color:#111 !important;
    -webkit-text-fill-color:#111 !important;
}
.gfse-wishlist-page .gfse-wishlist-empty,
.gfse-wishlist-page .gfse-wishlist-empty span{
    color:rgba(255,255,255,.72) !important;
    -webkit-text-fill-color:rgba(255,255,255,.72) !important;
}
.gfse-wishlist-page .gfse-wishlist-empty strong,
.gfse-wishlist-page .gfse-wishlist-empty i{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}

/* Keep shortcode heart white, but its count readable: black number on white badge. */
.gfse-wishlist-icon-shortcode .gfse-wishlist-icon-badge,
.gfse-wishlist-icon-badge{
    background:#fff !important;
    color:#000 !important;
    -webkit-text-fill-color:#000 !important;
    text-shadow:none !important;
    opacity:1 !important;
}


/* =========================================================
   v1.2.15 — FINAL DARK WISHLIST TYPOGRAPHY
   Wishlist page uses a black/dark background, so ALL UI text
   must remain bright and readable. Never inherit theme black.
   ========================================================= */
.gfse-wishlist-page,
.gfse-wishlist-page * {
    -webkit-text-fill-color: initial;
}

.gfse-wishlist-page,
.gfse-wishlist-page .gfse-wishlist-title,
.gfse-wishlist-page .gfse-wishlist-title:link,
.gfse-wishlist-page .gfse-wishlist-title:visited,
.gfse-wishlist-page .gfse-wishlist-title:hover,
.gfse-wishlist-page .gfse-wishlist-title:focus,
.gfse-wishlist-page .gfse-wishlist-price,
.gfse-wishlist-page .gfse-wishlist-price a,
.gfse-wishlist-page .gfse-wishlist-price span,
.gfse-wishlist-page .gfse-wishlist-price del,
.gfse-wishlist-page .gfse-wishlist-price del span,
.gfse-wishlist-page .gfse-wishlist-price del bdi,
.gfse-wishlist-page .gfse-wishlist-price ins,
.gfse-wishlist-page .gfse-wishlist-price ins span,
.gfse-wishlist-page .gfse-wishlist-price ins bdi,
.gfse-wishlist-page .gfse-wishlist-price .amount,
.gfse-wishlist-page .gfse-wishlist-price .woocommerce-Price-amount,
.gfse-wishlist-page .gfse-wishlist-price .woocommerce-Price-currencySymbol,
.gfse-wishlist-page .woocommerce-Price-amount,
.gfse-wishlist-page .woocommerce-Price-currencySymbol,
.gfse-wishlist-page .amount,
.gfse-wishlist-page .gfse-wishlist-empty,
.gfse-wishlist-page .gfse-wishlist-empty span,
.gfse-wishlist-page .gfse-wishlist-empty strong,
.gfse-wishlist-page .gfse-wishlist-empty i,
.gfse-wishlist-page .gfse-wishlist-card-heart,
.gfse-wishlist-page .gfse-wishlist-card-heart i,
.gfse-wishlist-page .gfse-wishlist-cart,
.gfse-wishlist-page .gfse-wishlist-cart i,
.gfse-wishlist-page .gfse-wishlist-buy,
.gfse-wishlist-page .gfse-wishlist-buy i {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    text-shadow:none !important;
}

/* Keep old prices slightly muted, but still bright enough on black. */
.gfse-wishlist-page .gfse-wishlist-price del,
.gfse-wishlist-page .gfse-wishlist-price del span,
.gfse-wishlist-page .gfse-wishlist-price del bdi {
    color:rgba(255,255,255,.62) !important;
    -webkit-text-fill-color:rgba(255,255,255,.62) !important;
    opacity:1 !important;
}

/* Current/sale price stays bright and strong. */
.gfse-wishlist-page .gfse-wishlist-price ins,
.gfse-wishlist-page .gfse-wishlist-price ins span,
.gfse-wishlist-page .gfse-wishlist-price ins bdi,
.gfse-wishlist-page .gfse-wishlist-price ins .amount,
.gfse-wishlist-page .gfse-wishlist-price ins .woocommerce-Price-amount {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    font-weight:700 !important;
    text-decoration:none !important;
    background:transparent !important;
    background-color:transparent !important;
    box-shadow:none !important;
}

/* Prevent theme/WooCommerce price backgrounds from creating white blocks. */
.gfse-wishlist-page .gfse-wishlist-price,
.gfse-wishlist-page .gfse-wishlist-price a,
.gfse-wishlist-page .gfse-wishlist-price span,
.gfse-wishlist-page .gfse-wishlist-price bdi,
.gfse-wishlist-page .gfse-wishlist-price .amount,
.gfse-wishlist-page .gfse-wishlist-price .woocommerce-Price-amount {
    background:transparent !important;
    background-color:transparent !important;
    box-shadow:none !important;
}

/* Sale badge intentionally remains light with dark text for contrast. */
.gfse-wishlist-page .gfse-wishlist-sale {
    background:#fff !important;
    color:#111 !important;
    -webkit-text-fill-color:#111 !important;
}

/* Shortcode wishlist count: white badge + black number for visibility. */
.gfse-wishlist-icon-shortcode .gfse-wishlist-icon-badge,
.gfse-wishlist-icon-badge {
    background:#fff !important;
    color:#000 !important;
    -webkit-text-fill-color:#000 !important;
    opacity:1 !important;
    text-shadow:none !important;
}
