
.tnpcw{max-width:1400px;margin:auto;padding:20px}.tnpcw-section{margin:42px 0}.tnpcw-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.tnpcw-head h2{margin:0;color:#102b4e;font-size:28px}.tnpcw-head p{margin:5px 0 0;color:#718096}.tnpcw-controls button{width:42px;height:42px;border:0;border-radius:50%;background:#102b4e;color:#fff;font-size:30px;cursor:pointer;margin-left:8px}.tnpcw-wrap{overflow:hidden}.tnpcw-track{display:flex;gap:18px;transition:transform .4s ease}.tnpcw-card{flex:0 0 calc(25% - 14px);background:#fff;border:1px solid #e7edf2;border-radius:16px;overflow:hidden;box-shadow:0 5px 20px rgba(16,43,78,.07)}.tnpcw-imagebox{height:320px;background:#f4f6f8;position:relative;overflow:hidden}.tnpcw-imagebox>a,.tnpcw-imagebox img{display:block;width:100%;height:100%}.tnpcw-imagebox img{object-fit:cover;object-position:center}.tnpcw-badge{position:absolute;top:12px;left:12px;background:#e53935;color:#fff;border-radius:10px;padding:7px 11px;font-size:12px;line-height:1;font-weight:800;letter-spacing:.1px;box-shadow:0 5px 14px rgba(229,57,53,.22);z-index:4}.tnpcw-heart{position:absolute;right:12px;top:12px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#102b4e;font-size:27px;line-height:35px;cursor:pointer;box-shadow:0 2px 10px #0002}.tnpcw-heart.active{color:#e5484d}.tnpcw-info{padding:16px}.tnpcw-name{display:block;color:#1c2733;text-decoration:none;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tnpcw-price{margin:8px 0;color:#0e9f9a;font-weight:800}.tnpcw-price del{color:#9aa5b1;font-weight:400;margin-right:6px}.tnpcw-rating{min-height:20px;margin-bottom:12px}.tnpcw-cart{display:block!important;text-align:center!important;background:#0e9f9a!important;color:#fff!important;border-radius:9px!important;padding:11px!important;text-decoration:none!important}.tnpcw-wishlist-page{max-width:900px;margin:40px auto;padding:20px}.tnpcw-wishlist-item{display:flex;align-items:center;gap:16px;padding:14px;border-bottom:1px solid #e5e7eb}.tnpcw-wishlist-item img{width:90px;height:90px;object-fit:cover;border-radius:10px}.tnpcw-wishlist-item>div{flex:1}.tnpcw-remove-wish{border:0;background:none;color:#c0392b;cursor:pointer}@media(max-width:1024px){.tnpcw-card{flex-basis:calc(33.333% - 12px)}.tnpcw-imagebox{height:290px}}@media(max-width:700px){.tnpcw{padding:12px}.tnpcw-section{margin:30px 0}.tnpcw-head h2{font-size:23px}.tnpcw-head p{font-size:13px}.tnpcw-card{flex-basis:calc(50% - 9px)}.tnpcw-imagebox{height:250px}.tnpcw-info{padding:12px}.tnpcw-controls button{width:36px;height:36px}.tnpcw-wishlist-item{flex-wrap:wrap}}

/* Header Wishlist Icon */
.tnpcw-header-wishlist{position:relative;display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:#102b4e;font-weight:700;line-height:1}
.tnpcw-header-heart{font-size:30px;line-height:1;color:#102b4e}
.tnpcw-header-label{font-size:14px}
.tnpcw-header-count{position:absolute;top:-9px;left:20px;min-width:18px;height:18px;padding:0 4px;border-radius:20px;background:#0e9f9a;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}
@media(max-width:700px){.tnpcw-header-label{display:none}.tnpcw-header-heart{font-size:28px}.tnpcw-header-count{left:18px}}


/* ==========================================================
   v2.3.1 PRODUCT WISHLIST BUTTON — Argos-inspired style
   ========================================================== */
.tnpcw-imagebox .tnpcw-heart{
    position:absolute;
    top:12px;
    right:12px;
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:14px;
    background:#fff;
    color:#102b4e;
    font-family:Arial,sans-serif;
    font-size:34px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 4px 14px rgba(16,43,78,.14);
    transition:transform .18s ease, color .18s ease, box-shadow .18s ease;
    z-index:5;
}
.tnpcw-imagebox .tnpcw-heart:hover{
    transform:translateY(-2px);
    box-shadow:0 7px 18px rgba(16,43,78,.20);
}
/* Product heart turns red after it is added to wishlist */
.tnpcw-imagebox .tnpcw-heart.active{
    color:#e53935;
    background:#fff;
}

/* Keep the product card's new compact height */
.tnpcw-card{border-radius:14px;}
.tnpcw-imagebox{height:280px;}
.tnpcw-info{padding:12px 14px 13px;}
.tnpcw-name{font-size:14px;line-height:20px;}
.tnpcw-price{margin:6px 0;font-size:16px;}
.tnpcw-rating{min-height:18px;margin-bottom:9px;font-size:13px;}
.tnpcw-cart{padding:9px!important;font-size:13px!important;}

@media(max-width:1024px){
    .tnpcw-imagebox{height:255px;}
}
@media(max-width:700px){
    .tnpcw-imagebox{height:220px;}
    .tnpcw-imagebox .tnpcw-heart{
        width:40px;
        height:40px;
        top:9px;
        right:9px;
        border-radius:12px;
        font-size:29px;
    }
    .tnpcw-info{padding:10px 11px 11px;}
    .tnpcw-price{font-size:15px;}
    .tnpcw-rating{margin-bottom:7px;}
    .tnpcw-cart{padding:8px!important;}
}


/* ==========================================================
   v2.5 PRODUCT WISHLIST HEART — fully filled when active
   ========================================================== */
.tnpcw-imagebox .tnpcw-heart{
    color:#102b4e;
    background:#fff;
    border:0;
    width:48px;
    height:48px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:Arial,sans-serif;
    font-size:34px;
    font-weight:400;
    line-height:1;
}
.tnpcw-imagebox .tnpcw-heart.active{
    color:#e60000 !important;
    background:#fff;
    font-weight:700;
}
@media(max-width:700px){
    .tnpcw-imagebox .tnpcw-heart{
        width:40px;
        height:40px;
        font-size:29px;
    }
}

/* ==========================================================
   PRODUCT CARD LAYOUT — Keep Add to Cart aligned at bottom
   ========================================================== */
.tnpcw-card{
    display:flex;
    flex-direction:column;
}
.tnpcw-info{
    display:flex;
    flex-direction:column;
    flex:1;
}
.tnpcw-cart{
    margin-top:auto !important;
}


/* ==========================================================
   v2.6 PREMIUM DISCOUNT BADGE & PRODUCT CARD REFINEMENT
   ========================================================== */
.tnpcw-card{
    border:1px solid #e9edf2;
    border-radius:16px;
    box-shadow:0 6px 22px rgba(16,43,78,.07);
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tnpcw-card:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(16,43,78,.12);
    border-color:#dde5ec;
}
.tnpcw-imagebox{
    background:#f7f8fa;
}
.tnpcw-imagebox img{
    transition:transform .3s ease;
}
.tnpcw-card:hover .tnpcw-imagebox img{
    transform:scale(1.025);
}
.tnpcw-imagebox .tnpcw-badge{
    top:12px;
    left:12px;
    min-width:54px;
    min-height:32px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    background:#e53935;
    color:#fff;
    border-radius:10px;
    padding:7px 10px;
    font-size:12px;
    font-weight:800;
    line-height:1;
    letter-spacing:.1px;
    box-shadow:0 5px 14px rgba(229,57,53,.22);
    z-index:4;
}
.tnpcw-info{
    padding:13px 14px 14px;
}
.tnpcw-name{
    color:#172334;
    font-weight:700;
}
.tnpcw-price{
    color:#0e9f9a;
    font-weight:800;
}
.tnpcw-price del{
    color:#8d98a5;
}
.tnpcw-cart{
    border:1px solid #102b4e!important;
    background:#102b4e!important;
    color:#fff!important;
    border-radius:10px!important;
    font-weight:700!important;
    transition:background .18s ease, transform .18s ease, box-shadow .18s ease!important;
    box-shadow:0 4px 10px rgba(16,43,78,.10);
}
.tnpcw-cart:hover{
    background:#173a66!important;
    color:#fff!important;
    transform:translateY(-1px);
    box-shadow:0 6px 14px rgba(16,43,78,.16);
}
@media(max-width:700px){
    .tnpcw-imagebox .tnpcw-badge{
        top:9px;
        left:9px;
        min-width:48px;
        min-height:28px;
        padding:6px 8px;
        border-radius:9px;
        font-size:11px;
    }
}

/* v2.6.1 MOBILE POINTER FIX */

/* v2.6.1 MOBILE POINTER FIX */
.tnpcw-imagebox .tnpcw-heart{
    pointer-events:auto;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
    -webkit-user-select:none;
    user-select:none;
}

/* ==========================================================
   v2.6.3 HEADER WISHLIST — Premium Green + Red
   Header only. Product-card wishlist buttons remain unchanged.
   ========================================================== */
.tnpcw-header-wishlist{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    min-width:46px;
    padding:0;
    border-radius:50%;
    background:#0b5d3b;
    color:#e60023;
    text-decoration:none;
    line-height:1;
    box-shadow:0 4px 14px rgba(11,93,59,.20), inset 0 0 0 1px rgba(255,255,255,.10);
    transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
    overflow:visible;
}
.tnpcw-header-wishlist:hover{
    transform:translateY(-1px) scale(1.04);
    background:#0a6a43;
    color:#ff173b;
    box-shadow:0 7px 20px rgba(11,93,59,.28), 0 0 0 3px rgba(11,93,59,.08);
}
.tnpcw-header-wishlist:focus-visible{
    outline:3px solid rgba(230,0,35,.30);
    outline-offset:3px;
}
.tnpcw-header-heart{
    display:block;
    margin:0;
    color:#ff173b;
    font-family:Arial,Helvetica,sans-serif;
    font-size:27px;
    font-weight:400;
    line-height:1;
    transform:translateY(-1px);
    transition:transform .22s ease, color .22s ease, filter .22s ease;
}
.tnpcw-header-wishlist:hover .tnpcw-header-heart{
    transform:translateY(-1px) scale(1.08);
}
.tnpcw-header-wishlist.active .tnpcw-header-heart{
    color:#ff173b;
    font-weight:700;
    filter:drop-shadow(0 2px 5px rgba(255,23,59,.28));
    animation:tnpcw-header-wish-pop .34s ease-out;
}
.tnpcw-header-label{display:none!important;}
.tnpcw-header-count{
    position:absolute;
    top:-5px;
    right:-5px;
    left:auto;
    min-width:19px;
    height:19px;
    padding:0 5px;
    box-sizing:border-box;
    border:2px solid #fff;
    border-radius:999px;
    background:#ff173b;
    color:#fff;
    font-size:10px;
    font-weight:800;
    line-height:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 3px 9px rgba(230,0,35,.30);
    z-index:3;
}
@keyframes tnpcw-header-wish-pop{
    0%{transform:translateY(-1px) scale(.72);}
    65%{transform:translateY(-1px) scale(1.16);}
    100%{transform:translateY(-1px) scale(1);}
}
@media(max-width:700px){
    .tnpcw-header-wishlist{
        width:40px;
        height:40px;
        min-width:40px;
    }
    .tnpcw-header-heart{font-size:24px;}
    .tnpcw-header-count{
        top:-5px;
        right:-5px;
        min-width:18px;
        height:18px;
        font-size:9px;
    }
}

/* ==========================================================
   v2.6.4 PREMIUM PRODUCT CAROUSELS
   Carousel presentation only — wishlist system untouched.
   ========================================================== */
.tnpcw-section{
    margin:44px 0;
}

.tnpcw-head{
    margin-bottom:16px;
    align-items:flex-end;
}

.tnpcw-head h2{
    position:relative;
    margin:0;
    color:#102b4e;
    font-size:30px;
    line-height:1.18;
    font-weight:800;
    letter-spacing:-.55px;
}

.tnpcw-head h2:after{
    content:"";
    display:block;
    width:42px;
    height:3px;
    margin-top:8px;
    border-radius:999px;
    background:#0e9f9a;
}

.tnpcw-head p{
    margin:7px 0 0;
    color:#7b8794;
    font-size:14px;
    line-height:1.5;
    font-weight:500;
    letter-spacing:.1px;
}

/* Tighter card spacing while retaining the same carousel behaviour. */
.tnpcw-track{
    gap:10px;
}

.tnpcw-card{
    flex:0 0 calc(25% - 7.5px);
    border:1px solid #e5eaee;
    border-radius:17px;
    background:#fff;
    box-shadow:0 7px 24px rgba(16,43,78,.075);
    overflow:hidden;
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.tnpcw-card:hover{
    transform:translateY(-4px);
    border-color:#d9e1e7;
    box-shadow:0 14px 32px rgba(16,43,78,.12);
}

.tnpcw-imagebox{
    background:#f7f8fa;
}

.tnpcw-info{
    padding:13px 14px 14px;
}

.tnpcw-name{
    color:#172334;
    font-size:14px;
    line-height:20px;
    font-weight:750;
}

.tnpcw-price{
    margin:7px 0;
    color:#0e9f9a;
    font-size:16px;
    font-weight:800;
}

.tnpcw-rating{
    min-height:18px;
    margin-bottom:9px;
}

/* Always anchor Add to Cart to the bottom of every card. */
.tnpcw-card .tnpcw-info{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
}

.tnpcw-card .tnpcw-cart{
    margin-top:auto !important;
    width:100%;
    box-sizing:border-box;
    background:#0e9f9a !important;
    border:1px solid #0e9f9a !important;
    color:#fff !important;
    border-radius:10px !important;
    padding:10px !important;
    font-size:13px !important;
    font-weight:750 !important;
    line-height:1.2 !important;
    box-shadow:0 4px 12px rgba(14,159,154,.16);
    transition:transform .18s ease,background .18s ease,box-shadow .18s ease !important;
}

.tnpcw-card .tnpcw-cart:hover{
    background:#0b8883 !important;
    border-color:#0b8883 !important;
    color:#fff !important;
    transform:translateY(-1px);
    box-shadow:0 7px 16px rgba(14,159,154,.22);
}

@media(max-width:1024px){
    .tnpcw-card{
        flex-basis:calc(33.333% - 6.667px);
    }
    .tnpcw-head h2{
        font-size:27px;
    }
}

@media(max-width:700px){
    .tnpcw-section{
        margin:32px 0;
    }
    .tnpcw-head{
        margin-bottom:13px;
        align-items:flex-start;
    }
    .tnpcw-head h2{
        font-size:22px;
        letter-spacing:-.3px;
    }
    .tnpcw-head h2:after{
        width:34px;
        height:2px;
        margin-top:6px;
    }
    .tnpcw-head p{
        margin-top:5px;
        font-size:12.5px;
    }
    .tnpcw-track{
        gap:10px;
    }
    .tnpcw-card{
        flex-basis:calc(50% - 5px);
        border-radius:15px;
    }
    .tnpcw-info{
        padding:10px 11px 11px;
    }
    .tnpcw-card .tnpcw-cart{
        padding:9px !important;
        font-size:12px !important;
        border-radius:9px !important;
    }
}


/* ==========================================================
   v2.8.0 WooCommerce-native Color + Size picker
   ========================================================== */
.tnpcw-variation-picker{
    margin:4px 0 9px;
    display:flex;
    flex-direction:column;
    gap:7px;
}
.tnpcw-option-group{display:flex;align-items:center;gap:8px;min-width:0;}
.tnpcw-option-label{
    flex:0 0 auto;
    color:#6f7b87;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.45px;
}
.tnpcw-color-options,.tnpcw-size-options{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.tnpcw-color-swatch{
    position:relative;
    width:19px;height:19px;padding:0;border:0;background:transparent;border-radius:50%;
    cursor:pointer;box-sizing:border-box;
}
.tnpcw-color-swatch span{
    display:block;width:15px;height:15px;margin:2px;border-radius:50%;
    background:var(--tnpcw-swatch,#e5e7eb);border:1px solid rgba(16,43,78,.16);
    box-sizing:border-box;transition:transform .16s ease,box-shadow .16s ease;
}
.tnpcw-color-swatch:hover span{transform:scale(1.12);}
.tnpcw-color-swatch.is-selected span{box-shadow:0 0 0 2px #fff,0 0 0 3px #102b4e;}
.tnpcw-color-swatch.is-out span,.tnpcw-color-swatch.is-unavailable span{opacity:.38;}
.tnpcw-color-swatch.is-out:after,.tnpcw-color-swatch.is-unavailable:after{
    content:"";position:absolute;left:2px;right:2px;top:9px;height:1px;background:#7b8794;transform:rotate(-45deg);pointer-events:none;
}
.tnpcw-size-option{
    min-width:28px;height:25px;padding:3px 7px;border:1px solid #dfe5ea;border-radius:7px;background:#fff;
    color:#4e5b67;font-size:10px;font-weight:700;line-height:1;cursor:pointer;transition:all .16s ease;
}
.tnpcw-size-option:hover{border-color:#0e9f9a;color:#0e9f9a;}
.tnpcw-size-option.is-selected{border-color:#102b4e;background:#102b4e;color:#fff;}
.tnpcw-size-option.is-out,.tnpcw-size-option.is-unavailable{opacity:.4;text-decoration:line-through;cursor:not-allowed;}
@media(max-width:700px){
    .tnpcw-variation-picker{gap:6px;margin-top:3px;margin-bottom:8px;}
    .tnpcw-option-label{font-size:9px;}
    .tnpcw-color-options,.tnpcw-size-options{gap:5px;}
    .tnpcw-color-swatch{width:18px;height:18px;}
    .tnpcw-color-swatch span{width:14px;height:14px;}
    .tnpcw-size-option{height:23px;min-width:27px;font-size:9px;padding:3px 6px;}
}

/* Exact variation add-to-cart states */
.tnpcw-cart.tnpcw-needs-selection{animation:tnpwc-shake .24s ease-in-out 0s 2;}
.tnpcw-cart.loading{opacity:.72;pointer-events:none;}
.tnpcw-cart.added{transform:translateY(-1px);}
@keyframes tnpwc-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}

/* ==========================================================
   v2.8.2 PREMIUM CAROUSEL NAVIGATION
   Heading-aligned teal circular controls.
   ========================================================== */
.tnpcw-head{
    position:relative;
    align-items:flex-start !important;
}

.tnpcw-controls{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:-6px;
    flex:0 0 auto;
}

.tnpcw-controls button,
.tnpcw-controls .tnpcw-prev,
.tnpcw-controls .tnpcw-next{
    position:relative;
    width:44px !important;
    height:44px !important;
    min-width:44px;
    padding:0 !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1px solid rgba(255,255,255,.22) !important;
    border-radius:50% !important;
    background:#0e9f9a !important;
    color:#fff !important;
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:30px !important;
    font-weight:400 !important;
    line-height:1 !important;
    text-align:center !important;
    cursor:pointer;
    box-shadow:0 7px 18px rgba(14,159,154,.22), inset 0 1px 0 rgba(255,255,255,.18);
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.tnpcw-controls .tnpcw-prev{ padding-bottom:2px !important; }
.tnpcw-controls .tnpcw-next{ padding-bottom:2px !important; }

.tnpcw-controls button:hover{
    background:#0b8883 !important;
    color:#fff !important;
    transform:translateY(-2px) scale(1.045);
    box-shadow:0 10px 23px rgba(14,159,154,.30), inset 0 1px 0 rgba(255,255,255,.20);
}

.tnpcw-controls button:active{
    transform:translateY(0) scale(.97);
}

.tnpcw-controls button:focus-visible{
    outline:3px solid rgba(14,159,154,.24);
    outline-offset:3px;
}

@media(max-width:700px){
    .tnpcw-controls{
        gap:7px;
        margin-top:-4px;
    }
    .tnpcw-controls button,
    .tnpcw-controls .tnpcw-prev,
    .tnpcw-controls .tnpcw-next{
        width:38px !important;
        height:38px !important;
        min-width:38px;
        font-size:25px !important;
    }
}
