/*
Theme Name: All For The Teacher
Author: All For The Teacher
Version: 2.2.0
Requires PHP: 8.0
Text Domain: aftt
*/
:root{--pink:#E8418A;--pinkd:#B8226A;--pinkl:#FDE3EE;--teal:#5BC3CE;--teall:#DDF4F6;--yellow:#FFD45C;--yellowd:#E9B530;--yellowl:#FFF4CC;--brown:#4A2A12;--ink:#3A2A1C;--muted:#7E6C5A;--cream:#FFFBF4}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Fredoka,"Arial Rounded MT Bold",Arial,sans-serif;color:var(--ink);line-height:1.45;background:var(--cream) var(--doodle) repeat;background-size:240px}
a{color:var(--pink)}img{max-width:100%;height:auto}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* faixa rosa fininha com borda ondulada */
.t-top{background:var(--pink);color:#fff;text-align:center;font-weight:500;font-size:13px;padding:7px 12px 9px;position:relative}
.t-top::after{content:"";position:absolute;left:0;right:0;bottom:-10px;height:11px;background:radial-gradient(circle at 10px 0,var(--pink) 10px,transparent 10.5px) repeat-x;background-size:20px 11px}

/* topo compacto: logo + nome, busca e ícones */
.t-head{background:var(--cream);display:grid;grid-template-columns:1fr auto;grid-template-areas:"brand icons" "search search";align-items:center;gap:10px 10px;padding:18px 14px 12px}
.t-brand{grid-area:brand;display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.t-brand img{width:56px;height:56px;border-radius:50%;flex:0 0 56px;box-shadow:0 3px 10px rgba(74,42,18,.15)}
.t-brand span{font-weight:700;font-size:21px;line-height:1;color:var(--pink)}
.t-search{grid-area:search;display:flex;align-items:center;gap:8px;background:#fff;border:2px solid var(--brown);border-radius:99px;padding:8px 14px}
.t-search svg{color:var(--brown);flex:0 0 20px;width:20px;height:20px}
.t-search input{border:0;background:transparent;font:inherit;font-size:16px;width:100%;outline:0;color:var(--ink)}
.t-icons{grid-area:icons;display:flex;gap:10px}
.t-icons a{display:flex;flex-direction:column;align-items:center;gap:3px;font-weight:600;font-size:12px;color:var(--brown);text-decoration:none}
.t-icons i,.t-trust i,.t-cats i{position:relative;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-style:normal;box-shadow:0 3px 0 rgba(0,0,0,.08)}
.t-icons i{width:46px;height:46px}.t-icons svg{width:24px;height:24px}
.t-icons span:not(.aftt-count){display:none}
.t-ic-all{display:none!important}
.c1{background:var(--pink)}.c2{background:var(--teal)}.c3{background:var(--yellow)}.c4{background:#A98BE0}
.aftt-count{position:absolute;top:-5px;right:-6px;background:var(--brown);color:#fff;border-radius:99px;font-size:11px;font-weight:600;min-width:20px;height:20px;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff}
.t-socf{display:flex;justify-content:center;gap:10px;margin:8px 0}
.t-socf a{width:38px;height:38px;border-radius:50%;background:#fff;color:var(--brown);display:flex;align-items:center;justify-content:center}

/* barra amarela com menu */
.t-bar{background:var(--yellow);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;margin-top:0;position:sticky;top:0;z-index:60;box-shadow:0 4px 0 var(--yellowd)}
.admin-bar .t-bar{top:46px}
.t-menu{position:relative}
.t-menu summary{list-style:none;cursor:pointer;width:46px;height:42px;border-radius:12px;background:var(--brown);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.t-menu summary::-webkit-details-marker{display:none}
.t-menu summary span{width:24px;height:3px;border-radius:3px;background:#fff}
.t-drop{position:absolute;left:0;top:50px;max-height:70vh;overflow-y:auto;background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:8px;min-width:220px;display:flex;flex-direction:column}
.t-drop a{padding:11px 14px;border-radius:10px;color:var(--brown);text-decoration:none;font-weight:600}.t-drop a:hover{background:var(--pinkl);color:var(--pink)}
.t-links{display:none}
.t-login{display:flex;align-items:center;gap:6px;background:#fff;border:2px dashed var(--pink);border-radius:99px;padding:7px 12px;color:var(--brown);text-decoration:none;font-size:14px;font-weight:600;line-height:1}
.t-login svg{color:var(--pink);width:20px;height:20px}

.t-right{display:flex;align-items:center;gap:8px}
.t-cur{position:relative}
.t-cur summary{list-style:none;cursor:pointer;background:#fff;border:2px solid var(--brown);border-radius:99px;padding:8px 12px;font-weight:600;font-size:14px;color:var(--brown);white-space:nowrap}
.t-cur summary::-webkit-details-marker{display:none}
.t-cur-drop{position:absolute;right:0;top:46px;background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:8px;min-width:230px;display:flex;flex-direction:column;z-index:70}
.t-cur-drop a{padding:10px 12px;border-radius:10px;color:var(--brown);text-decoration:none;font-weight:500;font-size:15px}.t-cur-drop a:hover,.t-cur-drop a.on{background:var(--pinkl);color:var(--pink)}
.t-geo{display:block;margin-top:4px;opacity:.6;font-size:11px}
/* conteúdo */
.aftt-main{display:block;min-height:50vh}
.t-wrap{max-width:1180px;margin:0 auto;padding:18px 14px 10px}
.t-h2{font-weight:700;color:var(--brown);font-size:28px;text-align:center;margin:30px 0 14px;line-height:1.1}
.t-h2::after{content:"";display:block;width:70px;height:6px;border-radius:6px;background:var(--pink);margin:8px auto 0}
.t-center{text-align:center}
.t-btn{display:inline-block;background:var(--pink);color:#fff!important;font-weight:600;font-size:18px;border-radius:99px;padding:14px 28px;text-decoration:none;box-shadow:0 5px 0 var(--pinkd)}
.t-btn:active{transform:translateY(3px);box-shadow:0 2px 0 var(--pinkd)}
.t-btn2{background:var(--teal);box-shadow:0 5px 0 #3B9AA4;margin-top:16px}

.t-kit{background:#fff;border-radius:24px;border:3px dashed var(--pink);overflow:hidden;box-shadow:0 8px 24px rgba(74,42,18,.10)}
.t-kit-img{display:block;position:relative}.t-kit-img img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
.t-save{position:absolute;top:12px;left:12px;background:var(--yellow);color:var(--brown);font-weight:700;border-radius:99px;padding:6px 12px;font-size:15px;box-shadow:0 3px 0 var(--yellowd)}
.t-kit-txt{padding:16px 18px 22px;text-align:center}
.t-tag{display:inline-block;background:var(--pinkl);color:var(--pink);font-weight:600;font-size:13px;border-radius:99px;padding:5px 12px}
.t-kit h1{font-weight:700;color:var(--brown);font-size:28px;line-height:1.1;margin:10px 0 6px}
.t-kit p{color:var(--muted);font-size:16px;margin:0 0 10px}
.t-price{font-size:30px;font-weight:700;color:var(--pink);margin:4px 0 14px}.t-price del{color:#B7A693;font-size:19px;font-weight:500;margin-right:6px}.t-price ins{text-decoration:none}

.t-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 8px}
.t-cats a{display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;color:var(--brown)}
.t-cats i{font-size:28px;width:70px;height:70px;margin-bottom:6px}
.t-cats b{font-weight:600;font-size:15px;line-height:1.15}.t-cats small{color:var(--muted);font-size:12.5px}

.t-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.t-card{background:#fff;border-radius:18px;padding:10px 10px 14px;box-shadow:0 5px 16px rgba(74,42,18,.09);display:flex;flex-direction:column;align-items:center;text-align:center;position:relative}
.t-img{display:block;width:100%;border:2.5px dashed var(--pink);border-radius:14px;overflow:hidden;aspect-ratio:1/1;background:var(--yellowl)}
.t-img img{width:100%;height:100%;object-fit:cover;display:block}
.aftt-noimg{display:flex;height:100%;align-items:center;justify-content:center;padding:10px;font-weight:600;color:var(--brown)}
.t-card h3{font-size:15px;font-weight:600;line-height:1.2;margin:10px 2px 4px;flex:1}.t-card h3 a{color:var(--brown);text-decoration:none}
.t-p{font-weight:700;color:var(--pink);font-size:17px;margin-bottom:10px}.t-p del{color:#B7A693;font-size:14px;font-weight:500;margin-right:4px}.t-p ins{text-decoration:none}
.t-add{background:var(--yellowl);border:2px solid var(--brown);color:var(--brown)!important;font-weight:600;font-size:14px;border-radius:99px;padding:8px 16px;text-decoration:none;white-space:nowrap}
.t-add:hover{background:var(--yellow)}.t-add.loading{opacity:.6}.t-add.added{background:#D8F3DF;border-color:#2E8B57}
.t-card .added_to_cart{font-size:13px;margin-top:6px;color:var(--pink);font-weight:600}
.t-rank{position:absolute;top:16px;left:16px;background:var(--brown);color:#fff;font-weight:700;font-size:13px;border-radius:99px;padding:4px 10px;z-index:2}
.t-off{position:absolute;top:16px;right:16px;background:var(--pink);color:#fff;font-weight:700;font-size:13px;border-radius:99px;padding:4px 9px;z-index:2}

.t-how{background:#fff;border-radius:24px;padding:6px 16px 20px;margin-top:30px;border:3px dashed var(--teal)}
.t-steps{display:grid;gap:12px}
.t-steps div{display:flex;gap:12px;align-items:center}
.t-steps b{flex:0 0 44px;height:44px;border-radius:50%;background:var(--pink);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px}
.t-steps p{margin:0;font-size:16px}
.t-revs{display:grid;gap:12px}.t-rev{background:#fff;border-radius:18px;padding:16px;border:2.5px dashed var(--yellow)}.t-stars{color:#F4B400;font-size:20px}.t-rev p{margin:6px 0}

.t-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:900px;margin:36px auto 0;padding:0 14px;text-align:center}
.t-trust div{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13.5px;color:var(--brown)}
.t-trust i{width:54px;height:54px}.t-trust svg{width:26px;height:26px}

.aftt-foot{margin-top:28px;background:var(--brown);color:#F6E3C8;padding:26px 16px 32px;font-size:14px;line-height:1.7;text-align:center}
.aftt-foot img{border-radius:50%;display:block;margin:0 auto 6px}
.aftt-foot b{font-size:24px;color:var(--yellow);font-weight:700}.aftt-foot a{color:var(--yellow)}.aftt-foot p{margin:6px 0}
.aftt-pays{display:flex;gap:6px;margin:12px 0;flex-wrap:wrap;justify-content:center}.aftt-pays span{background:#fff;color:#333;border-radius:6px;padding:4px 8px;font-weight:700;font-size:11px;font-family:Arial,sans-serif}

/* páginas internas e WooCommerce */
.aftt-page{padding:18px 14px 10px;max-width:1180px;margin:0 auto}
.aftt-page>article,.aftt-woo .woocommerce-notices-wrapper+*,.aftt-woo>.product,.woocommerce-cart .aftt-page .woocommerce,.woocommerce-checkout .aftt-page .woocommerce,.woocommerce-account .aftt-page .woocommerce{background:#fff;border-radius:22px;padding:16px;box-shadow:0 6px 18px rgba(74,42,18,.08)}
.aftt-ptitle,.woocommerce-products-header__title,.aftt-woo h1.product_title{font-weight:700;color:var(--brown);font-size:32px;line-height:1.1;margin:6px 0 12px;text-align:center}
.aftt-woo h1.product_title{text-align:left}
.woocommerce-breadcrumb{font-size:13px;color:var(--muted)!important;text-align:center}.woocommerce-breadcrumb a{color:var(--muted)!important}
.woocommerce .woocommerce-result-count{font-size:14px;color:var(--muted)}
.woocommerce .woocommerce-ordering select{border:2px solid var(--brown);border-radius:99px;padding:8px 12px;background:#fff;font:inherit;font-size:14px}
.woocommerce ul.products{display:grid!important;grid-template-columns:1fr 1fr;gap:14px;margin:0!important}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border-radius:18px;padding:10px 10px 14px!important;box-shadow:0 5px 16px rgba(74,42,18,.09);display:flex;flex-direction:column;align-items:center;text-align:center;position:relative}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;align-items:center;width:100%;flex:1;text-decoration:none}
.woocommerce ul.products li.product a img{margin:0 0 8px!important;aspect-ratio:1/1;object-fit:cover;border:2.5px dashed var(--pink);border-radius:14px;background:var(--yellowl)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;font-weight:600;padding:0 2px!important;color:var(--brown);line-height:1.2}
.woocommerce ul.products li.product .price{color:var(--pink)!important;font-weight:700;font-size:17px!important}
.woocommerce ul.products li.product .price del{color:#B7A693}
.woocommerce ul.products li.product .button{margin-top:8px!important}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--yellowl)!important;border:2px solid var(--brown)!important;color:var(--brown)!important;font-family:inherit;font-weight:600!important;border-radius:99px!important;padding:9px 18px!important;font-size:15px!important}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce .checkout-button,.woocommerce #place_order,.woocommerce div.product form.cart .button,.woocommerce button.button[name=apply_coupon]{background:var(--pink)!important;border-color:var(--pink)!important;color:#fff!important;box-shadow:0 5px 0 var(--pinkd)}
.woocommerce span.onsale{background:var(--pink)!important;color:#fff!important;font-weight:700;min-height:0!important;min-width:0!important;line-height:1!important;padding:6px 10px!important;border-radius:99px!important;top:16px!important;left:16px!important;right:auto!important;margin:0!important;width:auto!important;z-index:3}
.woocommerce div.product{display:flex;flex-direction:column;gap:6px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%!important;float:none!important}
.woocommerce div.product div.images img{border-radius:18px;border:3px dashed var(--pink)}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--pink)!important;font-weight:700;font-size:28px!important}
.woocommerce div.product form.cart .button{width:100%;font-size:18px!important;padding:15px!important}
.woocommerce div.product form.cart .quantity{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:12px 12px 0 0!important;background:var(--yellowl)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#fff!important}
.woocommerce-message,.woocommerce-info{border-top-color:var(--pink)!important;background:var(--pinkl)!important;border-radius:14px}
.woocommerce-message::before,.woocommerce-info::before{color:var(--pink)!important}
.woocommerce table.shop_table{border-radius:14px!important;border-color:#EEDFCB!important}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea,.select2-container .select2-selection--single{border:2px solid #E7D3B8!important;border-radius:12px!important;padding:11px 12px;font:inherit;font-size:16px;background:#fff}
.select2-container .select2-selection--single{height:auto!important;padding:6px 6px}
.woocommerce-checkout #payment{background:var(--yellowl)!important;border-radius:14px}
.woocommerce-cart table.cart img{width:64px;border-radius:10px}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-page .cart-collaterals .cart_totals{width:100%!important;float:none!important}
.related>h2,.woocommerce-tabs h2,.cart_totals h2,#order_review_heading,.woocommerce-billing-fields h3{color:var(--brown);font-weight:700}
.aftt-content{font-size:17px}
.aftt-content h2{color:var(--brown)}

@media(min-width:900px){
	.t-head{grid-template-columns:auto 1fr auto;grid-template-areas:"brand search icons";gap:28px;max-width:1180px;margin:0 auto;padding:20px 24px 16px}
	.t-brand img{width:74px;height:74px;flex-basis:74px}.t-brand span{font-size:26px}
	.t-search{max-width:520px;width:100%;justify-self:center;padding:10px 18px}
	.t-icons{gap:18px}.t-icons i{width:52px;height:52px}.t-icons span:not(.aftt-count){display:block}.t-ic-all{display:flex!important}
	.t-bar{padding:10px max(24px,calc((100vw - 1180px)/2 + 24px))}
	.t-menu{display:none}
	.t-links{display:flex;gap:28px}.t-links a{color:var(--brown);font-weight:600;font-size:17px;text-decoration:none}.t-links a:hover{color:var(--pink)}
	.t-wrap{padding:30px 24px 10px}
	.t-kit{display:grid;grid-template-columns:1fr 1fr;align-items:center}
	.t-kit-img img{aspect-ratio:1/1;height:100%}
	.t-kit-txt{padding:30px 40px;text-align:left}
	.t-kit h1{font-size:42px}
	.t-h2{font-size:36px;margin-top:46px}
	.t-cats{grid-template-columns:repeat(6,1fr)}
	.t-grid{grid-template-columns:repeat(4,1fr);gap:22px}
	.t-steps{grid-template-columns:repeat(3,1fr)}
	.t-revs{grid-template-columns:repeat(3,1fr)}
	.woocommerce ul.products{grid-template-columns:repeat(4,1fr);gap:22px}
	.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start}
	.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related{grid-column:1/-1}
}
