/* TestChii v4 site layer — the homepage design language (landing-v4.css) shared by inner pages.
   Loaded LAST by site_shell.html so it wins over the legacy landing-* stack without !important wars.
   Everything new is prefixed .v4-; legacy components are only re-skinned through their own classes. */

/* tokens + buttons live in tc-v4-tokens.css (load it first) */

/* ================= BASE ================= */
.v4-site{background:var(--v4-bg);color:var(--v4-ink);font-family:var(--v4-body)}
body.tc-has-landing-shell{background:var(--v4-bg)}
.v4-site .tc-shell-blobs{display:none}
.v4-site .tc-shell{background:none}
.v4-wrap{width:min(1200px,100% - 32px);margin-inline:auto}
.v4-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.v4-site :focus-visible{outline:3px solid var(--v4-green);outline-offset:3px;border-radius:10px}
.v4-site h1,.v4-site h2,.v4-display{font-family:var(--v4-display);letter-spacing:-.4px}
body.v4-locked{overflow:hidden}

/* legacy shell (landing-testchii.css) frames pages in a rounded card and forces position:relative on
   every shell child — undo both for v4 overlays so the band and footer run full-bleed like the homepage */
.landing-home.v4-site{background:var(--v4-bg);padding-bottom:0}
.landing-home.v4-site::before{display:none}
.landing-home.v4-site .tc-shell{margin:0;border-radius:0;max-width:none;width:auto;box-shadow:none;overflow:visible}
.landing-home .tc-shell>.v4-drawer{position:fixed;z-index:100}
.landing-home .tc-shell>.v4-scrim{position:fixed;z-index:90}
.landing-home .tc-shell>.v4-navshell{position:absolute;z-index:70}
body.v4-stuck .landing-home .tc-shell>.v4-navshell{position:fixed}
.landing-home .tc-shell>.v4-top{z-index:0}
.v4-site .v4-pagehero h1{color:#fff;-webkit-text-fill-color:#fff;background:none}

/* ================= TOP BAND (nav + page hero) ================= */
.v4-top{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:var(--v4-hero-bg);padding:104px 0 136px}
.v4-top::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.5;pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.5) 1px,transparent 1.4px);background-size:36px 36px;
  -webkit-mask-image:radial-gradient(55% 80% at 25% 30%,#000,transparent 75%);mask-image:radial-gradient(55% 80% at 25% 30%,#000,transparent 75%)}
.v4-top::after{content:"";position:absolute;inset:auto 0 -1px 0;height:90px;background:var(--v4-bg);z-index:-1;
  clip-path:path("M0 60 C 300 20, 520 90, 860 46 S 1500 10, 2400 40 L 2400 90 L 0 90 Z")}
.v4-top .v4-glow{position:absolute;z-index:-1;border-radius:50%;filter:blur(70px);pointer-events:none}
.v4-top .v4-glow.g1{width:420px;height:420px;left:-120px;top:-60px;background:#8b5cf6;opacity:.6}
.v4-top .v4-glow.g2{width:340px;height:340px;right:8%;bottom:-170px;background:#22d36b;opacity:.28}
.v4-top.is-compact{padding-bottom:84px}

/* nav (mirrors homepage nav.top) */
.v4-navshell{position:absolute;top:22px;left:0;right:0;z-index:70;pointer-events:none}
.v4-nav{pointer-events:auto;display:flex;align-items:center;gap:24px;background:#fff;color:var(--v4-ink);border-radius:999px;padding:10px 12px 10px 22px;box-shadow:0 14px 40px -14px rgba(0,0,0,.45);transition:padding .3s,box-shadow .3s}
.v4-home{display:flex;align-items:center;padding-inline-start:8px}
.v4-logo{display:block;height:38px;width:auto}
.v4-nav ul{display:flex;gap:24px;list-style:none;margin:0 auto;padding:0;font-size:14px;font-weight:600;color:#3b3360}
.v4-nav li a{position:relative;padding-block:6px;color:inherit;text-decoration:none;transition:color .2s}
.v4-nav li a:hover{color:var(--v4-violet)}
.v4-nav li a.active{color:var(--v4-violet);font-weight:800}
.v4-nav li a.active::after{content:"";position:absolute;inset-inline:0;bottom:-4px;height:3px;border-radius:3px;background:var(--v4-violet)}
.v4-actions{display:flex;gap:10px}
.v4-nav .v4-btn{padding:10px 18px;font-size:13px}
.v4-menu-btn{display:none;margin-inline-start:auto;position:relative;background:var(--v4-lav);border:0;border-radius:14px;width:46px;height:46px;cursor:pointer}
.v4-menu-btn span{position:absolute;right:13px;width:20px;height:2.4px;background:var(--v4-violet);border-radius:2px}
.v4-menu-btn span:nth-child(1){top:15px}.v4-menu-btn span:nth-child(2){top:22px;width:14px}.v4-menu-btn span:nth-child(3){top:29px}
body.v4-stuck .v4-navshell{position:fixed;top:10px;animation:v4NavDrop .45s cubic-bezier(.2,.8,.2,1)}
body.v4-stuck .v4-nav{box-shadow:0 14px 34px -14px rgba(43,17,112,.45),0 0 0 1px rgba(124,58,237,.12);padding-block:7px}
body.v4-stuck .v4-logo{height:32px}
@keyframes v4NavDrop{from{transform:translateY(-120%);opacity:0}to{transform:none;opacity:1}}

/* page hero inside the band */
.v4-pagehero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:end;padding-top:26px}
.v4-crumb,.v4-crumb>nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#cbbcff;margin-bottom:10px}
.v4-crumb a{color:#e6dcff;text-decoration:none}
.v4-crumb a:hover{color:#fff}
.v4-crumb [aria-hidden]{opacity:.5}
.v4-crumb .tc-store-crumb__current,.v4-crumb [aria-current]{color:#fff;font-weight:800}
.v4-pagehero h1{font-family:var(--v4-display);font-weight:900;font-size:clamp(28px,3.6vw,46px);line-height:1.4;letter-spacing:-.8px;color:#fff;margin:0 0 10px;max-width:22ch}
.v4-pagehero .v4-lead,.v4-pagehero header>p{font-size:clamp(14.5px,1.4vw,17px);line-height:2.05;color:#e6dcff;max-width:56ch;margin:0}
.v4-facts{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;list-style:none;margin:0;padding:0}
.v4-fact{display:flex;align-items:center;gap:10px;padding:10px 14px 10px 16px;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-size:12px;color:#d9ccff;line-height:1.6}
.v4-fact b{display:block;color:#fff;font-size:14px;font-weight:900}
.v4-fact i{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;flex:none;background:rgba(34,211,107,.18);color:#86efac;font-style:normal}
.v4-fact svg{width:18px;height:18px}

/* legacy heroes rendered inside the band (site_hero block): tc-page-hero, blog/news detail, calendar */
.v4-top .tc-page-hero,.site-home .v4-top .tc-page-hero{background:none;border:0;overflow:visible;padding:26px 0 0;color:#fff}
.site-home .v4-top .tc-page-hero::before{display:none}
.v4-top .tc-container{position:relative;z-index:1}
.site-home .v4-top .tc-page-hero__eyebrow,.landing-home .v4-top .tc-page-hero__eyebrow{display:inline-flex;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#e6dcff;box-shadow:none;font-size:12.5px;font-weight:800;letter-spacing:0;padding:5px 14px;border-radius:999px;margin-bottom:10px}
.site-home .v4-top .tc-page-hero__title,.landing-home .v4-top .tc-page-hero__title,.v4-top h1{font-family:var(--v4-display)!important;font-weight:900!important;font-size:clamp(28px,3.6vw,46px)!important;line-height:1.4!important;letter-spacing:-.8px;color:#fff!important;-webkit-text-fill-color:#fff;background:none;max-width:24ch;margin:0 0 10px}
.site-home .v4-top .tc-page-hero__title::after{background:linear-gradient(90deg,#22d36b,#a78bfa);width:64px;opacity:1}
.site-home .v4-top .tc-page-hero__lead,.landing-home .v4-top .tc-page-hero__lead{color:#e6dcff!important;font-size:clamp(14.5px,1.4vw,17px);line-height:2.05;max-width:60ch}
.v4-top .tc-content-detail__breadcrumb,.v4-top .tc-breadcrumb{color:#cbbcff;font-size:13px;font-weight:600;margin-bottom:10px}
.v4-top .tc-content-detail__breadcrumb a,.v4-top .tc-breadcrumb a{color:#e6dcff}
.v4-top .tc-content-detail__breadcrumb a:hover,.v4-top .tc-breadcrumb a:hover{color:#fff}
.v4-top .tc-public-calendar-hero{background:none;border:0;box-shadow:none;color:#fff}
.v4-top .tc-public-calendar-hero__lead{color:#e6dcff}
.v4-top .tc-public-calendar-hero__stat{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#fff;backdrop-filter:blur(10px);box-shadow:none}
.v4-top .tc-public-calendar-hero__stat small{color:#d9ccff}
.v4-top .tc-public-calendar-legend li{color:#e6dcff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14)}
.v4-top .tc-public-calendar-page-title{font-family:var(--v4-display)!important}

/* blog/news detail hero in the band: drop the legacy white title card */
.site-home .v4-top .tc-content-detail-hero{border:0}
.site-home .v4-top .tc-content-detail-hero .tc-page-hero__title{padding:0;border:0;border-radius:0;background:none;max-width:30ch;margin-top:.4rem}
.site-home .v4-top .tc-content-detail-hero .tc-page-hero__title::before{display:none}
.site-home .v4-top .tc-content-detail-hero .tc-page-hero__lead{text-align:right;max-width:62ch}
.site-home .v4-top .tc-content-detail__breadcrumb{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#cbbcff;margin-inline-end:8px}
.site-home .v4-top .tc-content-detail__breadcrumb a{color:#fff}

/* hub / lesson-plan intros (tcl-hero) inside the band */
.v4-pagehero--single{grid-template-columns:1fr}
.v4-top .tcl-hero{padding:0}
.v4-top .tcl-hero h1{margin:.4rem 0 .6rem}
.v4-top .tcl-lead{color:#e6dcff;max-width:64ch}
.v4-top .tcl-chips li{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.18);color:#fff}
.v4-top .tc-store-crumb{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:13px;font-weight:600;color:#cbbcff}
.v4-top .tc-store-crumb a{color:#e6dcff}
.v4-top .tc-store-crumb a:hover{color:#fff}
.v4-top .tc-store-crumb__current{color:#fff;font-weight:800}

/* ================= MOBILE DRAWER ================= */
.v4-scrim{position:fixed;inset:0;z-index:90;background:rgba(18,6,48,.55);backdrop-filter:blur(4px);opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.v4-drawer{position:fixed;z-index:100;top:0;bottom:0;right:0;width:min(370px,88vw);background:#fff;color:var(--v4-ink);display:flex;flex-direction:column;transform:translateX(105%);visibility:hidden;transition:transform .38s cubic-bezier(.2,.8,.2,1),visibility .38s;box-shadow:-30px 0 60px -20px rgba(18,6,48,.5);border-radius:28px 0 0 28px;overflow:hidden}
body.v4-menu-open .v4-scrim{opacity:1;visibility:visible}
body.v4-menu-open .v4-drawer{transform:none;visibility:visible}
.v4-d-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:linear-gradient(160deg,#2c0f74,#4c1d95);color:#fff}
.v4-d-head .v4-logo{height:34px}
.v4-d-close{width:42px;height:42px;border-radius:14px;border:0;background:rgba(255,255,255,.14);color:#fff;display:grid;place-items:center;cursor:pointer}
.v4-d-close svg{width:20px;height:20px}
.v4-d-nav{list-style:none;margin:0;padding:12px;display:grid;gap:2px;overflow-y:auto}
.v4-d-nav a{display:flex;align-items:center;gap:14px;padding:9px 12px;border-radius:16px;color:inherit;text-decoration:none;opacity:0;transform:translateX(18px);transition:background .2s}
body.v4-menu-open .v4-d-nav a{opacity:1;transform:none;transition:background .2s,opacity .35s ease var(--d),transform .35s ease var(--d)}
.v4-d-nav a:hover,.v4-d-nav a.active{background:var(--v4-lav)}
.v4-d-nav .di{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;flex:none}
.v4-d-nav .di svg{width:21px;height:21px}
.v4-d-nav b{display:block;font-size:14.5px;font-weight:800;line-height:1.5}
.v4-d-nav small{display:block;font-size:12px;color:var(--v4-muted)}
.v4-d-nav .chev{margin-inline-start:auto;width:18px;height:18px;color:#b9b2d4}
.v4-d-nav a.active b{color:var(--v4-violet)}
.v4-d-foot{margin-top:auto;padding:14px 20px calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--v4-line);display:grid;gap:10px;background:#fbf9ff}
.v4-d-foot .v4-btn{width:100%;padding:12px}
.v4-d-app{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:16px;background:#fff;border:1px solid var(--v4-line);font-size:12px;color:var(--v4-muted);text-decoration:none}
.v4-d-app img{width:40px;height:40px;border-radius:11px}
.v4-d-app b{display:block;color:var(--v4-ink);font-size:13.5px}

/* ================= FOOTER (mirrors homepage footer) ================= */
.v4-footer{position:relative;overflow:hidden;background:linear-gradient(180deg,#1f0d55,#170940);color:#d8cffa;margin-top:70px;padding:108px 0 24px;font-size:14px;line-height:1.9}
/* shallow wave cut (max ~40px) so the logo has clear air under it */
.v4-footer::before{content:"";position:absolute;inset:-1px 0 auto 0;height:44px;background:var(--v4-bg);clip-path:path("M0 0 L 2400 0 L 2400 12 C 1500 42, 900 0, 520 24 S 150 36, 0 18 Z")}
.v4-footer a{color:inherit;text-decoration:none}
.v4-footer .wrap{width:min(1200px,100% - 32px);margin-inline:auto;position:relative}
.v4-footer .brand-logo{display:block;height:46px;width:auto;margin-bottom:14px}
.v4-footer .f-grid{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:34px;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.1)}
.v4-footer .f-about>p{font-size:13.5px;line-height:2.1;color:#bfb3ea;margin:0 0 18px}
.v4-footer h4{position:relative;color:#fff;font-family:var(--v4-body);font-size:15px;font-weight:900;margin:0 0 16px;padding-bottom:10px}
.v4-footer h4::after{content:"";position:absolute;right:0;bottom:0;width:28px;height:3px;border-radius:3px;background:linear-gradient(90deg,#22c55e,#a78bfa)}
.v4-footer ul{list-style:none;margin:0;padding:0}
.v4-footer .f-col ul{display:grid;gap:10px;font-size:13.5px}
.v4-footer .f-col a{display:inline-flex;align-items:center;gap:8px;color:#cdc2f2;transition:color .2s,transform .2s}
.v4-footer .f-col a::before{content:"";width:5px;height:5px;border-radius:50%;background:#7c5ce6;transition:background .2s}
.v4-footer .f-col a:hover{color:#fff;transform:translateX(-4px)}
.v4-footer .f-col a:hover::before{background:#22c55e}
.v4-footer .channels{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.v4-footer .ch{display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 12px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);color:#fff;font-size:13px;font-weight:700;transition:background .25s,transform .25s}
.v4-footer .ch svg{width:18px;height:18px;fill:currentColor}
.v4-footer .ch:hover{transform:translateY(-3px)}
.v4-footer .ch-telegram:hover{background:#229ed9}.v4-footer .ch-instagram:hover{background:linear-gradient(45deg,#f9a825,#e91e63,#8e24aa)}.v4-footer .ch-aparat:hover{background:#df0f50}
.v4-footer .ch-whatsapp:hover{background:#25d366}.v4-footer .ch-bale:hover{background:#00b39f}.v4-footer .ch-rubika:hover{background:#8e24aa}.v4-footer .ch-linkedin:hover{background:#0a66c2}.v4-footer .ch-youtube:hover{background:#f00}
.v4-footer .f-contact{display:grid;gap:9px;font-size:13.5px}
.v4-footer .f-contact li{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.v4-footer .f-contact svg{width:17px;height:17px;fill:#a78bfa;flex:none}
.v4-footer .f-contact a{color:#e5dcff}
.v4-footer .f-contact small{width:100%;padding-inline-start:27px;font-size:12px;color:#a99bd8}
.v4-footer .f-trust{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.v4-footer .f-trust h4{margin-bottom:8px}
.v4-footer .f-trust p{font-size:13px;color:#bfb3ea;margin:0}
.v4-footer .trust-row{display:flex;gap:12px;flex-wrap:wrap;padding:0}
.v4-footer .tc-footer-trust__item{position:relative;width:118px;height:132px;border-radius:20px;background:#fff;display:grid;place-items:center;padding:10px;box-shadow:0 16px 30px -18px rgba(0,0,0,.7);transition:transform .25s}
.v4-footer .tc-footer-trust__item:hover{transform:translateY(-4px)}
.v4-footer .tc-footer-trust__item>a{position:relative;z-index:1;display:grid;place-items:center;width:100%;height:100%}
.v4-footer .tc-footer-trust__item img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.v4-footer .tc-footer-trust__fallback{position:absolute;inset:0;display:grid;place-items:center;text-align:center;font-size:11px;font-weight:800;color:var(--v4-muted);padding:10px;z-index:0}
.v4-footer .f-news{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-bottom:1px solid rgba(255,255,255,.1)}
.v4-footer .f-news h4{margin-bottom:6px}
.v4-footer .f-news p{margin:0;font-size:13px;color:#bfb3ea}
.v4-footer .f-news form{display:flex;gap:8px;flex:0 1 440px;padding:6px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.v4-footer .f-news input[type=email]{flex:1;min-width:0;border:0;background:none;color:#fff;font:inherit;font-size:14px;padding:6px 16px;outline:0}
.v4-footer .f-news input::placeholder{color:#a99bd8}
.v4-footer .f-news .v4-btn{padding:10px 22px}
.v4-footer .copy{text-align:center;font-size:12.5px;color:#9d8fd0;margin:20px 0 0}

/* ================= SHARED SURFACES (legacy classes, re-skinned) ================= */
.v4-site .tc-card{background:var(--v4-card);border:1px solid var(--v4-line);border-radius:var(--v4-r);box-shadow:var(--v4-shadow)}
.v4-site .pastel-input{border-radius:var(--v4-r-sm);border:1.5px solid var(--v4-line);background:#fbf9ff;color:var(--v4-ink);transition:border-color .2s,box-shadow .2s,background .2s}
.v4-site .pastel-input:focus{border-color:var(--v4-lilac);background:#fff;box-shadow:0 0 0 4px rgba(124,58,237,.12);outline:0}
.v4-site .pastel-btn-primary{background:linear-gradient(135deg,#6d28d9,#4c1d95);color:#fff;border:0;border-radius:999px;font-weight:800;box-shadow:0 12px 26px -12px rgba(91,33,214,.8);transition:transform .2s}
.v4-site .pastel-btn-primary:hover{transform:translateY(-2px)}

/* ================= STORE (pdfstore list) ================= */
.store-page .tc-site-main>.v4-top+*{margin-top:-46px;position:relative;z-index:2}
.store-page .tc-store-layout{gap:22px;align-items:flex-start}
.store-page .tc-store-filter .tc-card{position:sticky;top:96px;padding:20px;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-color:#fff}
.store-page .tc-store-filter__heading{font-family:var(--v4-display);font-weight:900;font-size:17px;color:var(--v4-ink)}
.store-page .tc-store-catalog{background:rgba(255,255,255,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid #fff;border-radius:var(--v4-r-lg);box-shadow:var(--v4-shadow);padding:18px}
.store-page .tc-promo-row{gap:18px}
.store-page .tc-promo-card{border-radius:var(--v4-r);border:1px solid var(--v4-line);background:linear-gradient(180deg,#fbf9ff,#f3eeff);box-shadow:none;transition:transform .25s,box-shadow .25s}
.store-page .tc-promo-card:hover{transform:translateY(-4px);box-shadow:0 16px 30px -18px rgba(91,33,214,.5)}
.store-page .tc-promo-card__title{font-family:var(--v4-display);font-weight:900;color:var(--v4-ink)}
.store-page .tc-promo-card__cta{background:var(--v4-violet);color:#fff;border-color:transparent}

/* catalog head: kind tabs + search (homepage .tabs) */
.store-page .tc-store-kinds{display:inline-flex;flex-wrap:wrap;gap:6px;background:#fff;border:1px solid var(--v4-line);padding:6px;border-radius:999px;box-shadow:var(--v4-shadow)}
.store-page .tc-store-kinds__chip{border:0;background:transparent;color:var(--v4-ink-2);font-weight:800;font-size:13.5px;padding:8px 16px;border-radius:999px;box-shadow:none;transition:background .2s,color .2s}
.store-page .tc-store-kinds__chip:hover{background:var(--v4-lav);color:var(--v4-violet)}
.store-page .tc-store-kinds__chip.is-active{background:linear-gradient(135deg,#7c3aed,#5b21b6);color:#fff;box-shadow:0 10px 20px -10px rgba(91,33,214,.8)}
.store-page .tc-store-catalog__search{border-radius:999px;border:1.5px solid var(--v4-line);background:#fbf9ff;box-shadow:none}
.store-page .tc-store-catalog__search:focus-within{border-color:var(--v4-lilac);background:#fff;box-shadow:0 0 0 4px rgba(124,58,237,.12)}
.store-page .tc-store-catalog__search-btn{background:linear-gradient(135deg,#6d28d9,#4c1d95);color:#fff;border-radius:999px;font-weight:800;box-shadow:0 10px 20px -12px rgba(91,33,214,.8)}
.store-page .tc-store-catalog__count{background:var(--v4-lav-2);color:var(--v4-violet)}
/* product card (homepage .p-card) */
.store-page .tc-store-product-card{background:#fff;border:1px solid var(--v4-line);border-radius:var(--v4-r);overflow:hidden;box-shadow:var(--v4-shadow);transition:transform .3s,box-shadow .3s}
.store-page .tc-store-product-card:hover{transform:translateY(-6px);box-shadow:0 0 0 2px rgba(124,58,237,.25),var(--v4-shadow-lg)}
.store-page .tc-store-product-card__media{background:radial-gradient(70% 60% at 50% 40%,#fff,transparent 70%),linear-gradient(160deg,#f3eeff,#e9fbf1)}
.store-page .tc-store-product-card__media--pink{background:radial-gradient(70% 60% at 50% 40%,#fff,transparent 70%),linear-gradient(160deg,#fdeef6,#f3eeff)}
.store-page .tc-store-product-card__media--sky{background:radial-gradient(70% 60% at 50% 40%,#fff,transparent 70%),linear-gradient(160deg,#e6f3ff,#f3eeff)}
.store-page .tc-store-product-card__img{transition:transform .7s}
.store-page .tc-store-product-card:hover .tc-store-product-card__img{transform:scale(1.05)}
.store-page .tc-store-product-card__fallback{font-family:var(--v4-display);font-weight:900;color:var(--v4-violet);border-radius:20px;box-shadow:0 18px 30px -18px rgba(76,29,190,.45)}
.store-page .tc-store-product-card__kind{background:rgba(255,255,255,.92);color:var(--v4-violet);font-weight:800;border:0;box-shadow:0 6px 14px -8px rgba(43,17,112,.35)}
.store-page .tc-store-product-card__badge{background:linear-gradient(135deg,#f59e0b,#ea580c);color:#fff;font-weight:900}
.store-page .tc-store-product-card__title{font-weight:900;color:var(--v4-ink)}
.store-page .tc-store-product-card__chip{background:var(--v4-lav);color:var(--v4-violet);border:0;font-weight:700}
.store-page .tc-store-product-card__footer{border-top:1px dashed var(--v4-line)}
.store-page .tc-store-product-card__cta{flex:none;background:var(--v4-green-soft);color:var(--v4-green-ink);border-radius:12px;transition:background .2s,color .2s}
.store-page .tc-store-product-card:hover .tc-store-product-card__cta{background:var(--v4-green);color:#fff}
.store-page .tc-store-catalog__page-num.is-current{background:var(--v4-violet);color:#fff}
/* footer newsletter input must not pick up legacy form-field styles */
.v4-footer .f-news input[type=email]{background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;height:auto}
.v4-site .v4-pagehero h1{font-size:clamp(28px,3.6vw,46px)!important;line-height:1.4!important;font-weight:900!important;font-family:var(--v4-display)!important;letter-spacing:-.8px}

/* ================= PRODUCT DETAIL (pdp) ================= */
.v4-site .tc-pdp__hero-buy,.v4-site .tc-pdp__pay-btn,.v4-site .tc-pdp__mbar-btn{background:linear-gradient(135deg,#2ee77a,#17bf5d)!important;color:#fff!important;border:0;border-radius:999px;font-weight:900;box-shadow:0 12px 28px -10px rgba(34,211,107,.7);transition:transform .2s}
.v4-site .tc-pdp__hero-buy:hover,.v4-site .tc-pdp__pay-btn:hover{transform:translateY(-2px)}
.v4-site .tc-pdp h1,.v4-site .tc-pdp__title{font-family:var(--v4-display);font-weight:900;color:var(--v4-ink)}

/* ================= AUTH (login / register / verify) ================= */
.v4-site .tc-auth-page__grid{border:1px solid #fff;border-radius:var(--v4-r-lg);box-shadow:var(--v4-shadow-lg)}
.v4-site .tc-auth-showcase{background:var(--v4-hero-bg)!important;color:#fff}
.v4-site .tc-auth-showcase h2,.v4-site .tc-auth-showcase h1{font-family:var(--v4-display);font-weight:900;color:#fff}
.v4-site .tc-auth-card h1{font-family:var(--v4-display);font-weight:900;color:var(--v4-ink)}
.v4-site .tc-auth-card__icon{background:var(--v4-lav-2);color:var(--v4-violet)}
.v4-site .tc-auth-submit{background:linear-gradient(135deg,#6d28d9,#4c1d95)!important;border-radius:999px!important;font-weight:800!important;box-shadow:0 12px 26px -12px rgba(91,33,214,.8)!important}
.v4-site .tc-auth-field__control input,.v4-site .tc-auth-panel input:not([type=checkbox]):not([type=radio]){border-radius:var(--v4-r-sm)}
.v4-site .tc-auth-panel input:focus{border-color:var(--v4-lilac);box-shadow:0 0 0 4px rgba(124,58,237,.12)}
.v4-site .tc-auth-page{padding-bottom:20px}

/* ================= RESPONSIVE ================= */
@media (max-width:1100px){
  .v4-nav ul{gap:16px;font-size:13px}
  .v4-footer .f-grid{grid-template-columns:1fr 1fr 1fr}
  .v4-footer .f-about{grid-column:1/-1}
}
@media (max-width:980px){
  .v4-nav ul,.v4-actions{display:none}
  .v4-menu-btn{display:block}
  .v4-nav{padding:8px 8px 8px 16px}
  .v4-pagehero{grid-template-columns:1fr;gap:18px}
  .v4-facts{justify-content:flex-start}
}
@media (max-width:900px){.v4-navshell{top:14px}body.v4-stuck .v4-navshell{top:8px}}
@media (max-width:600px){
  .v4-top{padding:88px 0 100px}
  .v4-top::after{height:50px;clip-path:path("M0 30 C 120 8, 220 46, 380 22 S 700 6, 900 20 L 900 50 L 0 50 Z")}
  .v4-logo{height:34px}
  .v4-pagehero{padding-top:12px}
  .v4-pagehero h1{font-size:27px;line-height:1.5}
  .v4-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  .v4-fact{flex-direction:column;text-align:center;padding:10px 6px;gap:6px;font-size:11px}
  .v4-fact b{font-size:12.5px}
  .v4-fact i{width:30px;height:30px}
  .store-page .tc-site-main>.v4-top+*{margin-top:-30px}
  .store-page .tc-store-catalog{padding:12px;border-radius:24px}
  .store-page .tc-store-filter .tc-card{position:static}
  .v4-site .v4-pagehero h1{font-size:26px!important;line-height:1.55!important}
  .store-page .tc-store-kinds{display:flex;width:100%;border-radius:20px}
  .store-page .tc-store-product-card__footer{gap:6px}
  .store-page .tc-store-product-card__cta{display:none}
  .v4-footer{padding-top:84px;margin-top:40px}
  .v4-footer .f-grid{grid-template-columns:1fr 1fr;gap:26px 18px}
  .v4-footer .f-about{text-align:center}
  .v4-footer .f-about .brand-logo{margin-inline:auto}
  .v4-footer .f-about h4::after,.v4-footer .f-trust h4::after,.v4-footer .f-news h4::after{right:50%;transform:translateX(50%)}
  .v4-footer .channels{justify-content:center}
  .v4-footer .f-contact{justify-items:center}
  .v4-footer .f-contact small{padding:0;text-align:center}
  .v4-footer .f-trust,.v4-footer .f-news{flex-direction:column;text-align:center}
  .v4-footer .f-news form{width:100%;flex-basis:auto}
  .v4-footer .trust-row{justify-content:center}
  .v4-footer .tc-footer-trust__item{width:31%;height:104px;padding:8px;border-radius:16px}
}
@media (prefers-reduced-motion:reduce){
  body.v4-stuck .v4-navshell{animation:none}
  .v4-btn,.v4-drawer,.v4-d-nav a,.store-page .tc-promo-card{transition:none}
}
body.v4-menu-open .tc-support-fab{visibility:hidden}

/* one continuous page colour: the band's bottom wave and the footer's top wave cut into --v4-bg, so every
   full-width layer between them (legacy white page sections, body, shell) must be that same colour */
body.tc-has-landing-shell:has(.v4-site){background:var(--v4-bg)}
.v4-site .tc-site-main>section,.v4-site .tc-site-main>div:not(.v4-top),.v4-site .tc-page-section,.v4-site .tc-content-list,.v4-site .tc-site-main>section>.tc-container{background:transparent!important;background-image:none!important;border-top:0!important;border-bottom:0!important}

/* #9: the legacy shell drew a 0.8px white frame around the page (visible around the band and the footer) */
.landing-home.v4-site .tc-shell{border:0!important;box-shadow:none!important;outline:0!important}
/* #3: a band that carries a page heading is never "compact": keep the text well above the bottom wave */
.v4-top.is-compact:has(> :not(.v4-glow)){padding-bottom:136px}
@media (max-width:600px){.v4-top.is-compact:has(> :not(.v4-glow)){padding-bottom:100px}}

/* #8: the side gutters are gone, so use the width: 1360px content (was 1180/1200); long-read columns stay narrow */
.v4-wrap{width:min(1360px,100% - 40px)}
.landing-home.v4-site .tc-container{max-width:1360px}
.v4-footer .wrap{width:min(1360px,100% - 40px)}
@media (max-width:600px){.v4-wrap,.v4-footer .wrap{width:min(1360px,100% - 32px)}}

/* #6: e-Namad, ZarinPal and Shaparak = three equal white tiles side by side (desktop and phone).
   Beats the inline !important sizes in _footer_trust_badge.html / _footer_payment_badges.html. */
.landing-home .v4-footer .trust-row{display:grid!important;grid-template-columns:repeat(3,128px);gap:12px;align-items:stretch}
.landing-home .v4-footer .trust-row>.tc-footer-trust__item{width:128px!important;height:128px!important;min-width:0!important;min-height:0!important;padding:12px!important;border-radius:20px;background:#fff;display:grid!important;grid-template:minmax(0,1fr)/minmax(0,1fr);overflow:hidden!important;box-sizing:border-box}
.landing-home .v4-footer .trust-row>.tc-footer-trust__item>a{display:grid!important;grid-template:minmax(0,1fr)/minmax(0,1fr);width:100%!important;height:100%!important;min-width:0}
/* the logo fills its tile (object-fit keeps its proportions); a width:auto image was 0x0 before loading, so
   loading=lazy never fired and the tile stayed blank */
.landing-home .v4-footer .trust-row>.tc-footer-trust__item img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain}
@media (max-width:600px){
  .landing-home .v4-footer .trust-row{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:10px}
  .landing-home .v4-footer .trust-row>.tc-footer-trust__item{width:auto!important;height:auto!important;aspect-ratio:1/1;padding:10px!important;border-radius:16px}
}
/* legacy section ornaments (1px gradient rule + top glow) read as a seam under the band */
.v4-site .tc-page-section::before,.v4-site .tc-page-section::after{display:none!important}

/* In-text links in blog/news article bodies: the brand violet of the Android app's article view (tc_html.dart:
   #7262CF, weight 600) instead of inheriting the body text colour; underline on hover/keyboard focus.
   CTA «buttons» written in the CMS carry an inline background and keep their own look. */
.tc-content-detail__body a:not([style*="background"]){color:#7262cf;font-weight:600;text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1.5px;text-underline-offset:4px;transition:color .15s,text-decoration-color .15s}
.tc-content-detail__body a:not([style*="background"]):visited{color:#5b4bb3}
.tc-content-detail__body a:not([style*="background"]):hover,.tc-content-detail__body a:not([style*="background"]):focus-visible{color:#5b21b6;text-decoration-color:currentColor}
.tc-content-detail__body a:not([style*="background"]):focus-visible{outline:2px solid #a78bfa;outline-offset:2px;border-radius:4px}
@media (prefers-reduced-motion:reduce){.tc-content-detail__body a{transition:none}}

/* Blog/news article: the 1360px page width is for listings, not reading. Article, cover and hero copy share one
   920px reading column (comfortable ~75-character lines); the cover keeps its own proportions inside that column. */
.landing-home.v4-site.blog-page .tc-content-detail>.tc-container,.landing-home.v4-site.news-page .tc-content-detail>.tc-container,
.landing-home.v4-site.blog-page .tc-content-detail-hero>.tc-container,.landing-home.v4-site.news-page .tc-content-detail-hero>.tc-container{max-width:920px}
.landing-home.v4-site.blog-page .tc-content-detail__cover,.landing-home.v4-site.news-page .tc-content-detail__cover{max-width:920px;margin-inline:auto;border-radius:22px;overflow:hidden;aspect-ratio:auto;background:#f4f0ff}
/* the whole picture, never cropped: natural proportions (covers are 4:3 or 16:9); a very tall upload is capped and letterboxed */
.landing-home.v4-site.blog-page .tc-content-detail__cover img,.landing-home.v4-site.news-page .tc-content-detail__cover img{display:block;width:100%;height:auto;max-height:760px;aspect-ratio:auto;object-fit:contain;margin-inline:auto}
.landing-home.v4-site.blog-page .tc-content-detail__body img,.landing-home.v4-site.news-page .tc-content-detail__body img{display:block;max-width:min(100%,760px);height:auto;margin-inline:auto;border-radius:16px}
.landing-home.v4-site.blog-page .tc-content-detail__body,.landing-home.v4-site.news-page .tc-content-detail__body{font-size:15px}
@media (max-width:600px){
  .landing-home.v4-site.blog-page .tc-content-detail__cover,.landing-home.v4-site.news-page .tc-content-detail__cover{border-radius:16px}
  .landing-home.v4-site.blog-page .tc-content-detail__body img,.landing-home.v4-site.news-page .tc-content-detail__body img{border-radius:12px}
}

/* ===== footer contact block, identical on every page (Aban 1405): phone, e-mail, support line and its hours
   line up on one edge — right-aligned on desktop, all centred at ≤980px (same breakpoint on home and site pages).
   The hours sit directly under the «پشتیبانی» link instead of a 27px-indented second row. */
.v4-footer .f-contact{justify-items:start}
.v4-footer .f-contact li,.v4-footer .f-contact li.f-support{width:auto;justify-self:start;justify-content:flex-start;text-align:right;flex-wrap:nowrap;align-items:flex-start}
.v4-footer .f-contact li>a,.v4-footer .f-contact li.f-support>span{line-height:1.6}
.v4-footer .f-contact li svg{margin-top:2px}
.v4-footer .f-contact li.f-support .f-support__txt{display:grid;gap:2px}
.v4-footer .f-contact li.f-support small,.v4-footer .f-contact small{width:auto;padding:0;text-align:inherit}
@media (max-width:980px){
  .v4-footer .f-about{text-align:center}
  .v4-footer .f-about .brand-logo{margin-inline:auto}
  .v4-footer .channels{justify-content:center}
  .v4-footer .f-contact{justify-items:center}
  .v4-footer .f-contact li,.v4-footer .f-contact li.f-support{justify-self:center;justify-content:center;text-align:center}
  .v4-footer .f-contact li.f-support .f-support__txt{justify-items:center}
}
