/* =====================================================================
   Tutor HuyHoang — Tutor LMS skin (courses, single, cart, checkout…)
   ===================================================================== */

/* ---------- Tutor global components ---------- */
body.th-theme .tutor-btn{font-family:var(--th-font);border-radius:var(--th-r-pill);font-weight:600;transition:transform .2s var(--th-ease),box-shadow .2s,background .2s,color .2s}
body.th-theme .tutor-btn:hover{transform:translateY(-1px)}
body.th-theme .tutor-btn-primary{background:var(--th-primary-700);border-color:var(--th-primary-700);box-shadow:0 8px 22px -10px rgba(59,51,160,.6)}
body.th-theme .tutor-btn-primary:hover{background:var(--th-primary-800);border-color:var(--th-primary-800)}
body.th-theme .tutor-btn-outline-primary{color:var(--th-primary-700);border-color:var(--th-primary-200);background:transparent}
body.th-theme .tutor-btn-outline-primary:hover{background:var(--th-primary-50);border-color:var(--th-primary-700);color:var(--th-primary-700)}
body.th-theme .tutor-btn-lg{padding:14px 26px;font-size:1rem}
body.th-theme .tutor-form-control,body.th-theme .tutor-input{font-family:var(--th-font);border-radius:var(--th-r-sm);border:1.5px solid var(--th-border-2);min-height:48px;padding:10px 14px;background:#fff}
body.th-theme .tutor-form-control:focus,body.th-theme .tutor-input:focus{border-color:var(--th-primary-600);box-shadow:0 0 0 4px var(--th-primary-100)}
body.th-theme .tutor-form-label{font-weight:600;color:var(--th-ink);font-size:.88rem}
body.th-theme .tutor-card{border-radius:var(--th-r-lg);border-color:var(--th-border)}
body.th-theme .tutor-modal-window{border-radius:var(--th-r-xl)}
body.th-theme .tutor-modal-content{border-radius:var(--th-r-xl)}
body.th-theme .tutor-toast-wrap,body.th-theme .tutor-notification{font-family:var(--th-font)}
body.th-theme .tutor-alert{border-radius:var(--th-r)}
body.th-theme .tutor-color-primary,body.th-theme a.tutor-color-primary{color:var(--th-primary-700)}
body.th-theme .tutor-ratings-stars .tutor-icon-star-bold,body.th-theme .tutor-ratings-stars i{color:var(--th-gold)}
body.th-theme .tutor-icon-bookmark-bold{color:var(--th-gold)}
body.th-theme .tutor-login-modal .tutor-modal-content{padding:8px}
body.th-theme .tutor-login-modal .tutor-fs-4{font-family:var(--th-font-display);font-weight:600}

/* Tutor nav tabs */
body.th-theme .tutor-nav{display:flex;gap:4px;background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-pill);padding:6px;list-style:none;margin:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
body.th-theme .tutor-nav::-webkit-scrollbar{display:none}
body.th-theme .tutor-nav .tutor-nav-item{list-style:none}
body.th-theme .tutor-nav .tutor-nav-link{display:inline-flex;align-items:center;padding:10px 20px;border-radius:var(--th-r-pill);font-weight:600;color:var(--th-muted);border:0;background:transparent;white-space:nowrap;transition:all .2s}
body.th-theme .tutor-nav .tutor-nav-link:hover{color:var(--th-ink);background:var(--th-surface-2)}
body.th-theme .tutor-nav .tutor-nav-link.is-active{background:var(--th-ink);color:#fff}
body.th-theme .tutor-nav .tutor-nav-link.is-active::after{display:none}
body.th-theme .tutor-is-sticky{top:calc(var(--th-header-h) + 12px)!important;z-index:20}

/* Tutor accordion (course content) */
body.th-theme .tutor-accordion{display:flex;flex-direction:column;gap:10px}
body.th-theme .tutor-accordion-item{border:1px solid var(--th-border);border-radius:var(--th-r);background:var(--th-surface);overflow:hidden}
body.th-theme .tutor-accordion-item-header{padding:18px 20px;font-weight:700;color:var(--th-ink);background:var(--th-surface);border:0;font-size:1rem;font-family:var(--th-font)}
body.th-theme .tutor-accordion-item-header.is-active{background:var(--th-primary-50)}
body.th-theme .tutor-accordion-item-header::after{color:var(--th-primary-700)}
body.th-theme .tutor-accordion-item-body{border-top:1px solid var(--th-border)}
body.th-theme .tutor-accordion-item-body-content{padding:6px 10px}
body.th-theme .tutor-course-content-list-item{padding:12px 12px;border-radius:12px;border:0!important}
body.th-theme .tutor-course-content-list-item:hover{background:var(--th-surface-2)}
body.th-theme .tutor-course-content-list-item-title{font-weight:500;font-size:.95rem;color:var(--th-ink)}
body.th-theme .tutor-course-content-list-item-icon{color:var(--th-primary-700)}
body.th-theme .tutor-course-content-list-item-status{color:var(--th-muted-2)}

/* =====================================================================
   COURSE CARD
   ===================================================================== */
.th-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:1000px){.th-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.th-course-grid{grid-template-columns:1fr}}
body.th-theme .tutor-course-list.tutor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:1000px){body.th-theme .tutor-course-list.tutor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){body.th-theme .tutor-course-list.tutor-grid{grid-template-columns:1fr}}

.th-course-card{position:relative;display:flex;flex-direction:column;background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-lg);overflow:hidden;transition:transform .35s var(--th-ease),box-shadow .35s,border-color .35s;height:100%}
.th-course-card:hover{transform:translateY(-6px);box-shadow:var(--th-shadow-lg);border-color:transparent}
.th-course-card-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--th-primary-900)}
.th-course-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--th-ease)}
.th-course-card:hover .th-course-card-media img{transform:scale(1.06)}
.th-course-card-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 50%,rgba(20,18,31,.55));opacity:0;transition:opacity .3s;pointer-events:none}
.th-course-card:hover .th-course-card-media::after{opacity:1}
.th-course-card-level{position:absolute;left:14px;top:14px;z-index:2;backdrop-filter:blur(6px);background:rgba(20,18,31,.7);color:#fff}
.th-course-card-sale{position:absolute;left:14px;bottom:14px;z-index:2}
.th-course-card-wish{position:absolute;right:12px;top:12px;z-index:3}
.th-course-card-wish a,.th-course-card-wish .tutor-iconic-btn{display:inline-flex!important;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%!important;background:rgba(255,255,255,.92)!important;color:var(--th-ink)!important;border:0!important;box-shadow:var(--th-shadow-sm);transition:transform .2s,background .2s}
.th-course-card-wish a:hover{transform:scale(1.08);background:#fff!important}
.th-course-card-wish i{font-size:16px}
.th-course-card-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.8);width:58px;height:58px;border-radius:50%;background:rgba(255,255,255,.95);color:var(--th-primary-700);display:flex;align-items:center;justify-content:center;opacity:0;transition:all .3s var(--th-ease);z-index:2;box-shadow:var(--th-shadow-lg);pointer-events:none}
.th-course-card:hover .th-course-card-play{opacity:1;transform:translate(-50%,-50%) scale(1)}
.th-course-card-body{padding:20px 20px 12px;display:flex;flex-direction:column;gap:10px;flex:1}
.th-course-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.82rem;color:var(--th-muted)}
.th-course-card-rating{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--th-ink)}
.th-course-card-rating .th-stars{color:var(--th-gold)}
.th-course-card-rating small{font-weight:500;color:var(--th-muted)}
.th-course-card-cat{color:var(--th-primary-700);font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:.72rem}
.th-course-card-title{font-size:1.12rem;line-height:1.35;margin:0;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.th-course-card-title a{color:var(--th-ink)}
.th-course-card-title a:hover{color:var(--th-primary-700)}
.th-course-card-excerpt{color:var(--th-muted);font-size:.92rem;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.th-course-card-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.82rem;color:var(--th-muted);margin-top:auto;padding-top:6px}
.th-course-card-meta span{display:inline-flex;align-items:center;gap:6px}
.th-course-card-meta .th-icon{color:var(--th-primary-500)}
.th-course-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px dashed var(--th-border)}
.th-course-card-author{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;color:var(--th-muted);min-width:0}
.th-course-card-author img,.th-course-card-author .tutor-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:none;font-size:.7rem}
.th-course-card-author a{color:var(--th-ink);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.th-course-card-price{text-align:right;white-space:nowrap}
.th-course-card-price .th-price{font-size:1.1rem}
.th-course-card-action{padding:0 20px 20px}
.th-course-card-action .tutor-btn,.th-course-card-action .list-item-button,.th-course-card-action .tutor-course-list-btn{width:100%}
.th-course-card-action .tutor-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;gap:8px;min-height:46px}
.th-course-card-action .tutor-course-booking-progress,.th-course-card-action .list-item-price,.th-course-card-action .tutor-course-price{display:none!important}
.th-course-card-action>.tutor-d-flex{display:block!important}
.th-course-card-action .tutor-course-booking-availability{margin-top:0!important}
.th-course-card .tutor-course-progress{padding:0 20px 16px}
.th-course-card .tutor-progress-bar{background:var(--th-surface-2);border-radius:99px;height:8px}
.th-course-card .tutor-progress-value{background:linear-gradient(90deg,var(--th-primary-600),var(--th-gold));border-radius:99px}

/* =====================================================================
   COURSE ARCHIVE
   ===================================================================== */
.th-archive-hero{padding-bottom:0}
.th-archive-hero .th-container{position:relative;z-index:1}
.th-archive-hero-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:end;padding-bottom:40px}
.th-archive-hero-count{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);color:#fff;padding:8px 14px;border-radius:var(--th-r-pill);font-weight:600;font-size:.9rem}
.th-archive-hero-count strong{color:var(--th-gold)}
.th-archive-hero-art{display:flex;justify-content:flex-end}
.th-archive-hero-art .th-piano{width:360px;transform:rotate(-4deg)}
@media (max-width:900px){.th-archive-hero-inner{grid-template-columns:1fr}.th-archive-hero-art{display:none}}
.th-filterbar{position:relative;z-index:5;margin-top:-34px;background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-lg);box-shadow:var(--th-shadow);padding:14px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.th-filterbar .th-search-form{flex:1 1 320px;border-radius:var(--th-r-sm);padding:4px 4px 4px 14px;background:var(--th-surface-2);border-color:transparent}
.th-filterbar .th-search-form input{min-height:40px}
.th-chips{display:flex;gap:8px;flex-wrap:wrap}
.th-chip{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:var(--th-r-pill);border:1.5px solid var(--th-border);background:#fff;font-weight:600;font-size:.86rem;color:var(--th-ink);cursor:pointer;transition:all .2s}
.th-chip:hover{border-color:var(--th-primary-700);color:var(--th-primary-700)}
.th-chip.is-active{background:var(--th-ink);color:#fff;border-color:var(--th-ink)}
.th-filterbar-sort{margin-left:auto;display:inline-flex;align-items:center;gap:8px;color:var(--th-muted);font-size:.88rem}
.th-filterbar-sort select{border:1.5px solid var(--th-border);border-radius:var(--th-r-sm);padding:9px 36px 9px 12px;background:#fff;font-weight:600;color:var(--th-ink);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.th-archive-body{padding:40px 0 80px}
.th-archive-result{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;color:var(--th-muted);font-size:.92rem}
.th-archive-result strong{color:var(--th-ink)}
.th-archive-result a{display:inline-flex;align-items:center;gap:6px;font-weight:600}
body.th-theme .course-archive-page .tutor-course-filter-container{display:none}
body.th-theme .tutor-courses-wrap{padding:0}
body.th-theme .course-archive-page .tutor-d-block.tutor-d-xl-none{display:none!important}
body.th-theme .tutor-pagination{margin-top:40px}
body.th-theme .tutor-pagination .page-numbers,body.th-theme .tutor-pagination a.page-numbers,body.th-theme .tutor-pagination span.page-numbers{border-radius:12px}

/* =====================================================================
   SINGLE COURSE
   ===================================================================== */
.th-course-hero{position:relative;background:radial-gradient(1000px 500px at 85% -10%,rgba(79,70,200,.6),transparent 60%),radial-gradient(700px 400px at 0% 100%,rgba(226,181,90,.22),transparent 60%),linear-gradient(160deg,#0F0D1F,#14121F 35%,#1E1A4E 75%,#2E2A72);color:#fff;padding:calc(var(--th-header-h) + 48px) 0 110px;overflow:hidden}
.th-course-hero-inner{max-width:760px}
.th-course-hero .th-breadcrumb{margin-bottom:18px}
.th-course-hero-cats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.th-course-hero-cats a,.th-course-hero-cats span{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--th-r-pill);background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);color:#fff;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.th-course-hero-cats .th-badge-gold{background:var(--th-gold);color:var(--th-ink);border-color:transparent}
.th-course-title{font-family:var(--th-font-display);font-weight:600;color:#fff;font-size:clamp(1.9rem,3.6vw,3rem);line-height:1.12;letter-spacing:-.015em;margin:0 0 16px}
.th-course-excerpt{font-size:1.1rem;color:rgba(255,255,255,.78);margin:0 0 24px;max-width:680px}
.th-course-hero-meta{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;margin-bottom:24px;font-size:.92rem;color:rgba(255,255,255,.8)}
.th-course-hero-meta>span{display:inline-flex;align-items:center;gap:7px}
.th-course-hero-meta .th-icon{color:var(--th-gold)}
.th-course-hero-meta .th-stars{color:var(--th-gold)}
.th-course-hero-meta strong{color:#fff}
.th-course-hero-author{display:inline-flex;align-items:center;gap:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:8px 16px 8px 8px;border-radius:var(--th-r-pill)}
.th-course-hero-author img,.th-course-hero-author .tutor-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;font-size:.85rem}
.th-course-hero-author small{display:block;color:rgba(255,255,255,.6);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase}
.th-course-hero-author a{color:#fff;font-weight:700}
.th-course-hero-actions{display:inline-flex;gap:8px;margin-left:12px}
.th-course-hero-actions .tutor-btn{color:#fff!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:var(--th-r-pill)!important;padding:8px 14px!important;font-size:.85rem}
.th-course-hero-actions .tutor-btn:hover{background:rgba(255,255,255,.16)!important}

.th-course-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:40px;align-items:start;margin-top:-70px;position:relative;z-index:2;padding-bottom:80px}
.th-course-main{min-width:0}
.th-course-media{border-radius:var(--th-r-lg);overflow:hidden;box-shadow:var(--th-shadow-lg);background:#000;aspect-ratio:16/9}
.th-course-media img,.th-course-media .tutor-course-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}
.th-course-media .tutor-course-thumbnail{height:100%}
.th-course-media .tutor-video-player,.th-course-media .tutor-ratio{height:100%}
.th-course-media iframe{width:100%;height:100%}
.th-course-tabs{margin-top:28px}
body.th-theme .tutor-course-details-tab .tutor-tab{padding-top:28px}
body.th-theme .tutor-tab-item{display:none}
body.th-theme .tutor-tab-item.is-active{display:block}
.th-course-section{background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-lg);padding:28px 30px;margin-bottom:22px}
.th-course-section-title{display:flex;align-items:center;gap:10px;font-size:1.25rem;margin-bottom:18px}
.th-course-section-title .th-icon{color:var(--th-primary-700);background:var(--th-primary-100);width:36px;height:36px;padding:8px;border-radius:10px}
body.th-theme .tutor-course-details-content h2,body.th-theme .tutor-course-content-title,body.th-theme .tutor-course-details-widget-title,body.th-theme .tutor-pagination-wrapper-replaceable>h3{font-size:1.25rem;margin-bottom:16px}
body.th-theme .tutor-course-details-content{background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-lg);padding:28px 30px;line-height:1.75}
body.th-theme .tutor-course-details-content .tutor-fs-6{font-size:1rem}
body.th-theme .tutor-btn-show-more{margin-top:12px!important;background:transparent;color:var(--th-primary-700);font-weight:700}
.th-benefits{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 20px;list-style:none;margin:0;padding:0}
.th-benefits li{display:flex;gap:10px;align-items:flex-start;font-size:.97rem}
.th-benefits .th-icon{color:var(--th-success);flex:none;margin-top:3px}
@media (max-width:640px){.th-benefits{grid-template-columns:1fr}}
.th-topics-summary{display:flex;gap:16px;flex-wrap:wrap;color:var(--th-muted);font-size:.88rem;margin:-6px 0 18px}
.th-topics-summary span{display:inline-flex;align-items:center;gap:6px}
body.th-theme .tutor-course-details-widget{background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-lg);padding:24px;margin-top:22px!important}
body.th-theme .tutor-course-details-widget-list li{align-items:flex-start}
body.th-theme .tutor-course-details-widget-list .tutor-icon-bullet-point{color:var(--th-gold)!important}
body.th-theme .tutor-review-card{border-radius:var(--th-r-lg)}
body.th-theme .tutor-review-summary-average-rating{font-family:var(--th-font-display);color:var(--th-ink)}

/* Sidebar */
.th-course-aside{position:sticky;top:calc(var(--th-header-h) + 16px)}
.th-buy-card{background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-xl);box-shadow:var(--th-shadow-lg);overflow:hidden}
.th-buy-card-media{position:relative;aspect-ratio:16/9;background:var(--th-primary-900)}
.th-buy-card-media img{width:100%;height:100%;object-fit:cover}
.th-buy-card-media .th-course-card-play{opacity:1;transform:translate(-50%,-50%)}
.th-buy-card-body{padding:24px}
.th-buy-card-price{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.th-buy-card-price .th-price{font-size:2rem;letter-spacing:-.02em}
.th-buy-card-note{font-size:.82rem;color:var(--th-muted);display:flex;align-items:center;gap:6px;margin-bottom:18px}
.th-buy-card-note .th-icon{color:var(--th-danger)}
.th-buy-card-actions{display:flex;flex-direction:column;gap:10px}
.th-buy-card-actions .tutor-btn,.th-buy-card-actions .th-btn{width:100%;min-height:52px;font-size:1rem;border-radius:var(--th-r-pill)!important;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.th-buy-card-actions .tutor-btn-primary{background:var(--th-primary-700);border-color:var(--th-primary-700)}
.th-buy-card-actions .tutor-mt-24,.th-buy-card-actions .tutor-mt-20{margin-top:0!important}
.th-buy-card-actions form{margin:0}
.th-buy-card-guarantee{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--th-muted);font-size:.82rem;margin-top:14px}
.th-buy-card-guarantee .th-icon{color:var(--th-success)}
.th-buy-card-list{list-style:none;margin:22px 0 0;padding:20px 0 0;border-top:1px solid var(--th-border);display:flex;flex-direction:column;gap:12px}
.th-buy-card-list li{display:flex;align-items:center;gap:12px;font-size:.93rem;color:var(--th-text)}
.th-buy-card-list .th-icon{color:var(--th-primary-700);background:var(--th-primary-50);width:32px;height:32px;padding:7px;border-radius:9px;flex:none}
.th-buy-card-list strong{margin-left:auto;color:var(--th-ink);font-weight:700}
.th-buy-card-share{display:flex;gap:8px;justify-content:center;margin-top:18px;padding-top:16px;border-top:1px dashed var(--th-border)}
.th-buy-card-share .tutor-btn{background:transparent!important;color:var(--th-muted)!important;border:0!important;font-size:.88rem;font-weight:600}
.th-buy-card-share .tutor-btn:hover{color:var(--th-primary-700)!important}
.th-buy-card .tutor-course-progress-wrapper h3{font-size:1rem}
.th-buy-card .tutor-progress-bar{background:var(--th-surface-2);border-radius:99px;height:10px}
.th-buy-card .tutor-progress-value{background:linear-gradient(90deg,var(--th-primary-600),var(--th-gold));border-radius:99px}
.th-course-widgets{margin-top:20px;display:flex;flex-direction:column;gap:16px}
.th-course-widgets .tutor-course-details-widget,.th-course-widgets .tutor-course-details-instructors{background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-lg);padding:22px;margin:0!important}
.th-course-widgets .tutor-course-details-instructors h3,.th-course-widgets .tutor-course-details-widget-title{font-size:.8rem!important;letter-spacing:.1em;text-transform:uppercase;color:var(--th-muted)!important;margin-bottom:14px!important}
.th-course-widgets .tutor-course-details-widget-col-2 ul{columns:1}
.th-course-widgets .tutor-avatar{width:48px;height:48px}
.th-instructor-mini{display:flex;gap:14px;align-items:center}
.th-instructor-mini img,.th-instructor-mini .tutor-avatar{width:56px;height:56px;border-radius:16px;object-fit:cover}
.th-instructor-mini strong{display:block;font-size:1rem}
.th-instructor-mini small{color:var(--th-muted)}
.th-instructor-mini a{color:var(--th-ink)}
.th-sticky-buy{display:none}
@media (max-width:1024px){
  .th-course-layout{grid-template-columns:1fr;margin-top:-50px}
  .th-course-aside{position:static}
  .th-course-hero{padding-bottom:90px}
  .th-sticky-buy{position:fixed;left:0;right:0;bottom:0;z-index:850;display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-top:1px solid var(--th-border);padding:12px 16px;box-shadow:0 -10px 30px -16px rgba(20,18,31,.3);transform:translateY(110%);transition:transform .35s var(--th-ease)}
  .th-sticky-buy.is-visible{transform:none}
  .th-sticky-buy .th-price{font-size:1.2rem}
  .th-sticky-buy .th-btn{min-height:44px}
}

/* =====================================================================
   STEPS (cart → checkout → done)
   ===================================================================== */
.th-steps{display:flex;align-items:center;justify-content:center;gap:0;list-style:none;margin:0 auto 36px;padding:0;max-width:640px}
.th-step{display:flex;align-items:center;gap:10px;color:var(--th-muted);font-weight:600;font-size:.9rem;position:relative}
.th-step-num{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--th-surface);border:2px solid var(--th-border-2);font-size:.85rem;font-weight:800;color:var(--th-muted)}
.th-step.is-active{color:var(--th-ink)}
.th-step.is-active .th-step-num{background:var(--th-primary-700);border-color:var(--th-primary-700);color:#fff;box-shadow:0 0 0 6px var(--th-primary-100)}
.th-step.is-done .th-step-num{background:var(--th-success);border-color:var(--th-success);color:#fff}
.th-step-line{flex:1;height:2px;background:var(--th-border-2);margin:0 14px;min-width:40px}
.th-step.is-done + .th-step-line{background:var(--th-success)}
@media (max-width:560px){.th-step span:not(.th-step-num){display:none}.th-step.is-active span{display:inline}}

/* =====================================================================
   CART
   ===================================================================== */
.th-shop-hero{padding-bottom:120px}
.th-shop-body{margin-top:-80px;position:relative;z-index:2;padding-bottom:80px}
.th-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:28px;align-items:start}
@media (max-width:1000px){.th-cart-layout{grid-template-columns:1fr}}
.th-cart-items{background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-xl);box-shadow:var(--th-shadow);overflow:hidden}
.th-cart-items-head{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;border-bottom:1px solid var(--th-border)}
.th-cart-items-head h2{font-size:1.2rem;margin:0;display:flex;align-items:center;gap:10px}
.th-cart-items-head h2 .th-badge{font-size:.78rem}
.th-cart-items-head a{display:inline-flex;align-items:center;gap:6px;font-size:.88rem;font-weight:600}
.th-cart-item{display:grid;grid-template-columns:168px minmax(0,1fr) auto;gap:20px;padding:22px 26px;border-bottom:1px solid var(--th-border);align-items:center;transition:background .2s}
.th-cart-item:last-child{border-bottom:0}
.th-cart-item:hover{background:var(--th-bg)}
.th-cart-item-media{position:relative;border-radius:var(--th-r);overflow:hidden;aspect-ratio:16/10;background:var(--th-primary-900)}
.th-cart-item-media img{width:100%;height:100%;object-fit:cover}
.th-cart-item-media .th-badge{position:absolute;left:10px;top:10px;background:rgba(20,18,31,.7);color:#fff;backdrop-filter:blur(6px)}
.th-cart-item-body{min-width:0;display:flex;flex-direction:column;gap:8px}
.th-cart-item-title{font-size:1.08rem;margin:0;line-height:1.35}
.th-cart-item-title a{color:var(--th-ink)}
.th-cart-item-title a:hover{color:var(--th-primary-700)}
.th-cart-item-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.84rem;color:var(--th-muted)}
.th-cart-item-meta span{display:inline-flex;align-items:center;gap:6px}
.th-cart-item-meta .th-icon{color:var(--th-primary-500)}
.th-cart-item-perks{display:flex;gap:8px;flex-wrap:wrap}
.th-cart-item-perks span{display:inline-flex;align-items:center;gap:5px;font-size:.75rem;font-weight:600;color:var(--th-success);background:var(--th-success-bg);padding:3px 9px;border-radius:6px}
.th-cart-item-right{display:flex;flex-direction:column;align-items:flex-end;gap:12px;text-align:right}
.th-cart-item-price .th-price{font-size:1.25rem}
.th-cart-item-price .th-price-old{display:block;margin:2px 0 0}
.th-cart-item-remove{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:600;color:var(--th-muted);background:transparent;border:1px solid var(--th-border);border-radius:var(--th-r-pill);padding:7px 12px;cursor:pointer;transition:all .2s}
.th-cart-item-remove:hover{color:var(--th-danger);border-color:var(--th-danger);background:var(--th-danger-bg)}
.th-cart-item-remove.is-loading{opacity:.5;pointer-events:none}
@media (max-width:700px){
  .th-cart-item{grid-template-columns:120px minmax(0,1fr);padding:18px}
  .th-cart-item-right{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center;text-align:left}
}
.th-cart-continue{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 26px;background:var(--th-bg);border-top:1px solid var(--th-border);font-size:.9rem;color:var(--th-muted)}
.th-cart-continue a{display:inline-flex;align-items:center;gap:6px;font-weight:700}

.th-summary{position:sticky;top:calc(var(--th-header-h) + 16px);display:flex;flex-direction:column;gap:16px}
.th-summary-card{background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-xl);box-shadow:var(--th-shadow);padding:26px}
.th-summary-card h3{font-size:1.1rem;margin:0 0 18px;display:flex;align-items:center;gap:10px}
.th-summary-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:.95rem;color:var(--th-text);border-bottom:1px dashed var(--th-border)}
.th-summary-row:last-of-type{border-bottom:0}
.th-summary-row span:last-child{font-weight:600;color:var(--th-ink)}
.th-summary-row.is-discount span:last-child{color:var(--th-success)}
.th-summary-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:12px 0 20px;padding-top:16px;border-top:2px solid var(--th-ink)}
.th-summary-total span{font-weight:700;color:var(--th-ink)}
.th-summary-total strong{font-size:1.7rem;font-weight:800;letter-spacing:-.02em;color:var(--th-primary-700)}
.th-summary-total small{display:block;font-size:.75rem;color:var(--th-muted);font-weight:500;text-align:right}
.th-summary-card .tutor-btn,.th-summary-card .th-btn-checkout{width:100%;min-height:54px;font-size:1rem;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--th-r-pill)}
.th-summary-secure{display:flex;align-items:center;justify-content:center;gap:6px;font-size:.8rem;color:var(--th-muted);margin-top:12px}
.th-summary-secure .th-icon{color:var(--th-success)}
.th-trust-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.th-trust-list li{display:flex;gap:12px;align-items:flex-start;font-size:.9rem;color:var(--th-text)}
.th-trust-list .th-icon{flex:none;color:var(--th-primary-700);background:var(--th-primary-50);width:34px;height:34px;padding:8px;border-radius:10px}
.th-trust-list strong{display:block;font-size:.92rem}
.th-trust-list small{color:var(--th-muted)}
.th-summary-pay{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.8rem;color:var(--th-muted)}
.th-summary-pay .th-pay-badge{background:var(--th-surface-2);color:var(--th-ink)}
.th-cart-empty{text-align:center;padding:70px 24px;background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-xl);box-shadow:var(--th-shadow)}
.th-cart-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:110px;height:110px;border-radius:50%;background:var(--th-primary-100);color:var(--th-primary-700);margin-bottom:20px;position:relative}
.th-cart-empty-icon::after{content:"";position:absolute;inset:-10px;border-radius:50%;border:2px dashed var(--th-primary-200);animation:thSpin 30s linear infinite}
@keyframes thSpin{to{transform:rotate(360deg)}}
.th-cart-empty h2{font-family:var(--th-font-display);font-weight:600;font-size:1.8rem}
.th-cart-empty p{color:var(--th-muted);max-width:420px;margin:0 auto 24px}
.th-cart-suggest{margin-top:48px}
.th-cart-suggest h3{font-size:1.3rem;margin-bottom:20px;display:flex;align-items:center;gap:10px}

/* =====================================================================
   CHECKOUT
   ===================================================================== */
.th-checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:start}
@media (max-width:1000px){.th-checkout-layout{grid-template-columns:1fr}.th-checkout-summary{order:-1}}
.th-panel{background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-xl);box-shadow:var(--th-shadow);padding:28px;margin-bottom:22px}
.th-panel-title{display:flex;align-items:center;gap:12px;font-size:1.15rem;margin:0 0 20px}
.th-panel-title .th-panel-num{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--th-ink);color:#fff;font-size:.85rem;font-weight:800}
.th-panel-title small{margin-left:auto;font-size:.82rem;color:var(--th-muted);font-weight:500}
.th-login-hint{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--th-primary-50);border:1px solid var(--th-primary-200);border-radius:var(--th-r);padding:14px 18px;margin-bottom:22px}
.th-login-hint p{margin:0;font-size:.93rem}
.th-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.th-fields .th-field-full{grid-column:1/-1}
@media (max-width:560px){.th-fields{grid-template-columns:1fr}}
.th-field{position:relative}
.th-field .tutor-form-control{min-height:50px}
.th-field .tutor-checkout-spinner{position:absolute;right:14px;top:38px}
.th-payments{display:flex;flex-direction:column;gap:12px}
body.th-theme .tutor-checkout-payment-item.th-payment{display:flex;align-items:center;gap:14px;padding:16px 18px;border:2px solid var(--th-border);border-radius:var(--th-r);cursor:pointer;background:var(--th-surface);transition:all .2s;margin:0;position:relative}
body.th-theme .tutor-checkout-payment-item.th-payment:hover{border-color:var(--th-primary-200);background:var(--th-primary-50)}
body.th-theme .tutor-checkout-payment-item.th-payment.active{border-color:var(--th-primary-700);background:var(--th-primary-50);box-shadow:0 0 0 4px var(--th-primary-100)}
body.th-theme .th-payment input[type=radio]{appearance:none;width:22px;height:22px;border:2px solid var(--th-border-2);border-radius:50%;margin:0;flex:none;position:relative;transition:all .2s}
body.th-theme .th-payment input[type=radio]:checked{border-color:var(--th-primary-700);background:var(--th-primary-700);box-shadow:inset 0 0 0 4px #fff}
.th-payment-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:var(--th-surface-2);flex:none;color:var(--th-primary-700)}
.th-payment-icon img{max-width:34px;max-height:28px}
.th-payment-icon.is-bank{background:linear-gradient(135deg,#08162f,#1e2a4a);color:#f3b340}
.th-payment-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.th-payment-body strong{font-size:.98rem;color:var(--th-ink)}
.th-payment-body small{color:var(--th-muted);font-size:.82rem}
.th-payment-tag{margin-left:auto;flex:none}
body.th-theme .tutor-payment-instructions{background:var(--th-gold-50);border:1px dashed var(--th-gold);border-radius:var(--th-r);padding:14px 18px;font-size:.92rem;color:var(--th-text);margin-top:14px!important}
body.th-theme .tutor-payment-instructions.tutor-d-none{display:none}
.th-terms{display:flex;gap:10px;align-items:flex-start;margin-top:20px;font-size:.9rem;color:var(--th-muted)}
.th-terms input{width:20px;height:20px;margin-top:2px;flex:none;accent-color:var(--th-primary-700)}
.th-checkout-errors{margin-top:16px}
body.th-theme .tutor-alert.tutor-danger{background:var(--th-danger-bg);border-color:var(--th-danger);color:var(--th-danger)}
.th-order-items{display:flex;flex-direction:column;gap:14px;margin-bottom:16px}
.th-order-item{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:14px;align-items:center}
.th-order-item img{width:84px;aspect-ratio:16/10;object-fit:cover;border-radius:10px}
.th-order-item-title{font-size:.93rem;font-weight:600;margin:0;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.th-order-item-title a{color:var(--th-ink)}
.th-order-item-sub{font-size:.78rem;color:var(--th-muted);display:flex;gap:10px;margin-top:4px}
.th-order-item-price{text-align:right;font-weight:700;color:var(--th-ink);white-space:nowrap}
.th-order-item-price del{display:block;color:var(--th-muted-2);font-weight:500;font-size:.78rem}
.th-order-item .tutor-checkout-coupon-badge{margin-top:4px}
body.th-theme .tutor-checkout-coupon-badge{display:inline-flex;align-items:center;gap:6px;background:var(--th-success-bg);color:var(--th-success);border-radius:8px;padding:3px 8px;font-size:.78rem;font-weight:700}
body.th-theme .tutor-checkout-coupon-badge.tutor-d-none{display:none}
.th-coupon{margin:14px 0}
.th-coupon-toggle{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--th-primary-700);background:transparent;border:0;cursor:pointer;padding:0;font-size:.92rem}
.th-coupon-toggle .th-icon{color:var(--th-gold-600)}
body.th-theme .tutor-apply-coupon-form{display:flex;gap:8px;margin-top:12px}
body.th-theme .tutor-apply-coupon-form.tutor-d-none{display:none}
body.th-theme .tutor-apply-coupon-form input{flex:1;min-width:0;border:1.5px solid var(--th-border-2);border-radius:var(--th-r-sm);padding:10px 14px;min-height:46px;text-transform:uppercase;letter-spacing:.06em;font-weight:600}
body.th-theme .tutor-apply-coupon-form .tutor-btn{min-height:46px;padding:0 18px;border-radius:var(--th-r-sm);background:var(--th-ink);color:#fff;border-color:var(--th-ink)}
body.th-theme .tutor-checkout-coupon-wrapper{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px dashed var(--th-border)}
body.th-theme .tutor-checkout-coupon-wrapper.tutor-d-none{display:none}
body.th-theme #tutor-checkout-remove-coupon{background:transparent;border:0;padding:0 0 0 4px;color:inherit;cursor:pointer;line-height:1}
body.th-theme .tutor-discount-amount{color:var(--th-success);font-weight:700}
.th-pay-btn{width:100%;min-height:56px;font-size:1.05rem;margin-top:8px}
body.th-theme #tutor-checkout-pay-now-button{width:100%;min-height:56px;font-size:1.05rem;border-radius:var(--th-r-pill);background:var(--th-primary-700);border-color:var(--th-primary-700);box-shadow:0 12px 28px -12px rgba(59,51,160,.7);display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:8px}
body.th-theme #tutor-checkout-pay-now-button:hover{background:var(--th-primary-800)}
body.th-theme #tutor-checkout-pay-now-button[disabled]{opacity:.6}
.th-checkout-summary{position:sticky;top:calc(var(--th-header-h) + 16px)}

/* =====================================================================
   ORDER STATUS
   ===================================================================== */
.th-order-page{padding:40px 0 90px}
body.th-theme .tutor-order-status-wrapper{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:24px}
.th-order-status{text-align:center;background:var(--th-surface);border:1px solid var(--th-border);border-radius:var(--th-r-xl);padding:40px 32px 32px;box-shadow:var(--th-shadow)}
.th-order-status-icon{display:inline-flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:50%;background:var(--th-success-bg);color:var(--th-success);margin-bottom:18px;animation:thPop .6s var(--th-ease)}
.th-order-status-icon.is-pending{background:var(--th-gold-100);color:var(--th-gold-600)}
.th-order-status-icon.is-failed{background:var(--th-danger-bg);color:var(--th-danger)}
@keyframes thPop{from{transform:scale(.5);opacity:0}}
.th-order-status h1{font-family:var(--th-font-display);font-weight:600;font-size:2rem;margin-bottom:8px}
.th-order-status p{color:var(--th-muted);margin:0 auto;max-width:520px}
.th-order-id{display:inline-flex;align-items:center;gap:8px;margin-top:16px;padding:8px 14px;border-radius:var(--th-r-pill);background:var(--th-surface-2);font-weight:700;font-size:.9rem}
.th-order-id code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--th-primary-700)}
.th-order-next{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;text-align:left;margin-top:28px}
.th-order-next div{background:var(--th-bg);border:1px solid var(--th-border);border-radius:var(--th-r);padding:16px}
.th-order-next .th-icon{color:var(--th-primary-700);margin-bottom:8px}
.th-order-next strong{display:block;font-size:.92rem;margin-bottom:2px}
.th-order-next small{color:var(--th-muted);font-size:.8rem}
@media (max-width:640px){.th-order-next{grid-template-columns:1fr}}
body.th-theme .tutor-order-status-wrapper .tutor-d-flex.tutor-gap-2{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
body.th-theme .tutor-order-status-wrapper .tutor-btn{min-height:48px;padding:0 24px}
body.th-theme #tck-transfer-box{margin-top:0!important}

/* =====================================================================
   LOGIN
   ===================================================================== */
.th-auth-card .tutor-login-form-wrapper{padding:0!important}
.th-auth-card #tutor-login-form .tutor-btn-primary{min-height:52px;border-radius:var(--th-r-pill)}
.th-auth-card .tutor-input-field .tutor-form-control{min-height:52px}
.th-auth-card .tutor-btn-link{color:var(--th-primary-700);font-weight:700}
.th-auth-card .tutor-form-check-input,.th-auth-card .tutor-checkbox{accent-color:var(--th-primary-700)}
.th-auth-switch{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:20px;font-size:.92rem;color:var(--th-muted)}
.th-auth-switch a{font-weight:700}
.th-auth-card .tutor-fs-4,.th-auth-card .tutor-h3{display:none}
.th-auth-head{margin-bottom:24px}
.th-auth-head h2{font-family:var(--th-font-display);font-weight:600;font-size:1.9rem;margin:0 0 6px}
.th-auth-head p{color:var(--th-muted);margin:0}
/* registration form (shortcode) */
.th-auth-card #tutor-registration-wrap{box-shadow:none!important;border:0!important;margin:0!important;max-width:none!important;padding:0!important;background:transparent}
.th-auth-card #tutor-registration-form{padding:0!important}
.th-auth-card #tutor-registration-form .tutor-btn-primary{min-height:52px;border-radius:var(--th-r-pill);width:100%}
.th-auth-card .tutor-input-field label,.th-auth-card .tutor-label{font-weight:600;color:var(--th-ink)}

/* Dashboard page wrapper (shortcode fallback) */
.th-entry-tutor .tutor-dashboard{font-family:var(--th-font)}

/* Topics accordion extras */
body.th-theme .tutor-course-topics .tutor-accordion-item-header{display:flex;align-items:center;gap:12px;padding-right:48px}
.th-topic-head{display:inline-flex;align-items:center;gap:12px;flex:1}
.th-topic-num{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:var(--th-primary-100);color:var(--th-primary-700);font-size:.78rem;font-weight:800}
.th-topic-count{font-size:.8rem;font-weight:600;color:var(--th-muted);background:var(--th-surface-2);padding:4px 10px;border-radius:99px}
body.th-theme .tutor-course-topics .tutor-accordion-item-header.is-active .th-topic-num{background:var(--th-primary-700);color:#fff}
body.th-theme .tutor-course-content-list-item-title{display:flex;align-items:center;flex-wrap:wrap}

/* Steps sit on the dark hero overlap */
.th-shop-body .th-steps .th-step{color:rgba(255,255,255,.7)}
.th-shop-body .th-steps .th-step.is-active{color:#fff}
.th-shop-body .th-steps .th-step-num{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.3);color:#fff}
.th-shop-body .th-steps .th-step.is-active .th-step-num{background:var(--th-gold);border-color:var(--th-gold);color:var(--th-ink);box-shadow:0 0 0 6px rgba(226,181,90,.25)}
.th-shop-body .th-steps .th-step-line{background:rgba(255,255,255,.2)}
.th-shop-body .th-steps .th-step.is-done + .th-step-line{background:var(--th-gold)}
.th-shop-body .th-steps .th-step.is-done .th-step-num{background:var(--th-success);border-color:var(--th-success)}

/* Remove Tutor's own page padding around cart / checkout (theme hero handles spacing) */
body.th-theme .tutor-cart-page,body.th-theme .tutor-checkout-page,body.th-theme .tutor-cart-page-wrapper,body.th-theme .tutor-checkout-container{padding:0!important;margin:0!important;max-width:none}

/* Tutor anchor buttons keep their own text colours */
body.th-theme a.tutor-btn-primary,body.th-theme a.tutor-btn-primary:hover{color:#fff}
body.th-theme a.tutor-btn-outline-primary,body.th-theme a.tutor-btn-outline-primary:hover{color:var(--th-primary-700)}
body.th-theme a.tutor-btn-ghost{color:inherit}

/* Checkout: collapsible address block */
.th-address-toggle{border:1px dashed var(--th-border-2);border-radius:var(--th-r);margin-top:16px;background:var(--th-bg)}
.th-address-toggle summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 16px;font-weight:600;font-size:.92rem;color:var(--th-ink)}
.th-address-toggle summary::-webkit-details-marker{display:none}
.th-address-toggle summary .th-icon:first-child{color:var(--th-primary-700)}
.th-address-toggle summary small{font-weight:500;color:var(--th-muted);margin-left:4px}
.th-address-toggle summary .th-faq-plus{margin-left:auto;color:var(--th-muted);transition:transform .3s var(--th-ease)}
.th-address-toggle[open] summary .th-faq-plus{transform:rotate(45deg)}
.th-address-toggle .th-fields{padding:0 16px 16px}
.th-field-hint{font-size:.78rem;color:var(--th-muted);display:flex;align-items:center;gap:6px;margin-top:4px}
.th-field-hint .th-icon{color:var(--th-success)}

/* Explicit link colours inside Tutor-skinned blocks */
body.th-theme .th-course-card-title a,body.th-theme .th-cart-item-title a,body.th-theme .th-order-item-title a,body.th-theme .th-instructor-mini a{color:var(--th-ink)}
body.th-theme .th-course-card-title a:hover,body.th-theme .th-cart-item-title a:hover{color:var(--th-primary-700)}
body.th-theme .th-course-card-author a{color:var(--th-ink)}
body.th-theme .th-course-hero-author a,body.th-theme .th-course-hero-cats a{color:#fff}
body.th-theme .th-course-card-cat{color:var(--th-primary-700)}
body.th-theme .th-cart-items-head a,body.th-theme .th-cart-continue a,body.th-theme .th-path-step a{color:var(--th-primary-700)}
body.th-theme .th-login-hint a{color:var(--th-primary-700)}
body.th-theme .th-terms a{color:var(--th-primary-700);text-decoration:underline}
body.th-theme .tutor-course-content-list-item-title a{color:var(--th-ink)}

/* Coupon form inside the summary card (the card's full-width button rule must not apply here) */
body.th-theme .tutor-checkout-page .tutor-apply-coupon-form{display:flex;align-items:center;gap:6px;border:1.5px solid var(--th-border-2);border-radius:var(--th-r-sm);padding:4px;background:#fff;margin-top:12px}
body.th-theme .tutor-checkout-page .tutor-apply-coupon-form.tutor-d-none{display:none}
body.th-theme .tutor-checkout-page .tutor-apply-coupon-form input{flex:1 1 auto;width:auto;min-width:0;border:0;box-shadow:none;min-height:40px;padding:8px 12px;text-transform:uppercase;letter-spacing:.06em;font-weight:600}
body.th-theme .tutor-checkout-page .tutor-apply-coupon-form input:focus{box-shadow:none}
body.th-theme .th-summary-card .tutor-apply-coupon-form .tutor-btn{width:auto;flex:0 0 auto;min-height:40px;padding:0 18px;border-radius:8px;font-size:.88rem;background:var(--th-ink);color:#fff;border-color:var(--th-ink)}
body.th-theme .th-summary-card #tutor-checkout-remove-coupon{width:auto;min-height:0;padding:0 0 0 4px;background:transparent;border:0;color:inherit;display:inline-flex}
body.th-theme .th-summary-card .tutor-checkout-coupon-wrapper{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px dashed var(--th-border)}
body.th-theme .th-summary-card .tutor-checkout-coupon-wrapper.tutor-d-none{display:none}
