/* Course page (shop): styles. Source of truth since 28.11; ported once from the approved stand
   docs/design/shop-course-sidebar-v2/proto.mjs (V1 + T1), scoped to #tgc so Tilda's CSS and ours do not touch.
   Built into lms/public/shop/course/course.css by lms/scripts/build-course-pages.mjs. */
@font-face{font-family:'Averta CY';src:url('https://lms.tailorgirl.net/fonts/tailorgirl/AvertaCY-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Averta CY';src:url('https://lms.tailorgirl.net/fonts/tailorgirl/AvertaCY-Semibold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Averta CY';src:url('https://lms.tailorgirl.net/fonts/tailorgirl/AvertaCY-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Heading Pro Wide';src:url('https://lms.tailorgirl.net/fonts/tailorgirl/HeadingProWide-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
#tgc{--bg:#FAF7F2;--line:#E8E0D5;--ink:#2A2522;--head:#3D2C29;--muted:#6B5F56;--acc:#C17F59;--acc-d:#A86A47;--soft:rgba(193,127,89,.10);--btn:#A5643F;--btn-h:#93552F;--acc-t:#9C5A31;--sans:'Averta CY',system-ui,sans-serif;--wide:'Heading Pro Wide','Averta CY',sans-serif;--serif:'Playfair Display',Georgia,serif;--stage:#EDE8E2;--ease:cubic-bezier(.32,.72,0,1);--dur:.62s;--R:20px;--r:12px;--pad:8px}
#tgc,#tgc *{box-sizing:border-box}
#tgc{overflow-x:clip}
#tgc{overflow-x:clip}
#tgc{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 var(--sans);font-variant-numeric:tabular-nums}
#tgc button{font:inherit;color:inherit}
#tgc .in{max-width:1208px;margin:0 auto;padding:0 48px}
#tgc .sec{padding:72px 0 0}
#tgc .sec h2{font:400 34px/1.2 'Playfair Display',serif;color:var(--head);margin:0 0 14px}
#tgc .lead{color:var(--muted);margin:0 0 24px;max-width:62ch}
#tgc .sec.info .in,#tgc .sec.hero .in{padding-right:calc(48px + 392px + 32px)}
#tgc .sec.hero{padding-top:0;background:#F3EDE4;--gut:max(48px,calc((100vw - 1208px)/2 + 48px))}
#tgc .sec.hero .in{padding-right:48px}
#tgc .hb{display:grid;grid-template-columns:400px minmax(0,1fr) 392px;gap:0;background:none;min-height:600px}
#tgc .hp{width:calc(100% + var(--gut));margin-left:calc(-1 * var(--gut));height:100%;object-fit:cover;object-position:center 20%;display:block;-webkit-mask-image:linear-gradient(to right,#000 72%,transparent);mask-image:linear-gradient(to right,#000 72%,transparent)}
#tgc .ht{padding:36px 32px}
#tgc .ht h1{font:400 34px/1.15 'Playfair Display',serif;color:var(--head);margin:0 0 14px}
#tgc .ht h1 i,#tgc .sec h2 i{color:var(--acc)}
#tgc .auth{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:14px;margin-bottom:14px}
#tgc .auth img{width:38px;height:38px;border-radius:50%;object-fit:cover}
#tgc .auth b{color:var(--head)}
#tgc .ht p{color:var(--muted);margin:0 0 18px}
#tgc .ben{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:14px;color:var(--head)}
#tgc .ben li{display:flex;gap:10px;align-items:center}
#tgc .ben svg{width:18px;height:18px;color:var(--acc);flex:none}
#tgc .gm{display:grid;grid-template-columns:minmax(0,1fr) 560px minmax(0,1fr);gap:24px;align-items:center}
#tgc .gm-col{display:grid;gap:10px;align-content:center}
#tgc .gm-col:first-child{justify-items:end}
#tgc .call{all:unset;cursor:pointer;display:inline-flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:6px 16px 6px 6px;font-size:14.5px;font-weight:600;color:var(--head);transition:border-color .25s,box-shadow .25s,transform .25s}
#tgc .call:hover{transform:translateY(-1px);border-color:#D9C6B3}
#tgc .call i{font-style:normal;width:28px;height:28px;border-radius:6px;background:var(--soft);color:var(--acc);display:grid;place-items:center;font-size:12px;transition:background .25s,color .25s}
#tgc .call.on{border-color:var(--acc);box-shadow:0 0 0 3px rgba(193,127,89,.15)}
#tgc .call.on i{background:var(--acc);color:#fff}
#tgc .call:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
#tgc .gm-mid{text-align:center}
#tgc .gm-chips,#tgc .les.ph{display:none}
#tgc .stage{position:relative;width:560px;aspect-ratio:1/1;background:transparent;border-radius:var(--R);overflow:hidden;cursor:grab;touch-action:pan-y;user-select:none}
#tgc .stage::after{content:'';position:absolute;left:24%;right:24%;top:85%;height:6%;background:radial-gradient(closest-side,rgba(61,44,41,.22),rgba(61,44,41,0));pointer-events:none;transition:opacity .3s}
#tgc .stage.zoomed::after{opacity:0}
#tgc .zl{z-index:1}
#tgc .hint,#tgc .capn{z-index:2}
#tgc .stage.drag{cursor:grabbing}
#tgc .zl{position:absolute;inset:0;transition:transform .75s var(--ease)}
#tgc .zl img,#tgc .zl canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
#tgc .zl .still{opacity:0;transition:opacity .18s ease;-webkit-transform:translateZ(0);transform:translateZ(0)}
#tgc .zl .still.on{opacity:1;transition:opacity .26s ease}
#tgc .dot{position:absolute;left:0;top:0;width:18px;height:18px;margin:0;border-radius:50%;background:var(--acc);border:3px solid #fff;box-shadow:0 2px 8px rgba(61,44,41,.35);transform:translate(-50%,-50%) scale(var(--iz,1));opacity:0;pointer-events:none;transition:opacity .25s ease;font-size:0;color:transparent}
#tgc .dot::after{content:'';position:absolute;inset:-9px;border-radius:50%;border:1.5px solid rgba(255,255,255,.9);box-shadow:0 0 0 1px rgba(193,127,89,.35);animation:tgmark 1.8s ease-out infinite}
@keyframes tgmark{0%{transform:scale(.6);opacity:1}100%{transform:scale(1.6);opacity:0}}
#tgc .stage.zoomed .dot.on{opacity:1;transition:opacity .3s ease .55s}
#tgc .hint{position:absolute;left:50%;top:8px;white-space:nowrap;transform:translateX(-50%);display:flex;gap:8px;align-items:center;background:rgba(255,253,249,.92);padding:7px 12px;border-radius:var(--r);font-size:12.5px;font-weight:600;color:var(--head);transition:opacity .3s}
#tgc .hint svg{width:16px;height:16px;color:var(--acc)}
#tgc .ctl{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:center}
#tgc .hint{position:static!important;transform:none!important;display:inline-flex!important;opacity:1!important;background:none!important;padding:0!important;color:var(--muted)!important;font-weight:500!important}
#tgc .stage{transition:background-color .35s ease}
#tgc .stage.zoomed{background:var(--stage)}
#tgc .capn{position:absolute;left:8px;right:8px;bottom:8px;display:flex;gap:12px;align-items:center;justify-content:space-between;text-align:left;background:rgba(255,253,249,.96);border-radius:var(--r);padding:8px 8px 8px 14px;font-size:14px;color:var(--head);opacity:0;transform:translateY(8px);transition:opacity .3s,transform .3s;pointer-events:none}
#tgc .capn{position:static!important;margin:0;max-height:0;padding-top:0!important;padding-bottom:0!important;overflow:hidden;background:#fff!important;border:1px solid var(--line);border-width:0;text-align:left;transition:opacity .3s,max-height .35s,padding .35s,margin .35s!important}
#tgc .stage.zoomed+.capn{opacity:1;transform:none;pointer-events:auto;max-height:140px;padding-top:8px!important;padding-bottom:8px!important;margin-top:10px;border-width:1px}
#tgc .capn button{all:unset;cursor:pointer;flex:none;font-weight:700;font-size:12.5px;color:var(--acc-d);background:var(--soft);padding:9px 12px;border-radius:6px}
#tgc .ctl{margin-top:14px}
#tgc .seg2{display:inline-flex;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:3px}
#tgc .seg2 button{all:unset;cursor:pointer;padding:7px 16px;border-radius:9px;font-size:13px;font-weight:600;color:var(--muted)}
#tgc .seg2 button.on{background:var(--head);color:#fff}
#tgc .les{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--R);padding:var(--pad);margin-top:8px;max-width:340px;opacity:0;transform:translateY(6px);transition:opacity .35s,transform .35s}
#tgc .les.on{opacity:1;transform:none}
#tgc .les img{width:96px;height:54px;object-fit:cover;border-radius:var(--r);flex:none;background:#EFE6DB}
#tgc .les b{display:block;font-size:13.5px;color:var(--head)}
#tgc .les small{font-size:12.5px;color:var(--muted);line-height:1.35;display:block}
#tgc .tiles{display:grid;grid-template-columns:1fr 1fr;gap:20px}
#tgc .tm{position:relative;aspect-ratio:16/9;border-radius:var(--R);overflow:hidden;background:#EFE6DB}
#tgc .tm img{width:100%;height:100%;object-fit:cover}
#tgc .tm img.nc{object-position:center 30%}
#tgc .pl{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center}
#tgc .pl svg{width:18px;height:18px;margin-left:3px}
#tgc .tile b{display:block;margin-top:8px;font-size:14px;color:var(--head)}
#tgc .more{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:12px 18px;font-weight:600;cursor:pointer}
#tgc .works{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
#tgc .works img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:var(--R);display:block}
#tgc .how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:16px}
#tgc .how li{display:flex;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--R);padding:18px}
#tgc .how svg{width:22px;height:22px;color:var(--acc);flex:none;margin-top:2px}
#tgc .how b{display:block;color:var(--head)}
#tgc .how small{color:var(--muted);font-size:13.5px}
#tgc .author{display:grid;grid-template-columns:220px 1fr;gap:32px;align-items:start}
#tgc .author img{width:220px;height:220px;object-fit:contain;object-position:center bottom;background:#F3EDE4;border-radius:var(--R)}
#tgc .chk{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:8px}
#tgc .chk li{display:flex;gap:10px;align-items:flex-start}
#tgc .chk svg{width:18px;height:18px;color:var(--acc);flex:none;margin-top:3px}
#tgc .quote{font:italic 400 22px/1.45 var(--serif);color:var(--head);margin:24px 0 0;padding-top:24px;border-top:1px solid var(--line);max-width:34ch}
#tgc .ft{padding:0 0 96px;text-align:center;color:var(--muted);font-size:14px}
#tgc .cta{all:unset;box-sizing:border-box;cursor:pointer;height:52px;width:100%;border-radius:var(--r);background:var(--btn);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:16px;white-space:nowrap;transition:background-color .2s}
#tgc .cta:hover{background:var(--btn-h)}
#tgc .cta.alt{background:var(--head)}
#tgc .cta.sm{height:48px;width:auto;padding:0 22px;flex:none}
#tgc .cta:focus-visible{outline:2px solid var(--head);outline-offset:2px}
#tgc .hcta svg{width:20px;height:20px;margin-right:4px}
@media (max-width:1023px){
  #tgc{padding-top:calc(60px + env(safe-area-inset-top,0px))}
  #tgc .ft{padding-bottom:104px}
}
@media (max-width:1023px){
  #tgc .in,#tgc .sec.info .in{padding:0 16px}
  #tgc .sec.hero .in{padding:0}
  #tgc .sec.hero{padding-bottom:28px}
  #tgc .sec{padding-top:48px}
  #tgc .sec h2{font-size:26px}
  #tgc .hb{grid-template-columns:1fr;min-height:0}
  #tgc .hp{aspect-ratio:4/5;height:auto;width:100%;margin-left:0;-webkit-mask-image:linear-gradient(to bottom,#000 70%,transparent);mask-image:linear-gradient(to bottom,#000 70%,transparent)}
  #tgc .ht{padding:0 16px;margin-top:-56px;position:relative}
  #tgc .ht h1{font-size:30px}
  #tgc .gm{grid-template-columns:minmax(0,1fr);gap:14px}
  #tgc .gm-mid{min-width:0}
  #tgc .gm-col{display:none}
  #tgc .gm-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:20px 0 0;padding:0 0 4px;max-width:100%;scroll-behavior:smooth}
  #tgc .call{flex:none;font-size:13.5px}
  #tgc .les.ph{display:flex;max-width:none;text-align:left}
  #tgc .les.ph:not(.on){display:none}
  #tgc .gm-mid{order:1}
  #tgc .stage{width:100%}
  #tgc .tiles,#tgc .how,#tgc .works{grid-template-columns:1fr 1fr}
  #tgc .tiles{grid-template-columns:1fr}
  #tgc .how{grid-template-columns:1fr}
  #tgc .author{grid-template-columns:1fr}
  #tgc .author img{width:100%;height:auto;aspect-ratio:1/1;max-height:360px;object-fit:contain}
}
@media (prefers-reduced-motion:reduce){
  #tgc .zl{transition:none!important}
  #tgc .fq .fi{transition:none}
}
@media (min-width:1024px){
  #tgc .hb{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
}
#tgc .ht{padding:72px 0 64px 56px!important;max-width:560px}
#tgc .hbuy{margin-top:32px}
#tgc .hbuy .cta{width:auto;padding:0 32px;height:56px}
#tgc .pstrip{background:#2A2522;color:#F3ECE4}
#tgc .pstrip .in{display:flex;align-items:center;gap:16px 20px;padding-top:20px;padding-bottom:20px;padding-right:calc(48px + 392px + 32px)}
#tgc .pstrip p{margin:0;font-size:15px;line-height:1.5;flex:1}
#tgc .pstrip a{display:inline-flex;gap:6px;align-items:center;flex:none;min-height:44px;color:#E9B08C;font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap}
#tgc .pstrip a svg{width:16px;height:16px}
#tgc .pmark{flex:none;font:700 13px/1 var(--wide);letter-spacing:.03em;color:#F3ECE4;border:1.5px dashed rgba(243,236,228,.55);border-radius:6px;padding:6px 8px 5px}
#tgc .tar1{display:none}
#tgc .tar1{display:grid}
#tgc .tk{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:6px}
#tgc .tn{display:block;font:700 22px/1.2 var(--wide);letter-spacing:-.01em}
#tgc .tpr{font:700 36px/1.1 var(--wide);letter-spacing:-.015em;margin:12px 0 4px}
#tgc .tpr small{font:500 14px var(--sans);letter-spacing:0;opacity:.75}
#tgc .tper{font-size:14px;font-weight:600;color:#E9B08C;margin-bottom:20px}
#tgc .tbadge{display:inline-block;font:700 12px/1 var(--sans);letter-spacing:.02em;color:#2A2522;background:#E9B08C;border-radius:999px;padding:6px 10px;margin-bottom:12px;align-self:flex-start}
#tgc .chk li{line-height:1.5}
#tgc .tar1{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:16px;align-items:stretch}
#tgc .tc{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;display:flex;flex-direction:column}
#tgc .tci{display:block;width:100%;height:240px;object-fit:cover;object-position:center 22%}
#tgc .tcb{padding:24px 28px 28px;display:flex;flex-direction:column;flex:1}
#tgc .tc .tn{color:var(--head)}
#tgc .tc .tpr{color:var(--head);margin-bottom:4px}
#tgc .tc .tper{color:var(--acc-t)}
#tgc .tc .chk{flex:1;margin-bottom:24px;align-content:start}
#tgc .tp{border:1px solid #2A2522;background:#2A2522;color:#F3ECE4;border-radius:24px;overflow:hidden;display:flex;flex-direction:column}
#tgc .tpb{padding:24px 28px 28px;display:flex;flex-direction:column}
#tgc .tp .tpb{flex:1}
#tgc .tpb .chk{margin-bottom:24px}
#tgc .tpb .chk li{color:#F3ECE4}
#tgc .tpb .chk svg{color:#E9B08C}
#tgc .cta.lt{background:#FAF7F2;color:#2A2522}
#tgc .cta.lt:hover{background:#fff}
#tgc .tmore{display:inline-flex;gap:6px;align-items:center;align-self:center;min-height:44px;margin-top:8px;color:#E9B08C;font-weight:600;font-size:14px;text-decoration:none}
#tgc .tmore svg{width:16px;height:16px}
@media (max-width:1023px){
  #tgc .ht{padding:0 16px!important;max-width:none}
  #tgc .hbuy{margin-top:24px}
  #tgc .hbuy .cta{width:100%;padding:0 20px}
  #tgc .pstrip .in{flex-wrap:wrap;gap:10px;padding:18px 16px}
  #tgc .pstrip p{flex:1 1 100%;font-size:14px}
  #tgc .pstrip a{min-height:36px}
  #tgc .tar1{grid-template-columns:1fr}
  #tgc .tcb,#tgc .tpb{padding:22px}
  #tgc .tci{height:200px}
  #tgc .tpr{font-size:30px}
}
#tgc .sec{padding:96px 0 0}
#tgc .sec h2{font:700 30px/1.15 var(--wide);letter-spacing:-.01em;color:var(--head);margin:0 0 32px;text-wrap:balance}
#tgc .sec h2:has(+ .lead){margin-bottom:12px}
#tgc .lead{font-size:17px;line-height:1.6;margin:0 0 32px;max-width:60ch}
#tgc .hb{grid-template-columns:300px minmax(0,1fr) 392px;min-height:620px}
#tgc .ht{padding:64px 40px 48px}
#tgc .ht h1{font:700 44px/1.08 var(--wide);letter-spacing:-.015em;color:var(--head);margin:0 0 24px;text-wrap:balance}
#tgc .ht h1 .acc{color:var(--acc-t)}
#tgc .ht h1 i,#tgc .sec h2 i{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:0;color:var(--acc-t)}
#tgc .auth{font-size:14px;margin-bottom:24px}
#tgc .ht p{font-size:17px;line-height:1.6;margin:0 0 24px;max-width:46ch}
#tgc .ben{font-size:15px;gap:12px}
#tgc .call{font-size:14px;padding:8px 16px 8px 8px}
#tgc .call i{color:var(--acc-t)}
#tgc .seg2 button{font-size:14px;padding:12px 18px}
#tgc .capn{font-size:15px}
#tgc .capn button{padding:13px 14px;font-size:14px;color:var(--acc-t)}
#tgc .hint{font-size:14px}
#tgc .les b{font-size:14px}
#tgc .les small{font-size:13px}
#tgc .tiles{gap:32px 24px}
#tgc .tile b{font-size:15px;font-weight:600;margin-top:12px;line-height:1.4}
#tgc .more{margin-top:32px;font-size:15px;min-height:48px}
#tgc .works{gap:16px}
#tgc .how{grid-template-columns:repeat(3,1fr);gap:16px}
#tgc .how li{flex-direction:column;gap:12px;padding:24px}
#tgc .how b{font-size:16px}
#tgc .how small{font-size:14px;line-height:1.5}
#tgc .author{gap:40px}
#tgc .chk{gap:12px;margin:0 0 8px}
#tgc .chk li{font-size:16px}
#tgc .faq{display:grid;gap:10px;max-width:680px}
#tgc .fq{background:#FFFDF9;border:1px solid var(--line);border-radius:14px;overflow:hidden}
#tgc .fq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;font:600 16px/1.35 var(--sans);color:var(--head);min-height:56px}
#tgc .fq summary::-webkit-details-marker{display:none}
#tgc .fq .fi{width:22px;height:22px;flex:none;color:var(--acc);transition:transform .25s}
#tgc .fq[open] .fi{transform:rotate(45deg)}
#tgc .fq p{margin:0;padding:0 20px 20px;font-size:15px;line-height:1.6;color:var(--muted);max-width:62ch}
#tgc .fq summary:focus-visible{outline:2px solid var(--acc);outline-offset:-2px;border-radius:14px}
@media (max-width:1023px){
  #tgc .sec{padding-top:56px}
  #tgc .sec h2{font-size:23px;margin-bottom:24px}
  #tgc .sec h2:has(+ .lead){margin-bottom:8px}
  #tgc .lead{font-size:16px;margin-bottom:24px}
  #tgc .hb{grid-template-columns:1fr;min-height:0}
  #tgc .ht{padding:0 16px}
  #tgc .ht h1{font-size:32px;margin-bottom:16px}
  #tgc .ht p{font-size:16px;margin-bottom:20px}
  #tgc .auth{margin-bottom:16px}
  #tgc .tiles{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
  #tgc .tiles::-webkit-scrollbar{display:none}
  #tgc .tile{flex:0 0 78%;scroll-snap-align:start}
  #tgc .more{margin-top:20px}
  #tgc .how{grid-template-columns:1fr}
  #tgc .how li{flex-direction:row;padding:18px}
  #tgc .author{grid-template-columns:88px 1fr;gap:16px;align-items:center}
  #tgc .author>div{display:contents}
  #tgc .author img{width:88px;height:88px;max-height:none;aspect-ratio:auto;border-radius:50%;object-fit:cover;object-position:center 18%;background:#F3EDE4}
  #tgc .author h2{margin:0!important;grid-column:2}
  #tgc .author .lead{grid-column:1/-1;margin:8px 0 16px}
  #tgc .author .chk,#tgc .author .quote{grid-column:1/-1}
  #tgc .quote{font-size:20px}
  #tgc .faq{max-width:none}
  #tgc .fq summary{padding:16px 18px}
  #tgc .fq p{padding:0 18px 18px}
  #tgc .ft{padding:0 0 104px}
}
#tgc .nw{white-space:nowrap}
@media (min-width:1024px){
  #tgc .tar1{grid-template-rows:auto 1fr}
  #tgc .tar1>.tc,#tgc .tar1>.tp{display:grid;grid-row:span 2;grid-template-rows:subgrid}
  #tgc .tcm{position:relative;min-height:240px}
  #tgc .tcm .tci{position:absolute;inset:0;height:100%}
  #tgc .tc .tk{height:24px;display:flex;align-items:center;margin-bottom:12px}
  #tgc .tc .tcb::after{content:'';display:block;flex:none;height:52px}
  #tgc .tp .chk{flex:1;margin-bottom:24px;align-content:start}
}
#tgc .pl{width:52px;height:52px;border-radius:16px;background:rgba(42,37,34,.30);-webkit-backdrop-filter:blur(12px) saturate(1.5);backdrop-filter:blur(12px) saturate(1.5);border:1px solid rgba(255,255,255,.38);box-shadow:0 10px 24px -12px rgba(42,37,34,.6);color:#fff;transition:background-color .2s,transform .25s var(--ease)}
#tgc .pl svg{width:22px;height:22px;margin-left:2px}
#tgc .tile:hover .pl{background:rgba(42,37,34,.42);transform:translate(-50%,-50%) scale(1.06)}
#tgc .mq{overflow:hidden;display:grid;gap:8px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
#tgc .mr{display:flex;gap:8px;width:max-content;will-change:transform}
#tgc .mr img{flex:none;width:104px;aspect-ratio:3/4;object-fit:cover;border-radius:10px;display:block;background:#3A332E}
#tgc .tp .mq{padding:16px 0 0}
@media (min-width:1024px){
  #tgc .sec.info .in,#tgc .pstrip .in{padding-right:48px}
  #tgc .hb{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:620px}
  #tgc .ht{padding:72px 0 64px 56px;align-self:center}
  #tgc .tiles{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:1023px){
  #tgc .mr img{width:84px}
}

/* ── own header of the course page (Will 28.11: V1, the buy button joins the sticky top bar). Tilda's menus are hidden below. ── */
.t-rec:has(>.t770),.t-rec:has(>.t228),.t-rec:has(>.t282),.t770,.t228,.t282,.t975,.tg-nav,.tg-bb,.t706__carticon{display:none!important}
html body.tg-has-nav{padding-bottom:0!important}
#tgc{padding-top:64px;font-family:var(--sans)}
#tgc a{color:inherit;text-decoration:none}
#tgc .tgc-hdr{position:fixed;left:0;right:0;top:0;z-index:990;display:flex;align-items:center;gap:40px;height:64px;padding:0 max(48px,calc((100vw - 1208px)/2 + 48px));background:#fff;border-bottom:1px solid var(--line);box-sizing:border-box}
#tgc .tgc-logo img{height:36px;width:auto;display:block}
#tgc .tgc-nav{flex:1;display:flex;gap:28px;font-size:14px;color:var(--muted)}#tgc .tgc-nav a:hover{color:var(--head)}
#tgc .tgc-buy{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 20px;border-radius:var(--r);background:var(--btn);color:#fff;font:700 15px/1 var(--sans);white-space:nowrap;cursor:pointer;opacity:0;transform:translateY(-8px);pointer-events:none;transition:opacity .3s ease,transform .4s var(--ease),background-color .2s}
#tgc .tgc-buy svg{width:20px;height:20px}#tgc .tgc-buy:hover{background:var(--btn-h)}
#tgc .tgc-hdr.buy .tgc-buy{opacity:1;transform:none;pointer-events:auto}
#tgc .tgc-cart{all:unset;cursor:pointer;position:relative;color:var(--head);display:grid;place-items:center;width:44px;height:44px}#tgc .tgc-cart svg{width:24px;height:24px}
#tgc .tgc-cart i{position:absolute;right:2px;top:4px;min-width:17px;height:17px;border-radius:9px;background:var(--acc);color:#fff;font:700 11px/17px var(--sans);text-align:center;font-style:normal;padding:0 4px;box-sizing:border-box}#tgc .tgc-cart i:empty{display:none}
#tgc .tgc-lk{border:1px solid var(--ink);border-radius:999px;padding:8px 18px;font-size:14px;color:var(--ink)}
#tgc .tgc-back,#tgc .tgc-burg,#tgc .tgc-menu,#tgc .tgc-pbar{display:none}
@media (max-width:1023px){
  #tgc{padding-top:60px}
  #tgc .tgc-hdr{height:60px;gap:6px;padding:0 6px 0 6px;background:rgba(250,247,242,.94);-webkit-backdrop-filter:blur(18px) saturate(1.7);backdrop-filter:blur(18px) saturate(1.7);border-bottom-color:rgba(232,224,213,.7)}
  #tgc .tgc-nav,#tgc .tgc-lk{display:none}
  #tgc .tgc-back{display:grid;place-items:center;width:44px;height:44px;color:var(--head)}#tgc .tgc-back svg{width:24px;height:24px}
  #tgc .tgc-logo{margin-right:auto}#tgc .tgc-logo img{height:40px;transition:opacity .2s ease}
  /* phone (Will 28.11, chosen over the floating morph plate): no button in the header, one plain buy bar at the bottom */
  #tgc .tgc-buy{display:none}
  #tgc .tgc-pbar{display:flex;align-items:center;justify-content:space-between;gap:12px;position:fixed;left:0;right:0;bottom:0;z-index:980;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));background:rgba(255,253,249,.92);-webkit-backdrop-filter:blur(16px) saturate(1.6);backdrop-filter:blur(16px) saturate(1.6);border-top:1px solid var(--line);box-shadow:0 -8px 24px -14px rgba(61,44,41,.25);transform:translateY(110%);transition:transform .45s var(--ease)}
  #tgc .tgc-pbar.on{transform:none}
  #tgc .pbt{display:grid;gap:2px}#tgc .pbt small{font-size:12px;color:var(--muted)}#tgc .pbt b{font:700 18px/1.1 var(--sans);color:var(--head)}
  #tgc .tgc-pbar .cta{width:132px;height:48px;flex:none}#tgc .tgc-pbar .cta svg{width:20px;height:20px}
  #tgc .tgc-cart svg{width:26px;height:26px}
  #tgc .tgc-burg{all:unset;cursor:pointer;display:grid;place-items:center;width:44px;height:44px}#tgc .tgc-burg span{display:grid;gap:5px;width:24px}#tgc .tgc-burg i{display:block;height:2px;background:var(--head);border-radius:2px}
  #tgc .tgc-menu{position:fixed;left:0;right:0;top:60px;z-index:989;background:#FFFDF9;border-bottom:1px solid var(--line);box-shadow:0 18px 30px -20px rgba(61,44,41,.35);padding:8px 16px 16px;display:grid;opacity:0;transform:translateY(-8px);pointer-events:none;transition:opacity .25s ease,transform .3s var(--ease)}
  #tgc .tgc-menu.on{opacity:1;transform:none;pointer-events:auto}
  #tgc .tgc-menu a{display:flex;align-items:center;min-height:48px;font-size:16px;font-weight:600;color:var(--head);border-bottom:1px solid var(--line)}#tgc .tgc-menu a:last-child{border-bottom:0}
}
/* lessons beyond the first six open with «Все N уроков» */
#tgc .tiles .tile.x{display:none}#tgc .tiles.all .tile.x{display:block}
/* gallery fallback for a course without the turn frames */
#tgc .gph{position:relative;width:560px;aspect-ratio:4/5;border-radius:var(--R);overflow:hidden;background:#EFE6DB;margin:0 auto}#tgc .gph img{width:100%;height:100%;object-fit:cover;display:block}
#tgc .gth{display:flex;gap:8px;justify-content:center;margin-top:14px}#tgc .gth button{all:unset;cursor:pointer;width:56px;height:70px;border-radius:10px;overflow:hidden;opacity:.7}#tgc .gth button.on{opacity:1;outline:2px solid var(--acc);outline-offset:2px}#tgc .gth img{width:100%;height:100%;object-fit:cover;display:block}
#tgc .gbul{list-style:none;margin:32px auto 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 32px;max-width:960px}#tgc .gbul li{display:flex;gap:10px;font-size:15px;line-height:1.5;color:var(--head)}#tgc .gbul svg{width:18px;height:18px;color:var(--acc);flex:none;margin-top:3px}
@media (max-width:1023px){#tgc .gph{width:100%}#tgc .gbul{grid-template-columns:1fr;margin-top:24px}#tgc .gth{justify-content:flex-start;overflow-x:auto}}
