/* =========================================================
   Sahil Chhabra — Tech Picks V1
   Isolated with tp- prefix to avoid collisions with site.css
   ========================================================= */

.tp-page{
    --tp-blue:#0b6ff5;
    --tp-blue-2:#4c9cff;
    --tp-ink:#10264a;
    --tp-muted:#63748f;
    --tp-line:#dce7f5;
    --tp-soft:#f4f8fe;
    position:relative;
    overflow:hidden;
    background:#fff;
    color:var(--tp-ink);
}

.tp-orb{
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    filter:blur(80px);
    opacity:.14;
    pointer-events:none;
}
.tp-orb-a{background:#4c9cff;top:130px;left:-260px}
.tp-orb-b{background:#8db8ff;top:700px;right:-280px}

.tp-hero{
    min-height:680px;
    position:relative;
    display:flex;
    align-items:center;
    background:
        radial-gradient(circle at 72% 48%,rgba(77,156,255,.15),transparent 31%),
        linear-gradient(135deg,#f8fbff 0%,#eef6ff 54%,#fff 100%);
    border-bottom:1px solid var(--tp-line);
    overflow:hidden;
}

.tp-hero-progress{
    position:absolute;top:0;left:0;width:100%;height:3px;background:#e8f0fb;
}
.tp-hero-progress span{
    display:block;width:50%;height:100%;
    background:linear-gradient(90deg,var(--tp-blue),#78b5ff);
    transition:width .5s ease;
}

.tp-hero-inner{
    width:min(1240px,calc(100% - 120px));
    margin:0 auto;
    display:grid;
    grid-template-columns:45% 55%;
    align-items:center;
    gap:20px;
    padding:90px 0 80px;
}

.tp-copy{position:relative;z-index:3}
.tp-eyebrow,.tp-kicker{
    font-size:12px;
    letter-spacing:.15em;
    font-weight:800;
    color:#52729b;
}
.tp-eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.tp-eyebrow-line{width:34px;height:2px;background:var(--tp-blue)}

.tp-counter{
    position:absolute;
    right:0;
    top:0;
    font-size:12px;
    letter-spacing:.12em;
    color:#7990ad;
}
.tp-counter span:first-child{color:var(--tp-blue);font-weight:800}

.tp-brand{
    color:var(--tp-blue);
    font-size:14px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:8px;
}
.tp-title-wrap h1{
    max-width:590px;
    margin:0;
    font-size:clamp(42px,5vw,72px);
    line-height:.98;
    letter-spacing:-.045em;
    color:#112b54;
}
.tp-title-wrap p{
    max-width:550px;
    margin:22px 0 0;
    color:var(--tp-muted);
    font-size:17px;
    line-height:1.7;
}

.tp-feature-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px 20px;
    margin:25px 0;
}
.tp-feature-row span{
    font-size:12px;
    color:#46617f;
    display:flex;
    align-items:center;
    gap:7px;
}
.tp-feature-row i{
    width:20px;height:20px;border-radius:50%;
    display:grid;place-items:center;
    background:#e4f0ff;color:var(--tp-blue);
    font-style:normal;font-size:11px;font-weight:800;
}

.tp-hero-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.tp-primary-btn,.tp-secondary-btn,.tp-buy-btn{
    border-radius:10px;
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
    transition:.25s ease;
}
.tp-primary-btn{
    background:linear-gradient(135deg,#0870f6,#2685ff);
    color:#fff;
    padding:0 20px;
    box-shadow:0 12px 28px rgba(11,111,245,.22);
}
.tp-primary-btn:hover,.tp-buy-btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(11,111,245,.22)}
.tp-primary-btn b{font-size:17px}
.tp-secondary-btn{
    background:#fff;
    border:1px solid #cfddec;
    color:#234365;
    padding:0 18px;
}
.tp-secondary-btn:hover{border-color:#8ab8f5;background:#f7fbff}

.tp-swipe-note{
    margin-top:22px;
    color:#8494aa;
    font-size:11px;
    display:flex;
    align-items:center;
    gap:8px;
}
.tp-mouse-icon{font-size:15px;color:var(--tp-blue)}

.tp-product-stage{
    appearance:none;
    border:0;
    background:transparent;
    position:relative;
    min-height:480px;
    cursor:pointer;
    display:grid;
    place-items:center;
}
.tp-product-stage:focus-visible{outline:3px solid rgba(11,111,245,.25);border-radius:20px}
.tp-stage-ring{
    position:absolute;
    width:470px;height:470px;
    border-radius:50%;
    border:1px solid rgba(57,130,229,.18);
    box-shadow:0 0 0 38px rgba(57,130,229,.035),0 0 0 76px rgba(57,130,229,.025);
}
.tp-stage-ring:after{
    content:"";
    position:absolute;inset:12%;
    border-radius:50%;
    border-top:2px solid rgba(11,111,245,.35);
    transform:rotate(-20deg);
}
.tp-stage-shadow{
    position:absolute;
    width:420px;height:75px;
    bottom:66px;
    border-radius:50%;
    background:rgba(48,84,123,.17);
    filter:blur(24px);
}
.tp-product-stage img{
    position:relative;
    z-index:2;
    width:min(590px,100%);
    max-height:430px;
    object-fit:contain;
    filter:drop-shadow(0 28px 28px rgba(21,49,84,.20));
    transform:rotate(-7deg) translateY(8px);
    transition:transform .7s cubic-bezier(.16,1,.3,1),opacity .3s ease;
}
.tp-product-stage:hover img{transform:rotate(-3deg) translateY(-8px) scale(1.035)}
.tp-product-stage.tp-changing img{
    opacity:0;
    transform:rotate(-24deg) scale(.75) translateX(70px);
}
.tp-floating-label{
    position:absolute;
    z-index:4;
    right:0;
    bottom:70px;
    min-width:118px;
    padding:12px 15px;
    text-align:left;
    border:1px solid rgba(153,186,222,.6);
    background:rgba(255,255,255,.82);
    backdrop-filter:blur(12px);
    border-radius:12px;
    box-shadow:0 15px 35px rgba(48,84,123,.12);
}
.tp-floating-label small{display:block;color:#8295ac;font-size:9px;letter-spacing:.13em;font-weight:800}
.tp-floating-label strong{display:block;margin-top:3px;font-size:12px;color:#18365d}

.tp-arrow{
    position:absolute;
    z-index:5;
    top:50%;
    transform:translateY(-50%);
    width:50px;height:50px;
    border-radius:50%;
    border:1px solid #cbd9ea;
    background:rgba(255,255,255,.85);
    color:#173a66;
    font-size:24px;
    cursor:pointer;
    transition:.2s ease;
}
.tp-arrow:hover{background:#fff;color:var(--tp-blue);border-color:#82b4f2;transform:translateY(-50%) scale(1.06)}
.tp-arrow-prev{left:24px}.tp-arrow-next{right:24px}

.tp-dots{
    position:absolute;
    bottom:28px;
    left:50%;
    transform:translateX(-50%);
    display:flex;gap:8px;
}
.tp-dots button{
    width:26px;height:4px;border:0;border-radius:10px;
    background:#cbd9ea;cursor:pointer;transition:.3s ease;
}
.tp-dots button.active{width:48px;background:var(--tp-blue)}

.tp-catalog{
    width:min(1240px,calc(100% - 40px));
    margin:0 auto;
    padding:82px 0 100px;
}
.tp-section-head{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:30px;
}
.tp-section-head h2{
    margin:7px 0 10px;
    font-size:clamp(34px,4vw,52px);
    line-height:1.05;
    letter-spacing:-.035em;
}
.tp-section-head h2 span{
    color:var(--tp-blue);
}
.tp-section-head p{
    max-width:620px;
    margin:0;
    color:var(--tp-muted);
    line-height:1.7;
}
.tp-count{
    white-space:nowrap;
    color:#6c809a;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.tp-controls{
    display:grid;
    grid-template-columns:1fr 240px;
    gap:14px;
    margin:38px 0 28px;
}
.tp-search,.tp-select{
    min-height:54px;
    border:1px solid var(--tp-line);
    background:#fff;
    border-radius:12px;
    display:flex;
    align-items:center;
    padding:0 16px;
    box-shadow:0 8px 24px rgba(31,69,112,.04);
}
.tp-search span{font-size:24px;color:#54708f;margin-right:10px}
.tp-search input,.tp-select select{
    border:0;outline:0;width:100%;height:100%;
    font:inherit;color:#244463;background:transparent;padding: 10px;
}
.tp-select{position:relative;display:block;padding:8px 14px}
.tp-select span{
    display:block;font-size:9px;letter-spacing:.1em;text-transform:uppercase;
    color:#7a8ca3;font-weight:800;
}
.tp-select select{font-size:13px;cursor:pointer}

.tp-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}
.tp-card{
    border:1px solid var(--tp-line);
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(30,66,106,.055);
    transition:.3s ease;
    scroll-margin-top:100px;
}
.tp-card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(30,66,106,.10)}
.tp-card.highlight{box-shadow:0 0 0 3px rgba(11,111,245,.15),0 22px 50px rgba(11,111,245,.12)}
.tp-card-image{
    position:relative;
    width:100%;
    height:300px;
    border:0;
    background:linear-gradient(135deg,#f5f9ff,#edf5ff);
    cursor:pointer;
    overflow:hidden;
}
.tp-card-image img{
    width:82%;height:82%;object-fit:contain;
    transition:.4s ease;
}
.tp-card:hover .tp-card-image img{transform:scale(1.05) rotate(-2deg)}
.tp-tag{
    position:absolute;
    z-index:2;
    left:16px;top:16px;
    border-radius:30px;
    background:#fff;
    color:var(--tp-blue);
    border:1px solid #d8e7f8;
    padding:7px 10px;
    font-size:9px;font-weight:900;letter-spacing:.08em;
}
.tp-card-body{padding:22px}
.tp-card-category{
    color:#7b8da5;
    font-size:10px;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
}
.tp-card h3{
    margin:8px 0 8px;
    font-size:22px;
    letter-spacing:-.025em;
}
.tp-card p{
    color:var(--tp-muted);
    line-height:1.6;
    min-height:50px;
    margin:0;
    font-size:13px;
}
.tp-card-rating{
    margin:16px 0;
    color:#314e71;
    font-size:12px;
    font-weight:800;
}
.tp-card-rating span{color:#f6ad2f;font-size:16px}
.tp-card-rating em{font-style:normal;color:#8b9ab0;font-weight:500}
.tp-card-bottom{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:12px;
    padding-top:16px;
    border-top:1px solid #edf2f8;
}
.tp-card-bottom strong{display:block;font-size:24px;letter-spacing:-.03em}
.tp-card-bottom del{display:block;color:#97a4b5;font-size:12px;margin-top:3px}
.tp-buy-btn{
    min-width:130px;
    min-height:43px;
    background:#0870f6;
    color:#fff;
    padding:0 15px;
    font-size:12px;
}
.tp-buy-btn span{font-size:15px}
.tp-empty{
    text-align:center;
    padding:70px 20px;
    color:#73859c;
}
.tp-empty strong{display:block;color:#18385f;font-size:20px;margin-bottom:7px}

@media(max-width:980px){
    .tp-hero-inner{grid-template-columns:1fr;width:min(760px,calc(100% - 100px));padding-top:70px}
    .tp-copy{text-align:center}
    .tp-eyebrow,.tp-feature-row,.tp-hero-actions,.tp-swipe-note{justify-content:center}
    .tp-title-wrap h1,.tp-title-wrap p{margin-left:auto;margin-right:auto}
    .tp-counter{position:static;margin-bottom:15px}
    .tp-product-stage{min-height:380px}
    .tp-stage-ring{width:340px;height:340px}
    .tp-floating-label{right:5%}
}
@media(max-width:700px){
    .tp-hero{min-height:auto}
    .tp-hero-inner{width:calc(100% - 86px);padding:60px 0 70px}
    .tp-title-wrap h1{font-size:39px}
    .tp-title-wrap p{font-size:14px}
    .tp-product-stage{min-height:310px}
    .tp-product-stage img{max-height:300px}
    .tp-stage-ring{width:270px;height:270px}
    .tp-stage-shadow{width:270px;bottom:40px}
    .tp-floating-label{bottom:30px}
    .tp-arrow{width:40px;height:40px;font-size:19px}
    .tp-arrow-prev{left:12px}.tp-arrow-next{right:12px}
    .tp-section-head{display:block}
    .tp-count{margin-top:15px}
    .tp-controls{grid-template-columns:1fr}
    .tp-grid{grid-template-columns:1fr}
    .tp-card-image{height:260px}
    .tp-card-bottom{align-items:center}
    .tp-buy-btn{min-width:120px}
}


/* --- V1.1 refinements --- */

/* Amazon product images often contain a white canvas. Multiply makes that
   canvas visually disappear against the light hero/card backgrounds. */
.tp-product-stage img,
.tp-card-image img{
    mix-blend-mode:multiply;
}

.tp-select{
    min-width:0;
    border:1px solid #cfe0f3;
    background:
        linear-gradient(#fff,#fff) padding-box,
        linear-gradient(135deg,#b8d7ff,#e9f3ff) border-box;
    box-shadow:0 8px 24px rgba(31,69,112,.06);
    transition:.25s ease;
    border-radius:14px;
}
.tp-select:hover,
.tp-select:focus-within{
    border-color:#78aef0;
    box-shadow:0 10px 28px rgba(11,111,245,.10);
}
.tp-select:after{
    content:"⌄";
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-34%);
    color:#0b6ff5;
    font-size:18px;
    pointer-events:none;
}
.tp-select select{
    appearance:none;
    -webkit-appearance:none;
    padding-right:28px;
    cursor:pointer;
    font-weight:700;
    color:#18385f;
}

.tp-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
    margin:34px auto 0;
}
.tp-page-btn{
    min-width:40px;
    height:40px;
    padding:0 11px;
    border:1px solid #d6e3f1;
    border-radius:10px;
    background:#fff;
    color:#365577;
    font:800 12px/1 inherit;
    cursor:pointer;
    transition:.2s ease;
}
.tp-page-btn:hover{
    border-color:#83b6f3;
    color:#0b6ff5;
    transform:translateY(-1px);
}
.tp-page-btn.active{
    color:#fff;
    border-color:#0b6ff5;
    background:linear-gradient(135deg,#0870f6,#4b9aff);
    box-shadow:0 8px 18px rgba(11,111,245,.18);
}
.tp-page-btn.arrow{
    font-size:18px;
    color:#0b6ff5;
}
.tp-page-btn:disabled{
    opacity:.38;
    cursor:not-allowed;
    transform:none;
}
.tp-page-gap{
    color:#91a0b2;
    padding:0 2px;
    font-weight:800;
}

.tp-card[hidden]{
    display:none !important;
}

@media(max-width:700px){
    .tp-controls{gap:10px}
    .tp-select{width:100%}
    .tp-pagination{margin-top:26px;gap:5px}
    .tp-page-btn{min-width:36px;height:36px;padding:0 8px}
}
