/* =====================================================================
   Trulife public website (shop) — loaded after the template CSS.
   Everything here is namespaced with .ts-* so inner template pages keep working.
   ===================================================================== */
:root {
    --ts-primary: #0b5fa5;
    --ts-primary-2: #2b8be0;
    --ts-accent: #e30613;
    --ts-green: #16a34a;
    --ts-ink: #0f1b2d;
    --ts-text: #3b4a5f;
    --ts-muted: #6b7a90;
    --ts-line: #e6ebf2;
    --ts-soft: #f5f8fc;
    --ts-card: #ffffff;
    --ts-radius: 18px;
    --ts-shadow: 0 18px 40px -22px rgba(15, 27, 45, .35);
    --ts-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.ts-body { font-family: var(--ts-font); color: var(--ts-text); background: #fff; -webkit-font-smoothing: antialiased; }
.ts-body h1, .ts-body h2, .ts-body h3, .ts-body h4, .ts-body h5, .ts-body h6 { font-family: var(--ts-font); color: var(--ts-ink); letter-spacing: -.01em; }
.ts-body a { transition: color .15s; }
.ts-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.ts-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1.15rem; border-radius: 12px; font-weight: 700; font-size: .92rem; line-height: 1.2; border: 1.5px solid transparent; text-decoration: none !important; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; white-space: nowrap; }
.ts-btn:hover { transform: translateY(-1px); }
.ts-btn-lg { padding: .9rem 1.5rem; font-size: 1rem; border-radius: 14px; }
.ts-btn-block { width: 100%; justify-content: center; }
.ts-btn-primary { color: #fff !important; background: linear-gradient(135deg, var(--ts-primary), var(--ts-primary-2)); box-shadow: 0 10px 22px -10px rgba(11, 95, 165, .65); }
.ts-btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(11, 95, 165, .75); }
.ts-btn-primary.disabled { pointer-events: none; opacity: .5; box-shadow: none; }
.ts-btn-ghost { color: var(--ts-ink) !important; background: transparent; border-color: var(--ts-line); }
.ts-btn-ghost:hover { border-color: var(--ts-primary); color: var(--ts-primary) !important; }
.ts-btn-light { color: var(--ts-ink) !important; background: #fff; border-color: var(--ts-line); }
.ts-btn-white { color: var(--ts-primary) !important; background: #fff; }
.ts-btn-outline-light { color: #fff !important; border-color: rgba(255, 255, 255, .55); background: transparent; }
.ts-btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.ts-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--ts-line); background: #fff; color: var(--ts-ink) !important; font-size: 1.05rem; cursor: pointer; }
.ts-icon-btn:hover { border-color: var(--ts-primary); color: var(--ts-primary) !important; }
.ts-link { font-weight: 700; color: var(--ts-primary) !important; white-space: nowrap; }
.ts-link i { transition: transform .15s; }
.ts-link:hover i { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.ts-topbar { background: var(--ts-ink); color: #c8d3e3; font-size: .8rem; }
.ts-topbar .ts-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.ts-topbar-msgs { display: flex; gap: 1.5rem; }
.ts-topbar-msgs i { color: #4ade80; margin-right: .3rem; }
.ts-topbar-links { display: flex; gap: 1.2rem; }
.ts-topbar a { color: #e6edf7 !important; }
.ts-topbar a:hover { color: #fff !important; }

.ts-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.ts-header.is-stuck { border-color: var(--ts-line); box-shadow: 0 10px 30px -22px rgba(15, 27, 45, .5); }
.ts-header-row { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.ts-logo img { height: 46px; width: auto; display: block; }
.ts-nav { display: flex; gap: .3rem; margin: 0 auto; }
.ts-nav a { position: relative; padding: .55rem .9rem; border-radius: 10px; font-weight: 600; font-size: .93rem; color: var(--ts-text) !important; text-decoration: none !important; }
.ts-nav a:hover { color: var(--ts-primary) !important; background: var(--ts-soft); }
.ts-nav a.active { color: var(--ts-primary) !important; }
.ts-nav a.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--ts-primary); }
@media (min-width: 992px) and (max-width: 1279.98px) { .ts-nav { gap: 0; } .ts-nav a { padding: .5rem .55rem; font-size: .86rem; } .ts-nav a.active::after { left: .55rem; right: .55rem; } }
.ts-actions { display: flex; align-items: center; gap: .55rem; }
.ts-burger { display: none; }

.ts-drawer { position: fixed; inset: 0; z-index: 1040; background: rgba(15, 27, 45, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.ts-drawer.open { opacity: 1; pointer-events: auto; }
.ts-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); padding: 1.25rem; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
.ts-drawer.open .ts-drawer-panel { transform: none; }
.ts-drawer-link { display: block; padding: .8rem .4rem; border-bottom: 1px solid var(--ts-line); font-weight: 600; color: var(--ts-ink) !important; text-decoration: none !important; }
.ts-drawer-link.active { color: var(--ts-primary) !important; }

@media (max-width: 991.98px) {
    .ts-nav { display: none; }
    .ts-burger { display: inline-flex; }
    .ts-actions { margin-left: auto; }
    .ts-header-row { height: 66px; }
    .ts-logo img { height: 38px; }
}

/* ---------- Hero ---------- */
.ts-hero { position: relative; overflow: hidden; padding: 72px 0 84px; background: radial-gradient(900px 500px at 85% 10%, rgba(43, 139, 224, .18), transparent 60%), radial-gradient(700px 420px at 0% 100%, rgba(22, 163, 74, .12), transparent 60%), linear-gradient(180deg, #f7fbff, #fff); }
.ts-hero-bg span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.ts-hero-bg span:nth-child(1) { width: 380px; height: 380px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(11, 95, 165, .25), transparent 70%); }
.ts-hero-bg span:nth-child(2) { width: 220px; height: 220px; left: 42%; bottom: -120px; background: radial-gradient(circle, rgba(227, 6, 19, .15), transparent 70%); }
.ts-hero-bg span:nth-child(3) { width: 140px; height: 140px; left: -40px; top: 30%; background: radial-gradient(circle, rgba(22, 163, 74, .22), transparent 70%); }
.ts-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.ts-eyebrow { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--ts-green); background: rgba(22, 163, 74, .1); }
.ts-hero h1 { margin: 1.1rem 0 1rem; font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.ts-hero h1 span { background: linear-gradient(135deg, var(--ts-primary), var(--ts-primary-2) 55%, #22c55e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ts-hero-copy > p { font-size: 1.1rem; max-width: 540px; color: var(--ts-text); }
.ts-hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.4rem; }
.ts-hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; font-weight: 600; font-size: .9rem; color: var(--ts-ink); }
.ts-hero-points i { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; margin-right: .35rem; font-size: .7rem; color: #fff; background: var(--ts-green); }

.ts-hero-art { position: relative; min-height: 420px; }
.ts-hero-stack { position: relative; height: 420px; }
.ts-float { position: absolute; width: 240px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -28px rgba(15, 27, 45, .45); border: 1px solid var(--ts-line); animation: tsFloat 6s ease-in-out infinite; }
.ts-float img { width: 100%; height: 190px; object-fit: contain; border-radius: 14px; background: var(--ts-soft); }
.ts-float div { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .7rem .2rem 0; }
.ts-float b { font-size: .85rem; color: var(--ts-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-float span { font-weight: 800; color: var(--ts-primary); white-space: nowrap; }
.ts-float-0 { right: 10%; top: 0; z-index: 3; }
.ts-float-1 { left: 2%; top: 90px; z-index: 2; transform: rotate(-6deg); animation-delay: -2s; }
.ts-float-2 { right: 0; bottom: 0; z-index: 1; transform: rotate(5deg); animation-delay: -4s; width: 200px; }
.ts-float-2 img { height: 150px; }
@keyframes tsFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.ts-hero-badge { display: grid; place-items: center; height: 100%; min-height: 380px; border-radius: 32px; background: linear-gradient(135deg, rgba(11, 95, 165, .08), rgba(22, 163, 74, .08)); }
.ts-hero-badge img { max-width: 70%; }

@media (max-width: 991.98px) {
    .ts-hero { padding: 48px 0 56px; }
    .ts-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .ts-hero-art, .ts-hero-stack { min-height: 340px; height: 340px; }
    .ts-float { width: 200px; } .ts-float img { height: 150px; }
    .ts-float-2 { display: none; }
}
@media (max-width: 575.98px) {
    .ts-hero-art { display: none; }
}

/* ---------- Trust strip ---------- */
.ts-trust { border-top: 1px solid var(--ts-line); border-bottom: 1px solid var(--ts-line); background: #fff; }
.ts-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ts-trust-grid > div { display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; padding: 1.4rem 1rem; }
.ts-trust-grid > div + div { border-left: 1px solid var(--ts-line); }
.ts-trust-grid i { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; color: var(--ts-primary); background: rgba(11, 95, 165, .08); }
.ts-trust-grid b { color: var(--ts-ink); font-size: .95rem; }
.ts-trust-grid span { color: var(--ts-muted); font-size: .82rem; }
@media (max-width: 991.98px) { .ts-trust-grid { grid-template-columns: repeat(2, 1fr); } .ts-trust-grid > div:nth-child(3) { border-left: 0; } .ts-trust-grid > div:nth-child(n+3) { border-top: 1px solid var(--ts-line); } }
@media (max-width: 479.98px) { .ts-trust-grid { grid-template-columns: 1fr; } .ts-trust-grid > div + div { border-left: 0; border-top: 1px solid var(--ts-line); } }

/* ---------- Sections ---------- */
.ts-section { padding: 80px 0; }
.ts-section-soft { background: var(--ts-soft); }
.ts-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.ts-head h2 { margin: .35rem 0 0; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.ts-head p { margin: .6rem 0 0; color: var(--ts-muted); }
.ts-head-center { flex-direction: column; align-items: center; text-align: center; }
.ts-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ts-accent); }
@media (max-width: 767.98px) { .ts-section { padding: 56px 0; } }

/* ---------- Shop bar & product cards ---------- */
.ts-shopbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ts-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.ts-chips button { padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--ts-line); background: #fff; color: var(--ts-text); font-weight: 600; font-size: .85rem; cursor: pointer; transition: all .15s; }
.ts-chips button:hover { border-color: var(--ts-primary); color: var(--ts-primary); }
.ts-chips button.active { color: #fff; border-color: transparent; background: var(--ts-ink); }
.ts-shopbar-right { display: flex; gap: .5rem; }
.ts-shopbar select, .ts-search input { height: 42px; border: 1.5px solid var(--ts-line); border-radius: 12px; padding: 0 .9rem; font: inherit; font-size: .88rem; color: var(--ts-ink); background: #fff; }
.ts-search { position: relative; margin: 0; }
.ts-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ts-muted); }
.ts-search input { padding-left: 2.2rem; width: 220px; }
.ts-shopbar select:focus, .ts-search input:focus { outline: none; border-color: var(--ts-primary); box-shadow: 0 0 0 4px rgba(11, 95, 165, .12); }

.ts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.4rem; }
.ts-card { display: flex; flex-direction: column; border-radius: var(--ts-radius); overflow: hidden; background: var(--ts-card); border: 1px solid var(--ts-line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.ts-card:hover { transform: translateY(-6px); box-shadow: var(--ts-shadow); border-color: transparent; }
.ts-card-img { position: relative; aspect-ratio: 1 / 1; background: var(--ts-soft); overflow: hidden; }
.ts-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .5s ease; }
.ts-card:hover .ts-card-img img { transform: scale(1.06); }
.ts-card-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.6rem; color: rgba(11, 95, 165, .2); }
.ts-tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: .25rem .6rem; border-radius: 8px; font-size: .72rem; font-weight: 800; }
.ts-tag-off { color: #fff; background: linear-gradient(135deg, var(--ts-accent), #f97316); }
.ts-tag-out { left: auto; right: 12px; color: #fff; background: rgba(15, 27, 45, .75); }
.ts-card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.15rem; flex: 1; }
.ts-card-cat { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ts-primary); }
.ts-card-title { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.ts-card-desc { margin: 0; font-size: .82rem; color: var(--ts-muted); }
.ts-card-price { display: flex; flex-direction: column; gap: .1rem; margin: .35rem 0 .8rem; }
.ts-mrp { font-size: 1.3rem; font-weight: 800; color: var(--ts-ink); }
.ts-mrp small, .ts-member small { font-size: .7rem; font-weight: 600; color: var(--ts-muted); }
.ts-member { font-weight: 700; color: var(--ts-green); }
.ts-card .ts-btn { margin-top: auto; }

.ts-empty { text-align: center; padding: 3rem 1rem; border: 2px dashed var(--ts-line); border-radius: var(--ts-radius); color: var(--ts-muted); }
.ts-empty i { font-size: 2.4rem; color: rgba(11, 95, 165, .35); }
.ts-empty h5 { margin: .8rem 0 .3rem; }

@media (max-width: 575.98px) {
    .ts-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
    .ts-card-body { padding: .8rem; }
    .ts-card-desc { display: none; }
    .ts-mrp { font-size: 1.05rem; }
    .ts-shopbar-right { width: 100%; }
    .ts-search { flex: 1; } .ts-search input { width: 100%; }
}

/* ---------- Why / steps / CTA ---------- */
.ts-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.ts-why-card { padding: 1.6rem; border-radius: var(--ts-radius); background: #fff; border: 1px solid var(--ts-line); transition: transform .2s, box-shadow .2s; }
.ts-why-card:hover { transform: translateY(-4px); box-shadow: var(--ts-shadow); }
.ts-why-card h4 { margin: 1rem 0 .4rem; font-size: 1.1rem; font-weight: 800; }
.ts-why-card p { margin: 0; font-size: .9rem; color: var(--ts-muted); }
.ts-why-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; }
.ts-why-ico.c1 { background: linear-gradient(135deg, #e11d48, #fb7185); }
.ts-why-ico.c2 { background: linear-gradient(135deg, #d97706, #fbbf24); }
.ts-why-ico.c3 { background: linear-gradient(135deg, var(--ts-primary), var(--ts-primary-2)); }
.ts-why-ico.c4 { background: linear-gradient(135deg, #15803d, #4ade80); }
@media (max-width: 991.98px) { .ts-why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .ts-why { grid-template-columns: 1fr; } }

.ts-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: s; }
.ts-step { position: relative; padding: 2rem 1.6rem 1.6rem; border-radius: var(--ts-radius); background: linear-gradient(180deg, var(--ts-soft), #fff); border: 1px solid var(--ts-line); }
.ts-step span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; color: #fff; background: var(--ts-ink); }
.ts-step h4 { margin: 1rem 0 .35rem; font-weight: 800; }
.ts-step p { margin: 0; color: var(--ts-muted); }
@media (max-width: 767.98px) { .ts-steps { grid-template-columns: 1fr; } }

.ts-cta-wrap { padding: 0 0 80px; }
.ts-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 2.6rem 2.8rem; border-radius: 28px; color: #fff; background: radial-gradient(420px 260px at 100% 0%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(135deg, #083e6e, var(--ts-primary) 50%, var(--ts-primary-2)); box-shadow: 0 30px 60px -30px rgba(11, 95, 165, .7); }
.ts-cta h2 { color: #fff; margin: 0 0 .4rem; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.ts-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.ts-cta-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 575.98px) { .ts-cta { padding: 1.8rem 1.4rem; } }

/* ---------- Page hero (shop) ---------- */
.ts-pagehero { padding: 48px 0 36px; background: radial-gradient(700px 300px at 90% 0%, rgba(43, 139, 224, .16), transparent 60%), linear-gradient(180deg, #f7fbff, #fff); border-bottom: 1px solid var(--ts-line); }
.ts-pagehero h1 { margin: .5rem 0 .4rem; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.ts-pagehero p { margin: 0; color: var(--ts-muted); }
.ts-pagehero p a { color: var(--ts-primary); font-weight: 700; }
.ts-crumbs { font-size: .82rem; color: var(--ts-muted); }
.ts-crumbs a { color: var(--ts-muted) !important; }
.ts-crumbs i { margin: 0 .35rem; }

/* Inner template pages get some breathing room */
.ts-page { padding: 32px 0 64px; }

/* ---------- Footer ---------- */
.ts-footer { color: #b7c3d6; background: var(--ts-ink); padding-top: 64px; }
.ts-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.6fr; gap: 2rem; }
.ts-footer h6 { color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 1rem; }
.ts-footer-grid > div > a { display: block; padding: .3rem 0; color: #b7c3d6 !important; font-size: .9rem; text-decoration: none !important; }
.ts-footer-grid > div > a:hover { color: #fff !important; }
.ts-footer-logo { background: #fff; padding: 8px 12px; border-radius: 12px; }
.ts-footer-brand p { margin: 1rem 0 1.2rem; font-size: .9rem; line-height: 1.7; }
.ts-social { display: flex; gap: .5rem; }
.ts-social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff !important; background: rgba(255, 255, 255, .08); transition: background .15s, transform .15s; }
.ts-social a:hover { background: var(--ts-primary); transform: translateY(-2px); }
.ts-footer-contact p { display: flex; gap: .6rem; margin: 0 0 .7rem; font-size: .9rem; line-height: 1.6; }
.ts-footer-contact i { color: #4ade80; margin-top: .3rem; width: 14px; }
.ts-footer-contact a { color: #e6edf7 !important; }
.ts-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 48px; padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.ts-pay i { color: #4ade80; margin-right: .3rem; }
@media (max-width: 991.98px) { .ts-footer-grid { grid-template-columns: 1fr 1fr; } .ts-footer-brand, .ts-footer-contact { grid-column: 1 / -1; } }

/* ---------- Back to top & reveal ---------- */
.ts-top { position: fixed; right: 18px; bottom: 18px; z-index: 1020; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; color: #fff !important; background: var(--ts-primary); box-shadow: 0 12px 24px -10px rgba(11, 95, 165, .7); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.ts-top.show { opacity: 1; transform: none; pointer-events: auto; }
.ts-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ts-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .ts-float { animation: none; }
    .ts-reveal { opacity: 1; transform: none; transition: none; }
    .ts-card, .ts-card-img img, .ts-btn { transition: none; }
}

/* Hero brand backdrop */
.ts-hero-art { position: relative; }
.ts-hero-badge { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 36px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #fff 0 30%, transparent 31%), linear-gradient(135deg, rgba(11, 95, 165, .12), rgba(22, 163, 74, .12)); min-height: 0; }
.ts-hero-badge img { position: relative; z-index: 1; max-width: 46%; filter: drop-shadow(0 12px 24px rgba(11, 95, 165, .2)); }
.ts-ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(11, 95, 165, .18); }
.ts-ring.r1 { width: 72%; aspect-ratio: 1; animation: tsSpin 40s linear infinite; }
.ts-ring.r2 { width: 92%; aspect-ratio: 1; border-color: rgba(22, 163, 74, .16); animation: tsSpin 60s linear infinite reverse; }
@keyframes tsSpin { to { transform: rotate(360deg); } }
.ts-chip-float { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--ts-ink); background: #fff; box-shadow: 0 14px 30px -14px rgba(15, 27, 45, .4); animation: tsFloat 6s ease-in-out infinite; }
.ts-chip-float i { color: var(--ts-green); }
.ts-chip-float.c1 { top: 14%; left: 8%; }
.ts-chip-float.c2 { top: 22%; right: 6%; animation-delay: -2s; } .ts-chip-float.c2 i { color: var(--ts-primary); }
.ts-chip-float.c3 { bottom: 14%; left: 22%; animation-delay: -4s; } .ts-chip-float.c3 i { color: var(--ts-accent); }
.ts-hero-stack { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .ts-ring, .ts-chip-float { animation: none; } }
.ts-drawer-panel > div:first-child img { height: 36px !important; width: auto !important; max-width: 70%; }
.ts-footer-logo { height: 46px !important; width: auto !important; }

/* ---------- Shop product card (our-products) ---------- */
.ts-grid:has(.tp-card) { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.tp-card { position: relative; border-radius: 22px; border: 1px solid rgba(15, 27, 45, .07); background: #fff;
    box-shadow: 0 6px 18px rgba(15, 27, 45, .05); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; }
.tp-card:hover { transform: translateY(-8px); border-color: rgba(43, 139, 224, .25); box-shadow: 0 24px 48px -12px rgba(11, 95, 165, .28); }
.tp-img { margin: 10px 10px 0; border-radius: 16px; aspect-ratio: 1 / 1;
    background: radial-gradient(circle at 50% 40%, #fff 0%, #f1f6fc 70%, #e8f0fa 100%); }
.tp-img img { padding: 14px; filter: drop-shadow(0 10px 14px rgba(15, 27, 45, .14)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tp-card:hover .tp-img img { transform: scale(1.08) rotate(-1deg); }
.tp-badge { position: absolute; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px;
    font-size: .7rem; font-weight: 800; letter-spacing: .02em; color: #fff; box-shadow: 0 6px 14px rgba(15, 27, 45, .18); }
.tp-badge-off { left: 10px; background: linear-gradient(135deg, #e30613, #f97316); }
.tp-badge-out { right: 10px; background: rgba(15, 27, 45, .82); }
.tp-badge-low { right: 10px; background: linear-gradient(135deg, #f59e0b, #d97706); }
.tp-size { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 3px 9px; border-radius: 8px; font-size: .7rem; font-weight: 700;
    color: #0b5fa5; background: rgba(255, 255, 255, .92); border: 1px solid rgba(11, 95, 165, .15); backdrop-filter: blur(4px); }
.tp-card.is-out .tp-img img { filter: grayscale(.85) opacity(.6); }

.tp-body { gap: .45rem !important; padding: .95rem 1.1rem 1.1rem !important; }
.tp-cat { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 3px 10px 3px 8px; border-radius: 999px;
    font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0b5fa5; background: #eaf3fc; }
.tp-cat i { width: 6px; height: 6px; border-radius: 50%; background: #2b8be0; }
.tp-title { font-size: 1.05rem !important; font-weight: 800 !important; letter-spacing: -.01em; color: #0f1b2d;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; font-size: .8rem !important; }

.tp-price { margin-top: .2rem; padding: .65rem .75rem; border-radius: 14px; background: linear-gradient(135deg, #f0fdf4, #f8fafc); border: 1px solid #dcfce7; }
.tp-price-row { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.tp-price-row b { font-size: 1.45rem; font-weight: 900; letter-spacing: -.02em; color: #0f1b2d; line-height: 1.1; }
.tp-price-row s { font-size: .88rem; font-weight: 600; color: #94a3b8; }
.tp-save { display: inline-block; margin-top: 3px; font-size: .74rem; font-weight: 800; color: #16a34a; }
.tp-save-mrp { color: #64748b; font-weight: 600; }
.tp-tax { display: inline-block; margin-top: 3px; font-size: .74rem; font-weight: 700; color: #64748b; }
.tp-card.is-out .tp-price { background: #f8fafc; border-color: #e2e8f0; }

.tp-perks { display: flex; flex-wrap: wrap; gap: .35rem .8rem; font-size: .72rem; font-weight: 600; color: #64748b; }
.tp-perks i { color: #2b8be0; margin-right: 3px; }

.tp-btn { position: relative; overflow: hidden; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .78rem 1rem; border-radius: 14px; font-weight: 800; font-size: .92rem; color: #fff !important; text-decoration: none;
    background: linear-gradient(135deg, #0b5fa5, #2b8be0); box-shadow: 0 10px 22px -8px rgba(11, 95, 165, .6); transition: box-shadow .25s, transform .25s; }
.tp-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transition: left .6s ease; }
.tp-card:hover .tp-btn::after { left: 130%; }
.tp-btn:hover { box-shadow: 0 14px 28px -8px rgba(11, 95, 165, .7); }
.tp-btn-arrow { font-size: .8rem; transition: transform .25s; }
.tp-btn:hover .tp-btn-arrow { transform: translateX(4px); }
.tp-btn-out { cursor: not-allowed; color: #64748b !important; background: #eef2f7; box-shadow: none; }
.tp-btn-out::after { display: none; }
@media (max-width: 575.98px) {
    .ts-grid:has(.tp-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .tp-card { border-radius: 16px; }
    .tp-img { margin: 6px 6px 0; border-radius: 12px; }
    .tp-body { padding: .7rem .75rem .8rem !important; }
    .tp-title { font-size: .9rem !important; }
    .tp-desc, .tp-perks { display: none !important; }
    .tp-price { padding: .45rem .55rem; }
    .tp-price-row b { font-size: 1.1rem; }
    .tp-btn { padding: .6rem .5rem; font-size: .82rem; border-radius: 11px; }
    .tp-btn-arrow { display: none; }
}
@media (max-width: 575.98px) {
    .tp-badge { top: 7px; padding: 3px 7px; font-size: .62rem; }
    .tp-badge-off { left: 7px; }
    .tp-badge-out, .tp-badge-low { top: auto; bottom: 7px; right: 7px; }
    .tp-size { left: 7px; bottom: 7px; font-size: .62rem; }
}

/* ---------- Compact product cards (shop grid + home rail) ---------- */
.ts-grid:has(.tp-card) { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 1.1rem; }
.tp-card { border-radius: 18px; }
.tp-img { margin: 8px 8px 0; border-radius: 13px; }
.tp-img img { padding: 10px; }
.tp-badge { top: 8px; padding: 4px 8px; font-size: .64rem; }
.tp-badge-off { left: 8px; } .tp-badge-out, .tp-badge-low { right: 8px; }
.tp-size { left: 8px; bottom: 8px; font-size: .64rem; }
.tp-body { gap: .35rem !important; padding: .75rem .85rem .85rem !important; }
.tp-cat { font-size: .6rem; padding: 2px 8px 2px 6px; }
.tp-title { font-size: .93rem !important; }
.tp-desc { font-size: .74rem !important; }
.tp-price { padding: .45rem .6rem; border-radius: 11px; }
.tp-price-row b { font-size: 1.18rem; }
.tp-price-row s { font-size: .78rem; }
.tp-save { font-size: .68rem; margin-top: 1px; }
.tp-btn { padding: .58rem .8rem; border-radius: 11px; font-size: .84rem; margin-top: .3rem; }
.tp-card:hover { transform: translateY(-5px); }
@media (max-width: 575.98px) {
    .ts-grid:has(.tp-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .tp-img { margin: 6px 6px 0; border-radius: 11px; }
    .tp-badge { top: 6px; padding: 3px 7px; font-size: .6rem; }
    .tp-badge-off { left: 6px; }
    .tp-badge-out, .tp-badge-low { top: auto; bottom: 6px; right: 6px; }
    .tp-size { left: 6px; bottom: 6px; font-size: .6rem; }
    .tp-body { padding: .6rem .65rem .7rem !important; }
    .tp-title { font-size: .86rem !important; }
    .tp-desc { display: none !important; }
    .tp-price-row b { font-size: 1.02rem; }
    .tp-btn { padding: .5rem .4rem; font-size: .78rem; }
    .tp-btn-arrow { display: none; }
}
.ts-grid > .tp-card { height: 100%; }
.tp-card .tp-btn { margin-top: auto !important; }
.tp-card .tp-price { margin-bottom: .45rem; }
.tp-card { margin: 0 !important; }

/* Shorter cards: 4:3 image, one-line description, slimmer price box and button */
.tp-img { aspect-ratio: 4 / 3; }
.tp-img img { padding: 8px; }
.tp-body { gap: .3rem !important; padding: .6rem .8rem .75rem !important; }
.tp-desc { -webkit-line-clamp: 1; }
.tp-price { padding: .35rem .55rem; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .45rem; }
.tp-price-row b { font-size: 1.08rem; }
.tp-save { margin-top: 0; }
.tp-card .tp-price { margin-bottom: .3rem; }
.tp-btn { padding: .48rem .8rem; font-size: .82rem; margin-top: .15rem; }
