/*
Theme Name: TurningPoint
Theme URI: https://turningpoint.courses
Author: Ayman Kamel — TurningPoint
Author URI: https://turningpoint.courses
Description: ثيم TurningPoint.courses — متجر كورسات PDF عربية بهوية كتب الكورسات (تيل غامق، برتقالي، أصفر، كريمي). يدعم WooCommerce والتسليم الرقمي الفوري. RTL أولاً.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: turningpoint
Tags: rtl-language-support, e-commerce, custom-menu, featured-images, one-column
*/

/* =========================================================
   0) Tokens — matching COURSE_PDF_DESIGN_SYSTEM.md
   ========================================================= */
:root{
  --tp-teal:#2C5F5F; --tp-teal-deep:#1E4444; --tp-teal-ink:#1B3F3F; --tp-teal-soft:#E4EFEC; --tp-teal-mist:#F0F6F4;
  --tp-orange:#FF8C00; --tp-orange-deep:#E07500; --tp-orange-soft:#FFF1E0;
  --tp-yellow:#FFC107; --tp-yellow-soft:#FFF4D1; --tp-gold:#D9A400;
  --tp-cream:#FFF8F0; --tp-cream-2:#FBF1E4; --tp-white:#FFFFFF;
  --tp-ink:#2C3E50; --tp-body:#3C4A57; --tp-muted:#6B7A86; --tp-line:#E9E0D3;
  --tp-success:#1E7F4F; --tp-error:#B3261E;
  --tp-radius:14px; --tp-radius-sm:8px;
  --tp-shadow:0 12px 32px rgba(30,68,68,.12); --tp-shadow-sm:0 4px 14px rgba(30,68,68,.08);
  --tp-font-body:"Cairo",system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;
  --tp-font-display:"Amiri","Cairo",Georgia,serif;
  --tp-max:1180px; --tp-gutter:20px;
}

/* =========================================================
   1) Base
   ========================================================= */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--tp-cream);color:var(--tp-body);font-family:var(--tp-font-body);font-size:17px;line-height:1.9;font-variant-numeric:tabular-nums;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--tp-teal);text-decoration:none}
a:hover{color:var(--tp-orange-deep)}
h1,h2,h3,h4{color:var(--tp-ink);line-height:1.35;margin:0 0 .5em;text-wrap:balance}
h1,h2{font-family:var(--tp-font-display);font-weight:700}
h1{font-size:clamp(2.1rem,4.6vw,3.4rem)}
h2{font-size:clamp(1.7rem,3.2vw,2.4rem)}
h3{font-size:1.25rem;font-weight:700}
p{margin:0 0 1em}
:focus-visible{outline:3px solid var(--tp-orange);outline-offset:2px;border-radius:4px}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.tp-wrap{max-width:var(--tp-max);margin-inline:auto;padding-inline:var(--tp-gutter)}
.tp-section{padding-block:clamp(48px,7vw,88px)}
.tp-section--tight{padding-block:clamp(32px,5vw,56px)}
.tp-section--teal{background:linear-gradient(135deg,var(--tp-teal) 0%,var(--tp-teal-deep) 100%);color:#F1F7F5}
.tp-section--teal h2,.tp-section--teal h3{color:#fff}
.tp-section--mist{background:var(--tp-teal-mist)}
.tp-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;font-weight:700;color:var(--tp-orange-deep);letter-spacing:.02em;margin-bottom:10px}
.tp-eyebrow::before{content:"";width:22px;height:3px;border-radius:2px;background:var(--tp-orange)}
.tp-section--teal .tp-eyebrow{color:var(--tp-yellow)}
.tp-section--teal .tp-eyebrow::before{background:var(--tp-yellow)}
.tp-lede{font-size:1.12rem;color:var(--tp-muted);max-width:62ch}
.tp-section--teal .tp-lede{color:#CFE0DC}
.tp-head{margin-bottom:clamp(24px,4vw,40px)}
.tp-head--center{text-align:center}
.tp-head--center .tp-lede{margin-inline:auto}
.tp-head--center .tp-eyebrow::before{display:none}

/* Buttons */
.tp-btn,.button,button.button,input[type=submit],.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;font-family:var(--tp-font-body);font-weight:800;font-size:1rem;line-height:1.2;
  padding:14px 26px;border-radius:999px;border:2px solid transparent;cursor:pointer;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;white-space:nowrap}
.tp-btn--primary,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt,.single_add_to_cart_button,.checkout-button,#place_order{
  background:var(--tp-orange)!important;color:#1A1A1A!important;box-shadow:0 8px 20px rgba(255,140,0,.28)}
.tp-btn--primary:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.single_add_to_cart_button:hover,#place_order:hover{background:var(--tp-orange-deep)!important;transform:translateY(-2px);color:#fff!important}
.tp-btn--ghost{background:transparent;color:var(--tp-teal);border-color:var(--tp-teal)}
.tp-btn--ghost:hover{background:var(--tp-teal);color:#fff}
.tp-btn--light{background:#fff;color:var(--tp-teal-deep)}
.tp-btn--light:hover{background:var(--tp-yellow);color:var(--tp-teal-deep)}
.tp-btn--sm{padding:10px 18px;font-size:.92rem}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--tp-teal);color:#fff}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--tp-teal-deep);color:#fff}

/* =========================================================
   2) Header
   ========================================================= */
.tp-header{position:sticky;top:0;z-index:50;background:rgba(255,248,240,.92);backdrop-filter:saturate(1.3) blur(10px);border-bottom:1px solid var(--tp-line)}
.tp-header__in{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px}
.tp-logo{display:inline-flex;align-items:center;gap:10px;font-family:var(--tp-font-display);font-weight:700;font-size:1.45rem;color:var(--tp-teal-deep);line-height:1}
.tp-logo__mark{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--tp-teal),var(--tp-teal-deep));display:grid;place-items:center;color:var(--tp-yellow);font-family:var(--tp-font-body);font-weight:800;font-size:1rem;box-shadow:inset 0 0 0 2px var(--tp-yellow)}
.tp-logo small{display:block;font-family:var(--tp-font-body);font-size:.72rem;font-weight:600;color:var(--tp-muted);letter-spacing:.06em;margin-top:2px}
.tp-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px}
.tp-nav a{display:block;padding:10px 14px;border-radius:999px;font-weight:700;color:var(--tp-ink);font-size:.98rem}
.tp-nav a:hover,.tp-nav .current-menu-item>a,.tp-nav .current_page_item>a{background:var(--tp-teal-soft);color:var(--tp-teal-deep)}
.tp-header__actions{display:flex;align-items:center;gap:10px}
.tp-cart{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--tp-teal-soft);color:var(--tp-teal-deep)}
.tp-cart svg{width:22px;height:22px}
.tp-cart__count{position:absolute;top:-4px;inset-inline-end:-4px;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--tp-orange);color:#1a1a1a;font-size:.72rem;font-weight:800;display:grid;place-items:center}
.tp-burger{display:none;width:44px;height:44px;border:0;border-radius:50%;background:var(--tp-teal-soft);color:var(--tp-teal-deep);cursor:pointer;place-items:center}
.tp-burger svg{width:22px;height:22px}
@media (max-width:900px){
  .tp-nav{position:fixed;inset:76px 0 auto 0;background:var(--tp-cream);border-bottom:1px solid var(--tp-line);padding:12px 20px 20px;transform:translateY(-12px);opacity:0;pointer-events:none;transition:.2s;box-shadow:var(--tp-shadow)}
  .tp-nav.is-open{transform:none;opacity:1;pointer-events:auto}
  .tp-nav ul{flex-direction:column;gap:2px}
  .tp-nav a{padding:12px 14px;font-size:1.05rem}
  .tp-burger{display:grid}
  .tp-header__cta{display:none}
}

/* =========================================================
   3) Hero
   ========================================================= */
.tp-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--tp-teal) 0%,var(--tp-teal-deep) 100%);color:#F1F7F5;padding-block:clamp(56px,8vw,104px)}
.tp-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 80% at 15% 20%,rgba(255,193,7,.16),transparent 60%),radial-gradient(40% 60% at 90% 90%,rgba(255,140,0,.14),transparent 60%);pointer-events:none}
.tp-hero__in{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.tp-hero .tp-eyebrow{color:var(--tp-yellow)}
.tp-hero .tp-eyebrow::before{background:var(--tp-yellow)}
.tp-hero h1{color:#fff;font-size:clamp(2.3rem,5.2vw,4rem);margin-bottom:.4em}
.tp-hero h1 em{font-style:normal;color:var(--tp-yellow)}
.tp-hero__lede{font-size:1.15rem;color:#D3E3DF;max-width:58ch;margin-bottom:26px}
.tp-hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:26px}
.tp-hero__trust{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:.9rem;color:#CFE0DC;margin:0;padding:0;list-style:none}
.tp-hero__trust li{display:inline-flex;align-items:center;gap:6px}
.tp-hero__trust li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--tp-yellow)}
.tp-hero__visual{position:relative;min-height:380px;display:grid;place-items:center}
.tp-stack{position:relative;width:min(100%,380px);aspect-ratio:1/1.05}
.tp-stack .tp-cover{position:absolute;width:56%;inset-inline-start:22%;top:6%;transform:rotate(0deg);box-shadow:0 30px 60px rgba(0,0,0,.35);transition:transform .3s}
.tp-stack .tp-cover:nth-child(1){transform:rotate(-9deg) translateX(-38%) translateY(8%);z-index:1;opacity:.92}
.tp-stack .tp-cover:nth-child(3){transform:rotate(9deg) translateX(38%) translateY(8%);z-index:1;opacity:.92}
.tp-stack .tp-cover:nth-child(2){z-index:2;transform:translateY(-2%)}
.tp-stack:hover .tp-cover:nth-child(1){transform:rotate(-13deg) translateX(-46%) translateY(6%)}
.tp-stack:hover .tp-cover:nth-child(3){transform:rotate(13deg) translateX(46%) translateY(6%)}
.tp-stack__badge{position:absolute;bottom:2%;inset-inline-start:0;background:var(--tp-yellow);color:var(--tp-teal-deep);font-weight:800;padding:10px 16px;border-radius:999px;box-shadow:var(--tp-shadow);z-index:3;font-size:.95rem}
.tp-stack__badge b{font-size:1.25rem;margin-inline-end:4px}
@media (max-width:900px){
  .tp-hero__in{grid-template-columns:1fr;gap:28px}
  .tp-hero__visual{min-height:300px;order:-1}
  .tp-stack{width:min(80%,300px)}
}

/* Course cover (CSS-drawn, mirrors the PDF cover) */
.tp-cover{position:relative;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:linear-gradient(160deg,var(--tp-teal) 0%,var(--tp-teal-deep) 100%);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:8% 8% 7%;box-shadow:var(--tp-shadow)}
.tp-cover::before{content:"";position:absolute;inset:5%;border:1.5px solid rgba(255,193,7,.55);border-radius:6px;pointer-events:none}
.tp-cover::after{content:"";position:absolute;inset:0;background:radial-gradient(50% 40% at 80% 10%,rgba(255,193,7,.18),transparent 70%);pointer-events:none}
.tp-cover__brand{font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--tp-yellow);font-weight:700;position:relative}
.tp-cover__title{font-family:var(--tp-font-display);font-weight:700;font-size:clamp(1rem,2.2vw,1.45rem);line-height:1.3;color:#fff;position:relative;margin:auto 0 .4em}
.tp-cover__sub{font-size:.72rem;color:var(--tp-yellow);font-weight:600;position:relative;line-height:1.5}
.tp-cover__author{font-size:.66rem;color:#CFE0DC;position:relative;border-top:1px solid rgba(255,255,255,.18);padding-top:8px;margin-top:10px}
.tp-cover__icon{position:absolute;top:8%;inset-inline-end:8%;width:16%;aspect-ratio:1;border-radius:50%;background:var(--tp-yellow);display:grid;place-items:center;font-size:1rem;color:var(--tp-teal-deep)}
.tp-cover--img{padding:0;background:none}
.tp-cover--img::before,.tp-cover--img::after{display:none}
.tp-cover--img img{width:100%;height:100%;object-fit:cover}

/* =========================================================
   4) Trust bar / stats
   ========================================================= */
.tp-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:-36px;position:relative;z-index:2}
.tp-stat{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius);padding:18px 20px;display:flex;align-items:center;gap:14px;box-shadow:var(--tp-shadow-sm)}
.tp-stat__ic{width:46px;height:46px;border-radius:12px;background:var(--tp-orange-soft);color:var(--tp-orange-deep);display:grid;place-items:center;flex:none}
.tp-stat__ic svg{width:24px;height:24px}
.tp-stat b{display:block;color:var(--tp-ink);font-size:1.05rem;line-height:1.3}
.tp-stat span{font-size:.86rem;color:var(--tp-muted)}
@media (max-width:900px){.tp-stats{grid-template-columns:1fr 1fr;margin-top:-20px}}
@media (max-width:520px){.tp-stats{grid-template-columns:1fr}}

/* =========================================================
   5) Course cards / grid
   ========================================================= */
.tp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media (max-width:1000px){.tp-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.tp-grid{grid-template-columns:1fr}}
.tp-card{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;position:relative}
.tp-card:hover{transform:translateY(-4px);box-shadow:var(--tp-shadow)}
.tp-card__media{padding:22px 22px 0;background:var(--tp-teal-mist)}
.tp-card__media .tp-cover{width:62%;margin-inline:auto;margin-bottom:-14px;box-shadow:0 18px 30px rgba(30,68,68,.25)}
.tp-card__body{padding:26px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.tp-chip{display:inline-flex;align-items:center;gap:6px;font-size:.76rem;font-weight:700;padding:3px 10px;border-radius:999px;background:var(--tp-teal-soft);color:var(--tp-teal-deep);width:max-content}
.tp-chip--orange{background:var(--tp-orange-soft);color:var(--tp-orange-deep)}
.tp-chip--yellow{background:var(--tp-yellow-soft);color:#7A5B00}
.tp-card h3{font-family:var(--tp-font-display);font-size:1.35rem;margin:2px 0 0}
.tp-card h3 a{color:var(--tp-ink)}
.tp-card h3 a:hover{color:var(--tp-teal)}
.tp-card__tag{color:var(--tp-muted);font-size:.95rem;margin:0}
.tp-card__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:14px;border-top:1px dashed var(--tp-line)}
.tp-price{display:flex;align-items:baseline;gap:8px;font-weight:800;color:var(--tp-teal-deep);font-size:1.25rem}
.tp-price del{color:var(--tp-muted);font-weight:600;font-size:.9rem}
.tp-price ins{text-decoration:none}
.tp-card .onsale{position:absolute;top:14px;inset-inline-start:14px;z-index:2;background:var(--tp-orange);color:#1a1a1a;font-weight:800;font-size:.78rem;padding:4px 10px;border-radius:999px}
.tp-card__ribbon{position:absolute;top:14px;inset-inline-end:14px;z-index:2;background:var(--tp-yellow);color:var(--tp-teal-deep);font-weight:800;font-size:.76rem;padding:4px 10px;border-radius:999px}

/* =========================================================
   6) How it works / steps
   ========================================================= */
.tp-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:tp}
@media (max-width:800px){.tp-steps{grid-template-columns:1fr}}
.tp-step{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius);padding:26px 24px;position:relative}
.tp-step::before{counter-increment:tp;content:counter(tp,arabic-indic);position:absolute;top:-16px;inset-inline-start:22px;width:40px;height:40px;border-radius:50%;background:var(--tp-yellow);color:var(--tp-teal-deep);font-weight:800;display:grid;place-items:center;font-size:1.05rem;box-shadow:var(--tp-shadow-sm)}
.tp-step h3{margin-top:8px}
.tp-step p{margin:0;color:var(--tp-muted)}

/* =========================================================
   7) About teaser / author
   ========================================================= */
.tp-about{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:center}
@media (max-width:860px){.tp-about{grid-template-columns:1fr;gap:24px}}
.tp-avatar{width:min(100%,320px);aspect-ratio:1;border-radius:50%;overflow:hidden;border:6px solid var(--tp-yellow);box-shadow:var(--tp-shadow);margin-inline:auto;background:var(--tp-teal-soft);display:grid;place-items:center;color:var(--tp-teal)}
.tp-avatar img{width:100%;height:100%;object-fit:cover}
.tp-avatar svg{width:45%;height:45%;opacity:.6}
.tp-about__quote{font-family:var(--tp-font-display);font-size:1.35rem;color:var(--tp-teal-deep);border-inline-start:4px solid var(--tp-orange);padding-inline-start:18px;margin:18px 0}
.tp-creds{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 20px}
.tp-creds li{background:#fff;border:1px solid var(--tp-line);border-radius:999px;padding:6px 14px;font-size:.88rem;font-weight:700;color:var(--tp-teal-deep)}

/* =========================================================
   8) Testimonials
   ========================================================= */
.tp-testis{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media (max-width:900px){.tp-testis{grid-template-columns:1fr}}
.tp-testi{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:var(--tp-radius);padding:26px 24px;position:relative}
.tp-testi::before{content:"\201D";position:absolute;top:6px;inset-inline-end:18px;font-family:var(--tp-font-display);font-size:4rem;color:var(--tp-yellow);opacity:.55;line-height:1}
.tp-testi p{font-family:var(--tp-font-display);font-size:1.15rem;color:#fff;margin:0 0 14px}
.tp-testi cite{font-style:normal;font-size:.9rem;color:var(--tp-yellow);font-weight:700}
.tp-testi cite span{display:block;color:#CFE0DC;font-weight:500;font-size:.82rem}

/* =========================================================
   9) FAQ accordion
   ========================================================= */
.tp-faq{max-width:820px;margin-inline:auto}
.tp-faq details{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius-sm);margin-bottom:10px;overflow:hidden}
.tp-faq summary{cursor:pointer;list-style:none;padding:16px 20px;font-weight:800;color:var(--tp-ink);display:flex;justify-content:space-between;align-items:center;gap:12px}
.tp-faq summary::-webkit-details-marker{display:none}
.tp-faq summary::after{content:"+";width:28px;height:28px;border-radius:50%;background:var(--tp-teal-soft);color:var(--tp-teal-deep);display:grid;place-items:center;font-weight:800;flex:none;transition:.2s}
.tp-faq details[open] summary::after{content:"−";background:var(--tp-orange);color:#1a1a1a}
.tp-faq .tp-faq__a{padding:0 20px 18px;color:var(--tp-body)}
.tp-faq .tp-faq__a p:last-child{margin:0}

/* =========================================================
   10) CTA band + footer
   ========================================================= */
.tp-cta{background:linear-gradient(135deg,var(--tp-orange) 0%,#FFB347 100%);color:#1a1a1a;border-radius:var(--tp-radius);padding:clamp(28px,5vw,48px);display:grid;grid-template-columns:1.4fr .6fr;gap:20px;align-items:center;box-shadow:var(--tp-shadow)}
.tp-cta h2{color:#1a1a1a;margin-bottom:.3em}
.tp-cta p{margin:0;color:#3a2a10}
.tp-cta .tp-btn{justify-self:end}
@media (max-width:760px){.tp-cta{grid-template-columns:1fr}.tp-cta .tp-btn{justify-self:start}}
.tp-footer{background:var(--tp-teal-deep);color:#CFE0DC;margin-top:clamp(40px,6vw,72px);padding-block:56px 28px}
.tp-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.12)}
@media (max-width:900px){.tp-footer__grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.tp-footer__grid{grid-template-columns:1fr}}
.tp-footer h4{color:#fff;font-size:1rem;margin-bottom:12px}
.tp-footer ul{list-style:none;margin:0;padding:0}
.tp-footer li{margin-bottom:8px}
.tp-footer a{color:#CFE0DC}
.tp-footer a:hover{color:var(--tp-yellow)}
.tp-footer .tp-logo{color:#fff}
.tp-footer .tp-logo small{color:#9DB8B2}
.tp-social{display:flex;gap:10px;margin-top:14px}
.tp-social a{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.1);display:grid;place-items:center;color:#fff}
.tp-social a:hover{background:var(--tp-yellow);color:var(--tp-teal-deep)}
.tp-social svg{width:18px;height:18px}
.tp-pay{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.tp-pay span{font-size:.74rem;font-weight:700;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.1);color:#fff}
.tp-footer__bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding-top:20px;font-size:.84rem;color:#9DB8B2}
.tp-footer__bottom .tp-disclaimer{max-width:60ch}

/* =========================================================
   11) Page hero (inner pages) + content
   ========================================================= */
.tp-pagehero{background:linear-gradient(135deg,var(--tp-teal) 0%,var(--tp-teal-deep) 100%);color:#fff;padding-block:clamp(40px,6vw,64px)}
.tp-pagehero h1{color:#fff;margin-bottom:.2em}
.tp-pagehero p{color:#CFE0DC;max-width:62ch;margin:0}
.tp-content{max-width:800px;margin-inline:auto;font-size:1.08rem}
.tp-content h2{margin-top:1.6em}
.tp-content h3{margin-top:1.4em;color:var(--tp-teal-deep)}
.tp-content ul,.tp-content ol{padding-inline-start:1.4em}
.tp-content li{margin-bottom:.4em}
.tp-content blockquote{margin:1.4em 0;padding:16px 22px;background:var(--tp-orange-soft);border-inline-start:4px solid var(--tp-orange);border-radius:var(--tp-radius-sm);font-family:var(--tp-font-display);font-size:1.2rem;color:var(--tp-teal-deep)}
.tp-content img{border-radius:var(--tp-radius)}
.wp-block-image{margin:1.4em 0}

/* =========================================================
   12) WooCommerce — catalog
   ========================================================= */
.woocommerce .woocommerce-breadcrumb{display:none}
.woocommerce-result-count,.woocommerce-ordering{display:none}
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{border-top-color:var(--tp-teal);background:#fff;border-radius:var(--tp-radius-sm);box-shadow:var(--tp-shadow-sm)}
.woocommerce .woocommerce-message::before{color:var(--tp-success)}
.woocommerce .woocommerce-error{border-top-color:var(--tp-error)}
.woocommerce .woocommerce-message .button{margin-inline-start:12px}
.tp-catalog-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.tp-catalog-filters a{padding:8px 16px;border-radius:999px;background:#fff;border:1px solid var(--tp-line);font-weight:700;font-size:.92rem;color:var(--tp-ink)}
.tp-catalog-filters a.is-active,.tp-catalog-filters a:hover{background:var(--tp-teal);color:#fff;border-color:var(--tp-teal)}
.woocommerce-pagination{margin-top:36px;text-align:center}
.woocommerce nav.woocommerce-pagination ul{border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0 3px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border-radius:50%;width:40px;height:40px;display:grid;place-items:center;font-weight:700}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--tp-teal);color:#fff}

/* =========================================================
   13) WooCommerce — single course
   ========================================================= */
.tp-course-hero{background:linear-gradient(135deg,var(--tp-teal) 0%,var(--tp-teal-deep) 100%);color:#F1F7F5;padding-block:clamp(40px,6vw,72px)}
.tp-course-hero__in{display:grid;grid-template-columns:.42fr .58fr;gap:40px;align-items:center}
@media (max-width:860px){.tp-course-hero__in{grid-template-columns:1fr;gap:24px}}
.tp-course-hero .tp-cover{width:min(100%,340px);margin-inline:auto;box-shadow:0 30px 60px rgba(0,0,0,.35)}
.tp-course-hero .tp-eyebrow{color:var(--tp-yellow)}
.tp-course-hero .tp-eyebrow::before{background:var(--tp-yellow)}
.tp-course-hero h1{color:#fff;font-size:clamp(2rem,4.4vw,3.2rem)}
.tp-course-hero__tag{font-size:1.15rem;color:#D3E3DF;max-width:56ch}
.tp-course-hero .price{display:flex;align-items:baseline;gap:10px;font-size:2rem;font-weight:800;color:#fff;margin:14px 0 6px}
.tp-course-hero .price del{color:#9DB8B2;font-size:1.2rem;font-weight:600}
.tp-course-hero .price ins{text-decoration:none;color:var(--tp-yellow)}
.tp-course-hero .price .woocommerce-Price-currencySymbol{font-size:.7em}
.tp-course-hero form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0 10px}
.tp-course-hero form.cart .quantity{display:none}
.tp-course-hero .single_add_to_cart_button{font-size:1.1rem;padding:16px 34px}
.tp-course-hero__meta{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;margin:0 0 6px;padding:0;font-size:.92rem;color:#CFE0DC}
.tp-course-hero__meta li{display:inline-flex;align-items:center;gap:6px}
.tp-course-hero__meta li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--tp-yellow)}
.tp-course-hero__guarantee{font-size:.9rem;color:#CFE0DC;margin:0}
.tp-course-body{display:grid;grid-template-columns:1.25fr .75fr;gap:40px;align-items:start;padding-block:clamp(40px,6vw,64px)}
@media (max-width:900px){.tp-course-body{grid-template-columns:1fr}}
.tp-course-main>section{margin-bottom:clamp(32px,5vw,48px)}
.tp-course-main h2{font-size:1.75rem;margin-bottom:.6em}
.tp-fit{display:grid;gap:10px;list-style:none;padding:0;margin:0}
.tp-fit li{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius-sm);padding:12px 16px;display:flex;gap:12px;align-items:flex-start}
.tp-fit li::before{content:"✓";flex:none;width:26px;height:26px;border-radius:50%;background:var(--tp-teal-soft);color:var(--tp-teal-deep);display:grid;place-items:center;font-weight:800;font-size:.9rem;margin-top:3px}
.tp-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:10px;list-style:none;padding:0;margin:0}
@media (max-width:600px){.tp-outcomes{grid-template-columns:1fr}}
.tp-outcomes li{background:var(--tp-orange-soft);border-radius:var(--tp-radius-sm);padding:12px 16px;font-weight:600;color:var(--tp-ink);display:flex;gap:10px}
.tp-outcomes li::before{content:"◆";color:var(--tp-orange);flex:none}
.tp-chapters{list-style:none;padding:0;margin:0;counter-reset:ch}
.tp-chapters li{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;padding:12px 0;border-bottom:1px dashed var(--tp-line)}
.tp-chapters li::before{counter-increment:ch;content:counter(ch,arabic-indic);width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--tp-teal),var(--tp-teal-deep));color:var(--tp-yellow);display:grid;place-items:center;font-weight:800}
.tp-course-desc{font-size:1.08rem}
.tp-course-side{position:sticky;top:96px;display:grid;gap:16px}
.tp-box{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius);padding:22px}
.tp-box h3{margin-bottom:10px}
.tp-box ul{list-style:none;padding:0;margin:0}
.tp-box li{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px dashed var(--tp-line);font-size:.95rem}
.tp-box li:last-child{border:0}
.tp-box li svg{width:20px;height:20px;flex:none;color:var(--tp-teal);margin-top:4px}
.tp-box--author{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:center}
.tp-box--author .tp-avatar{width:72px;border-width:3px;margin:0}
.tp-box--author b{display:block;color:var(--tp-ink)}
.tp-box--author span{font-size:.88rem;color:var(--tp-muted)}
.tp-buybar{position:fixed;bottom:0;inset-inline:0;z-index:60;background:#fff;border-top:1px solid var(--tp-line);box-shadow:0 -8px 24px rgba(30,68,68,.12);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));display:none;align-items:center;justify-content:space-between;gap:12px;transform:translateY(110%);transition:.25s}
.tp-buybar.is-visible{transform:none}
.tp-buybar__price{font-weight:800;color:var(--tp-teal-deep);font-size:1.15rem;line-height:1.2}
.tp-buybar__price small{display:block;font-weight:600;color:var(--tp-muted);font-size:.78rem}
@media (max-width:860px){.tp-buybar{display:flex}}
.tp-related{padding-block:clamp(32px,5vw,56px)}

/* =========================================================
   14) WooCommerce — cart / checkout / account
   ========================================================= */
.tp-shop-page{padding-block:clamp(32px,5vw,56px)}
.woocommerce table.shop_table{border:1px solid var(--tp-line);border-radius:var(--tp-radius);background:#fff;border-collapse:separate}
.woocommerce table.shop_table th{background:var(--tp-teal-mist);color:var(--tp-ink)}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--tp-line)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{font:inherit;padding:12px 14px;border:1px solid var(--tp-line);border-radius:var(--tp-radius-sm);background:#fff;min-height:48px;color:var(--tp-ink)}
.woocommerce form .form-row input.input-text:focus{border-color:var(--tp-teal);outline:none;box-shadow:0 0 0 3px var(--tp-teal-soft)}
.woocommerce form .form-row label{font-weight:700;color:var(--tp-ink)}
.woocommerce-checkout #payment{background:var(--tp-teal-mist);border-radius:var(--tp-radius)}
.woocommerce-checkout #payment div.payment_box{background:#fff}
.woocommerce-checkout #payment ul.payment_methods{border-bottom-color:var(--tp-line)}
#place_order{width:100%;font-size:1.15rem;padding:18px}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-page .cart-collaterals .cart_totals{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius);padding:20px}
.woocommerce .cart-collaterals .cart_totals table{border:0}
.woocommerce a.remove{color:var(--tp-error)!important}
.woocommerce-cart .tp-checkout-trust,.woocommerce-checkout .tp-checkout-trust{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:14px 18px;margin:0 0 24px;background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius-sm);font-size:.9rem;color:var(--tp-muted)}
.tp-checkout-trust li::before{content:"✓ ";color:var(--tp-success);font-weight:800}
.woocommerce-order .woocommerce-thankyou-order-received{font-family:var(--tp-font-display);font-size:1.6rem;color:var(--tp-teal-deep);background:var(--tp-yellow-soft);padding:20px 24px;border-radius:var(--tp-radius)}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;border-radius:var(--tp-radius-sm);background:#fff;border:1px solid var(--tp-line);font-weight:700;color:var(--tp-ink)}
.woocommerce-MyAccount-navigation .is-active a{background:var(--tp-teal);color:#fff;border-color:var(--tp-teal)}
.woocommerce-account .woocommerce-MyAccount-content{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius);padding:24px}
.woocommerce table.shop_table td.download-file .button{background:var(--tp-orange);color:#1a1a1a}

/* =========================================================
   15) Blog fallbacks, 404, utilities
   ========================================================= */
.tp-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media (max-width:900px){.tp-posts{grid-template-columns:1fr}}
.tp-post{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius);overflow:hidden}
.tp-post__body{padding:20px}
.tp-post h3{font-family:var(--tp-font-display);font-size:1.3rem}
.tp-404{text-align:center;padding-block:80px}
.tp-404 h1{font-size:5rem;color:var(--tp-teal);margin:0}
.tp-reveal{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
  .js .tp-reveal{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease}
  .js .tp-reveal.is-in{opacity:1;transform:none}
}
.tp-whatsapp{position:fixed;bottom:22px;inset-inline-start:22px;z-index:55;width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 10px 24px rgba(37,211,102,.35)}
.tp-whatsapp svg{width:30px;height:30px}
.tp-whatsapp:hover{color:#fff;transform:scale(1.06)}
@media (max-width:860px){.single-product .tp-whatsapp{bottom:86px}}
.admin-bar .tp-header{top:32px}
@media (max-width:782px){.admin-bar .tp-header{top:46px}}
