/* Teacher Fernanda – Store. Same tokens as the theme: navy #1A1C2A, red #C4090A, greys #EAEBEC / #F6F6F7,
   Nunito, nothing under 16px, nothing under weight 700, no italics, radius up to 10px. */
.tfs { --n: var(--tf-navy, #1A1C2A); --r: var(--tf-red, #C4090A); --g: var(--tf-grey-light, #EAEBEC); --g2: #F6F6F7; --tx: var(--tf-text, #333333); --pt: #5B5F6E; --sh: 0 10px 30px rgba(26, 28, 42, .10); --ease: cubic-bezier(.2, .7, .2, 1); color: var(--n); font-weight: 700; }
.tfs *, .tfs *::before, .tfs *::after { box-sizing: border-box; }
.tfs [hidden] { display: none !important; }
.tfs small, .tfs .tfs-pt { font-size: 16px; font-weight: 700; color: var(--pt); }
.tfs .tfs-pt { display: block; margin-top: 2px; }
.tfs p .tfs-pt, .tfs li .tfs-pt { display: inline; margin: 0; }
.tfs-muted { color: var(--tx); font-weight: 700; line-height: 1.55; }
.tfs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tfs .tf-btn .tf-icon { width: 18px; height: 18px; }
.tfs-wide { width: 100%; }

/* Ghost button (Add to cart) */
.tfs-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 5px; background: #fff; color: var(--n); box-shadow: inset 0 0 0 2px var(--n); font: inherit; font-size: 16px; font-weight: 900; line-height: 1.2; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--ease); }
.tfs-btn-ghost:hover, .tfs-btn-ghost:focus-visible { background: var(--r); color: #fff; box-shadow: inset 0 0 0 2px var(--r), 0 8px 18px rgba(199, 8, 7, .25); transform: translateY(-2px); }
.tfs-btn-ghost .tf-icon { width: 16px; height: 16px; }
.tfs-btn-ghost.is-added { background: var(--g2); }
.tfs-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tfs-actions > * { flex: 1 1 140px; }
.tfs-textbtn { padding: 0; border: 0; background: none; color: var(--n); font: inherit; font-weight: 900; text-decoration: underline; cursor: pointer; }
.tfs-textbtn:hover { color: var(--r); }

/* Prices */
.tfs-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: var(--n); }
.tfs-price del { color: var(--pt); font-size: 16px; font-weight: 800; }
.tfs-price strong { font-size: 21px; font-weight: 900; white-space: nowrap; }
.tfs-per { color: var(--pt); font-size: 16px; font-weight: 900; }
.tfs-big-price { margin: 0 0 12px; }
.tfs-big-price .tfs-price strong { font-size: 30px; }

/* Materials grid */
.tfs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.tfs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tfs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--g); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(26, 28, 42, .06); transition: transform .3s var(--ease), box-shadow .3s; }
.tfs-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(26, 28, 42, .16); }
.tfs-card__media { position: relative; display: block; background: #fff; overflow: hidden; }
.tfs-card__media img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
.tfs-card:hover .tfs-card__media img { transform: scale(1.04); }
.tfs-ph { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--g2); color: var(--r); }
.tfs-ph .tf-icon { width: 48px; height: 48px; }
.tfs-flag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 5px; background: var(--r); color: #fff; font-size: 16px; font-weight: 900; }
.tfs-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 22px; }
.tfs-card__title { margin: 0; font-size: 21px; font-weight: 900; line-height: 1.25; }
.tfs-card__title a { color: var(--n); text-decoration: none; }
.tfs-card__title a:hover { color: var(--r); }
.tfs-card__text { margin: 0; color: var(--tx); font-size: 16px; font-weight: 700; line-height: 1.5; }
.tfs-card__price { margin: auto 0 4px; }
@media (max-width: 1024px) { .tfs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tfs-grid, .tfs-grid--2 { grid-template-columns: minmax(0, 1fr); } }

/* Package discount (Materials) */
.tf-pack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin: 0 0 44px; padding: 26px 28px; background: #fff; border: 2px solid var(--g); border-radius: 10px; }
.tf-pack__head { display: flex; align-items: flex-start; gap: 16px; }
.tf-pack__icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 10px; background: var(--n); color: #fff; display: grid; place-items: center; }
.tf-pack__icon .tf-icon { width: 22px; height: 22px; }
.tf-pack__title { margin: 0 0 6px; color: var(--r); font-size: 24px; font-weight: 900; line-height: 1.2; }
.tf-pack__lead { margin: 0; color: var(--tx); font-size: 17px; font-weight: 700; line-height: 1.55; }
.tf-pack__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tf-pack__list li { padding: 14px 16px; background: var(--g2); border-radius: 10px; }
.tf-pack__list strong { display: block; color: var(--n); font-size: 18px; font-weight: 900; margin-bottom: 2px; }
.tf-pack__list span { display: block; color: var(--tx); font-size: 16px; font-weight: 700; line-height: 1.4; }
@media (max-width: 1100px) { .tf-pack__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tf-pack { padding: 22px 18px; } }

/* Course page buy box */
.tfs-box { margin-top: 6px; }
.tfs-perks { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.tfs-perks li { display: flex; gap: 10px; align-items: flex-start; color: var(--n); font-weight: 900; line-height: 1.35; }
.tfs-perks li > .tf-icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--r); }
.tfs-perks small, .tfs-state small { display: block; margin-top: 2px; }
.tfs-pack-mini { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--g2); }
.tfs-pack-mini > .tf-icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--r); }
.tfs-pack-mini strong { display: block; color: var(--r); font-weight: 900; }
.tfs-pack-mini span { display: block; color: var(--n); font-weight: 800; line-height: 1.45; }
.tfs-state { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 10px; color: var(--n); font-size: 18px; font-weight: 900; }
.tfs-state > .tf-icon { flex: none; width: 22px; height: 22px; color: var(--r); }
.tfs-link { margin: 14px 0 0; text-align: center; font-weight: 800; }
.tfs-link a { color: var(--r); font-weight: 900; text-decoration: none; }
.tfs-link a:hover { text-decoration: underline; }

/* Panels (checkout, purchases): grey band with a numbered navy badge and a red title */
.tfs-panel { margin: 0 0 22px; background: #fff; border: 1px solid var(--g); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(26, 28, 42, .06); animation: tfs-in .35s var(--ease); }
.tfs-panel__head { display: flex; gap: 14px; align-items: center; padding: 16px 22px; background: var(--g2); border-bottom: 1px solid var(--g); }
.tfs-panel__head h2 { margin: 0; color: var(--r); font-size: clamp(20px, 2.2vw, 24px); font-weight: 900; line-height: 1.25; }
.tfs-panel__head .tfs-pt { margin-top: 2px; }
.tfs-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--n); color: #fff; font-size: 18px; font-weight: 900; box-shadow: 0 6px 14px rgba(26, 28, 42, .2); }
.tfs-num .tf-icon { width: 20px; height: 20px; }
.tfs-panel__body { padding: 20px 22px 24px; }
.tfs-panel__body > :last-child { margin-bottom: 0; }
@keyframes tfs-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Checkout */
.tfs-checkout { max-width: 860px; margin: 0 auto; }
.tfs-lines { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.tfs-line { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--g); border-radius: 10px; background: #fff; }
.tfs-line img, .tfs-line .tfs-ph { flex: none; width: 92px; height: 58px; object-fit: cover; border-radius: 6px; aspect-ratio: auto; }
.tfs-line .tfs-ph .tf-icon { width: 24px; height: 24px; }
.tfs-line__main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tfs-line__name { color: var(--n); font-size: 18px; font-weight: 900; line-height: 1.3; }
.tfs-line__note { color: var(--pt); font-weight: 800; }
.tfs-line__price { flex: none; text-align: right; color: var(--n); font-weight: 900; white-space: nowrap; }
.tfs-line__price del { display: block; color: var(--pt); font-weight: 800; }
.tfs-remove { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: var(--g2); color: var(--n); cursor: pointer; transition: background .2s, color .2s; }
.tfs-remove:hover { background: var(--r); color: #fff; }
.tfs-remove .tf-icon { width: 16px; height: 16px; }
.tfs-totals { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0 0 18px; border: 1px solid var(--g); border-radius: 10px; overflow: hidden; }
.tfs-totals dt, .tfs-totals dd { margin: 0; padding: 12px 16px; border-top: 1px solid var(--g); font-weight: 800; }
.tfs-totals dt:first-of-type, .tfs-totals dt:first-of-type + dd { border-top: 0; }
.tfs-totals dt { color: var(--n); }
.tfs-totals dd { text-align: right; color: var(--n); white-space: nowrap; }
.tfs-totals .tfs-disc { color: var(--r); font-weight: 900; }
.tfs-totals .tfs-grand { background: var(--g2); font-size: 20px; font-weight: 900; }
.tfs-hint { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--g2); color: var(--n); font-weight: 800; line-height: 1.45; }
.tfs-hint > .tf-icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--r); }
.tfs-empty { text-align: center; padding: 10px 0; }
.tfs-empty p { margin: 0 0 14px; }
.tfs-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.tfs-fields > p, .tfs-fields > .tfs-f { margin: 0 0 14px; }
.tfs-fields .tfs-full { grid-column: 1 / -1; }
.tfs-fields label { display: block; margin-bottom: 6px; color: var(--n); font-weight: 900; }
.tfs-fields label .tfs-pt { display: inline; }
.tfs-fields input, .tfs-fields select, .tfs-secure { display: block; width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--g); border-radius: 10px; background: #fff; color: var(--n); font: inherit; font-size: 16px; font-weight: 800; }
.tfs-secure { padding: 0 14px; }
.tfs-secure iframe { width: 100% !important; height: 46px !important; }
.tfs-fields input:focus, .tfs-fields select:focus, .tfs-secure.is-focus { outline: none; border-color: var(--n); }
.tfs-who { display: flex; gap: 12px; align-items: center; margin: 0 0 10px; }
.tfs-who > .tf-icon { width: 22px; height: 22px; color: var(--r); }
.tfs-who strong { display: block; font-size: 18px; font-weight: 900; }
.tfs-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 6px; border-radius: 10px; background: var(--g); }
.tfs-method { display: flex; gap: 12px; align-items: center; justify-content: center; min-height: 64px; padding: 10px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--n); font: inherit; font-size: 18px; font-weight: 900; text-align: left; cursor: pointer; transition: background .2s, box-shadow .2s; }
.tfs-method small { display: block; color: var(--pt); font-weight: 700; }
.tfs-method .tf-icon { flex: none; width: 24px; height: 24px; color: var(--n); }
.tfs-method:hover { background: rgba(255, 255, 255, .6); }
.tfs-method.on { background: #fff; box-shadow: 0 4px 14px rgba(26, 28, 42, .1); }
.tfs-method.on .tf-icon { color: var(--r); }
.tfs-auto { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 14px 16px; border-radius: 10px; background: var(--g2); cursor: pointer; }
.tfs-auto input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--n); }
.tfs-auto strong { display: block; color: var(--n); font-weight: 900; }
.tfs-pay { min-height: 56px; font-size: 18px; }
.tfs-pay[disabled] { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.tfs-safe { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; color: var(--tx); font-weight: 700; line-height: 1.5; }
.tfs-safe > .tf-icon { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--n); }
.tfs-legal { margin: 10px 0 0; color: var(--pt); font-weight: 700; }
.tfs-legal a { color: var(--n); font-weight: 900; }
.tfs-alert { margin: 16px 0 0; padding: 14px 16px; border: 2px solid var(--r); border-radius: 10px; background: #fff; color: var(--n); font-weight: 900; line-height: 1.45; }
.tfs-alert small { display: block; margin-top: 2px; }
.tfs-test { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; background: var(--g2); color: var(--n); font-weight: 900; text-align: center; }
@media (max-width: 640px) {
	.tfs-panel__head { padding: 14px 16px; }
	.tfs-panel__body { padding: 16px 16px 20px; }
	.tfs-fields, .tfs-methods { grid-template-columns: minmax(0, 1fr); }
	.tfs-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) 40px; gap: 6px 12px; align-items: start; }
	.tfs-line img, .tfs-line .tfs-ph { grid-row: 1 / span 2; width: 72px; height: 46px; }
	.tfs-line__main { grid-column: 2; }
	.tfs-line__price { grid-column: 2; grid-row: 2; text-align: left; }
	.tfs-line__price del { display: inline; margin-right: 6px; }
	.tfs-remove { grid-column: 3; grid-row: 1; }
}

/* Result: Pix QR code, waiting, approved */
.tfs-result .tfs-panel__body { text-align: center; }
.tfs-qr { display: block; width: 240px; max-width: 100%; height: auto; margin: 6px auto 16px; padding: 10px; border: 2px solid var(--g); border-radius: 10px; background: #fff; }
.tfs-code { display: flex; gap: 10px; align-items: stretch; max-width: 620px; margin: 0 auto 14px; }
.tfs-code input { flex: 1; min-width: 0; min-height: 50px; padding: 10px 14px; border: 2px solid var(--g); border-radius: 10px; background: var(--g2); color: var(--n); font: inherit; font-size: 16px; font-weight: 800; }
.tfs-timer { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 12px; color: var(--n); font-weight: 900; }
.tfs-timer .tf-icon { width: 18px; height: 18px; color: var(--r); }
.tfs-wait { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 8px 0 0; color: var(--n); font-weight: 900; }
.tfs-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--r); animation: tfs-pulse 1.2s infinite; }
@keyframes tfs-pulse { 0% { transform: scale(.7); opacity: .5; } 50% { transform: scale(1); opacity: 1; } 100% { transform: scale(.7); opacity: .5; } }
.tfs-ok-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--n); color: #fff; animation: tfs-pop .5s var(--ease); }
.tfs-ok-icon .tf-icon { width: 30px; height: 30px; }
@keyframes tfs-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.tfs-result h3 { margin: 0 0 6px; color: var(--r); font-size: 24px; font-weight: 900; }
.tfs-result .tfs-rows { width: 100%; text-align: left; max-width: 620px; margin: 16px auto !important; }
.tfs-result .tfs-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

/* Rows (purchases, result) */
.tfs-rows { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tfs-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--g); border-radius: 10px; background: #fff; }
.tfs-row__main { display: grid; gap: 6px; min-width: 0; }
.tfs-row__title { color: var(--n); font-size: 18px; font-weight: 900; text-decoration: none; }
a.tfs-row__title:hover { color: var(--r); }
.tfs-pill { display: inline-block; justify-self: start; padding: 4px 10px; border-radius: 6px; background: var(--g); color: var(--n); font-weight: 900; }
.tfs-pill.on { background: var(--g2); box-shadow: inset 0 0 0 2px var(--n); }
.tfs-pill small { margin-left: 2px; }
.tfs-auto-on { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tfs-auto-on .tf-icon { width: 16px; height: 16px; color: var(--r); }
.tfs-table-wrap { overflow-x: auto; }
.tfs-table { width: 100%; border-collapse: collapse; }
.tfs-table th, .tfs-table td { padding: 12px 10px; border-bottom: 1px solid var(--g); text-align: left; vertical-align: top; color: var(--n); font-weight: 800; word-break: normal; overflow-wrap: normal; }
.tfs-table th { background: var(--g2); color: var(--r); font-weight: 900; white-space: nowrap; }
.tfs-table td:nth-child(1), .tfs-table td:nth-child(2), .tfs-table td:nth-child(4) { white-space: nowrap; }
@media (max-width: 640px) { .tfs-row { flex-direction: column; align-items: stretch; } }

/* Toast after "Add to cart" */
.tfs-toast { position: fixed; z-index: 100000; left: 50%; bottom: 24px; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 10px; background: #fff; color: #1A1C2A; box-shadow: 0 16px 40px rgba(26, 28, 42, .22); font-family: inherit; font-size: 16px; font-weight: 900; transform: translate(-50%, 20px); opacity: 0; transition: opacity .3s, transform .3s; }
.tfs-toast.on { opacity: 1; transform: translate(-50%, 0); }
.tfs-toast a { color: #C4090A; font-weight: 900; white-space: nowrap; }

/* Materials pitch: the page text styles of the theme must not change it */
.tfs .tf-teach__kicker { margin: 0 0 6px !important; color: var(--r) !important; font-weight: 900 !important; font-size: 16px !important; letter-spacing: 1.5px; text-transform: uppercase; }
.tfs .tf-teach__title { margin: 0 0 12px !important; color: var(--n) !important; font-weight: 900 !important; font-size: clamp(24px, 3vw, 32px) !important; line-height: 1.2 !important; }
.tfs .tf-teach__lead { margin: 0 !important; color: var(--tx) !important; font-weight: 700 !important; font-size: 17px !important; line-height: 1.6 !important; }
.tfs .tf-teach__card h3 { margin: 0 0 8px !important; color: var(--n) !important; font-weight: 900 !important; font-size: 19px !important; }
.tfs .tf-teach__card p { margin: 0 !important; color: var(--tx) !important; font-weight: 700 !important; font-size: 16px !important; line-height: 1.55 !important; }
.tfs .tf-pack__title { margin: 0 0 6px !important; font-size: 24px !important; }
.tfs .tf-pack__lead { margin: 0 !important; }
.tfs .tf-pack__list { margin: 0 !important; padding: 0 !important; }
.tfs .tf-pack__list li { margin: 0 !important; padding: 14px 16px !important; }
.tfs .tf-pack__list li::before { display: none !important; }
.tfs .tfs-grid, .tfs .tfs-lines, .tfs .tfs-rows, .tfs .tfs-perks { margin-left: 0 !important; padding-left: 0 !important; }
.tfs .tfs-grid > li::before, .tfs .tfs-lines > li::before, .tfs .tfs-rows > li::before, .tfs .tfs-perks > li::before { display: none !important; }
.tfs .tfs-card__title { margin: 0 !important; font-size: 21px !important; }
.tfs .tfs-panel__head h2 { margin: 0 !important; }

.tfs-resume { align-items: center; flex-wrap: wrap; }
.tfs-resume > span:first-of-type { flex: 1 1 260px; }
.tfs-resume__btns { display: inline-flex; gap: 14px; align-items: center; }

.tfs-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; border: 0 !important; }
.tfs-fields > .tfs-f { position: relative; }
.tfs-card-form .tfs-alert { margin: 0 0 14px; }
