/* Tomphonics Store — Notebook look for every store page.
   Tokens match the homepage: ink #0C0C0E, orange #FF6B2B, gold #FFD166. */

body.tps{
  --ink:#0C0C0E;--orange:#FF6B2B;--gold:#FFD166;--paper:#FFFFFF;--line:#DCE3EA;--mist:#F4F6F8;--body:#2B2B30;--rust:#C2410C;
  background:#FFFFFF !important;color:var(--ink);
  font-family:'Figtree',system-ui,sans-serif !important;
  -webkit-font-smoothing:antialiased;
}
body.tps :where(p,li,td,th,label,input,select,textarea,button){font-family:'Figtree',system-ui,sans-serif}
body.tps ::selection{background:var(--gold);color:var(--ink)}

/* ---------- Header / footer reuse the homepage parts ---------- */
body.tps .tps-header{position:relative;z-index:20;background:#fff;border-bottom:2px solid var(--ink)}
body.tps .tps-header .top{border-bottom:0}
body.tps .tps-cart{display:inline-flex;align-items:center;gap:6px;font-weight:800;text-decoration:none;color:var(--ink);margin-right:12px}
body.tps .tps-cart span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--orange);border:2px solid var(--ink);font-size:12px}
body.tps .wp-block-template-part{margin-block-start:0 !important}

/* ---------- Page body ---------- */
body.tps main,body.tps .wp-site-blocks>main{
  background:
    linear-gradient(90deg,transparent 0 59px,rgba(255,107,43,.35) 59px 61px,transparent 61px) ,
    repeating-linear-gradient(#fff 0 35px,var(--line) 35px 36px);
  background-attachment:local;
  padding-top:40px !important;padding-bottom:72px !important;margin-top:0 !important;
}
@media (max-width:720px){
  body.tps main,body.tps .wp-site-blocks>main{background:repeating-linear-gradient(#fff 0 35px,var(--line) 35px 36px)}
}
body.tps main > *{position:relative}
body.tps main .wp-block-group.has-background{background:transparent !important}
body.tps main .woocommerce::before,body.tps main .woocommerce::after{display:none !important;content:none !important}
body.tps main :is(.wp-block-post-title,h1).alignwide{max-width:1200px;margin-left:auto !important;margin-right:auto !important}

body.tps :is(h1,.wp-block-post-title,.product_title,.wp-block-query-title,.woocommerce-products-header__title){
  font-family:'Darumadrop One',system-ui,sans-serif !important;font-weight:400 !important;
  color:var(--ink) !important;letter-spacing:.005em;line-height:1.05 !important;
  font-size:clamp(34px,5.2vw,58px) !important;margin:0 0 .35em !important;
}
body.tps :is(h2):not(.woocommerce-loop-product__title):not(.wc-block-components-product-name){
  font-family:'Darumadrop One',system-ui,sans-serif;font-weight:400;color:var(--ink);letter-spacing:.005em;line-height:1.1;
}
body.tps :is(h3,h4,h5,h6){font-family:'Figtree',system-ui,sans-serif !important;font-weight:800 !important;color:var(--ink) !important}
body.tps .hl{background:linear-gradient(transparent 55%,rgba(255,107,43,.55) 55% 92%,transparent 92%);padding:0 .08em}
body.tps .hand{font-family:'Gochi Hand',cursive !important}

body.tps :where(main,.wp-block-post-content,.woocommerce) a:where(:not(.button):not(.wp-element-button):not(.tps-btn):not(.tps-chip):not(.tps-amz-note):not(.tdash-btn):not(.tpp-btn)){
  color:var(--ink);text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:3px
}
body.tps :where(main,.wp-block-post-content,.woocommerce) a:where(:not(.button):not(.wp-element-button):not(.tps-btn)):hover{color:var(--rust)}

/* ---------- Buttons ---------- */
body.tps :is(.wp-element-button,.wp-block-button__link,a.button,button.button,input.button,input[type=submit],.single_add_to_cart_button,.wc-block-components-button:not(.is-link),.checkout-button,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button,.tps-btn,.tdash-btn,.tpp-btn,.woocommerce-button){
  background:var(--orange) !important;color:var(--ink) !important;
  border:2px solid var(--ink) !important;border-radius:999px !important;
  box-shadow:3px 3px 0 var(--ink) !important;
  font-family:'Figtree',system-ui,sans-serif !important;font-weight:800 !important;font-size:15px !important;
  padding:11px 22px !important;line-height:1.2 !important;text-decoration:none !important;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;
  transition:transform .12s ease,box-shadow .12s ease;min-height:0 !important;
}
body.tps :is(.wp-element-button,.wp-block-button__link,a.button,button.button,input.button,input[type=submit],.single_add_to_cart_button,.wc-block-components-button:not(.is-link),.tps-btn,.tdash-btn,.tpp-btn,.woocommerce-button):hover{
  transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--ink) !important;background:var(--orange) !important;color:var(--ink) !important
}
body.tps :is(.wp-element-button,.wc-block-components-button,.tps-btn):active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink) !important}
body.tps :is(.tps-btn-white,.tdash-btn.ghost,a.button.ghost){background:#fff !important}
body.tps :is(.tps-btn-white,.tdash-btn.ghost):hover{background:var(--gold) !important}
body.tps .wc-block-components-button__text{color:inherit !important;font-weight:800}
body.tps :is(button,a.button)[disabled],body.tps .wc-block-components-button:disabled{opacity:.55;cursor:not-allowed}

/* ---------- Forms ---------- */
body.tps :is(input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],input[type=search],input[type=url],select,textarea),
body.tps .wc-block-components-text-input input,
body.tps .wc-blocks-components-select__select,
body.tps .wc-block-components-combobox .components-combobox-control__input{
  background:#fff !important;color:var(--ink) !important;
  border:2px solid var(--ink) !important;border-radius:12px !important;
  font-size:16px !important;box-shadow:none !important;
}
body.tps :is(input,select,textarea):focus,body.tps .wc-block-components-text-input input:focus{
  outline:3px solid rgba(255,107,43,.45) !important;outline-offset:1px;border-color:var(--ink) !important
}
body.tps .wc-block-components-text-input label,body.tps .wc-blocks-components-select__label{color:var(--body) !important}
body.tps label{color:var(--ink);font-weight:600}
body.tps .wc-block-components-checkbox__input[type=checkbox]{border:2px solid var(--ink) !important;border-radius:6px !important}
body.tps .wc-block-components-checkbox__input[type=checkbox]:checked{background:var(--orange) !important}
body.tps .wc-block-components-radio-control__input{border:2px solid var(--ink) !important}
body.tps .wc-block-components-radio-control__input:checked::before{background:var(--ink) !important}

/* ---------- Prices, breadcrumbs, notes ---------- */
body.tps :is(.price,.wc-block-components-product-price,.wp-block-woocommerce-product-price){color:var(--ink) !important;font-weight:800 !important;font-family:'Figtree',sans-serif !important}
body.tps :is(.price del,.wc-block-components-product-price del){color:#8A8F98 !important;font-weight:600}
body.tps .tps-free-price{display:inline-block;background:var(--gold);border:2px solid var(--ink);border-radius:8px;padding:2px 10px;font-weight:800;transform:rotate(-2deg)}
body.tps :is(.woocommerce-breadcrumb,.wc-block-breadcrumbs,.wp-block-woocommerce-breadcrumbs){font-family:'Gochi Hand',cursive !important;font-size:18px !important;color:var(--body) !important}
body.tps :is(.woocommerce-breadcrumb,.wc-block-breadcrumbs) a{color:var(--body) !important}
body.tps :is(.woocommerce-result-count,.wc-block-product-results-count,.woocommerce-ordering,.wp-block-woocommerce-catalog-sorting,.product_meta,.posted_in){display:none !important}
body.tps .tps-note,body.tps .note{font-family:'Gochi Hand',cursive;color:var(--body);font-size:18px;margin-top:22px}

/* ---------- Notices ---------- */
body.tps :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner){
  background:var(--gold) !important;color:var(--ink) !important;border:2px solid var(--ink) !important;border-radius:14px !important;
  box-shadow:4px 4px 0 var(--ink) !important;font-weight:600;padding:14px 18px !important;list-style:none
}
body.tps .woocommerce-error,body.tps .wc-block-components-notice-banner.is-error{background:#FFE1D4 !important}
body.tps :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before{color:var(--ink) !important}
body.tps .wc-block-components-notice-banner>svg{fill:var(--ink) !important;background:transparent !important}

/* ---------- Product grids (classic + blocks) ---------- */
body.tps ul.products{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;margin:0 !important;padding:0 !important;list-style:none}
body.tps ul.products::before,body.tps ul.products::after{display:none !important}
body.tps ul.products li.product,body.tps .wc-block-product-template>li,body.tps li.wc-block-product{
  width:auto !important;margin:0 !important;float:none !important;background:#fff;border:2px solid var(--ink);border-radius:18px;
  box-shadow:5px 5px 0 var(--ink);padding:14px 14px 18px !important;display:flex;flex-direction:column;
  transition:transform .15s ease,box-shadow .15s ease;
}
body.tps ul.products li.product:hover,body.tps .wc-block-product-template>li:hover{transform:translate(-2px,-3px) rotate(-.4deg);box-shadow:8px 8px 0 var(--ink)}
body.tps ul.products li.product img,body.tps .wc-block-product-template img{border-radius:10px;border:2px solid var(--ink);margin:0 0 12px !important;aspect-ratio:3/4;object-fit:cover;width:100%;background:var(--mist)}
body.tps ul.products li.product .woocommerce-loop-product__title,body.tps .wc-block-product-template .wp-block-post-title{
  font-family:'Figtree',sans-serif !important;font-weight:800 !important;font-size:16px !important;line-height:1.3 !important;color:var(--ink) !important;padding:0 !important;margin:0 0 8px !important
}
body.tps .wc-block-product-template .wp-block-post-title a{text-decoration:none !important;color:var(--ink) !important}
body.tps ul.products li.product .button,body.tps .wc-block-product-template .wp-element-button{margin-top:auto !important;align-self:flex-start;font-size:14px !important;padding:9px 18px !important}
body.tps ul.products li.product a.woocommerce-LoopProduct-link{text-decoration:none !important}
@media (max-width:980px){body.tps ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:720px){body.tps ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  body.tps ul.products li.product{padding:10px 10px 14px !important;box-shadow:4px 4px 0 var(--ink)}
  body.tps ul.products li.product .woocommerce-loop-product__title{font-size:14px !important}}

/* ---------- Shelves (shop + category pages) ---------- */
body.tps .tps-shelves{max-width:1200px;margin:0 auto;padding:0 24px}
body.tps .tps-pagehead{margin:8px 0 22px}
body.tps .tps-pagehead h1{margin-bottom:.15em !important}
body.tps .tps-sub{font-size:21px;color:var(--body);margin:0}
body.tps .tps-kicker{font-size:19px;margin:0 0 6px}
body.tps .tps-chips{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 44px}
body.tps .tps-chips-label{font-size:20px;margin-right:4px}
body.tps .tps-chip{display:inline-block;background:#fff;border:2px solid var(--ink);border-radius:999px;padding:8px 16px;font-weight:700;font-size:15px;color:var(--ink);text-decoration:none;box-shadow:2px 2px 0 var(--ink);transition:background .12s}
body.tps .tps-chip:hover{background:var(--gold);color:var(--ink)}
body.tps .tps-shelves>.tps-chips:last-of-type{margin-top:48px}
body.tps .tps-shelf{margin:0 0 64px;scroll-margin-top:24px}
body.tps .tps-shelf-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:22px;flex-wrap:wrap}
body.tps .tps-shelf-head h2{font-size:clamp(28px,3.6vw,40px);margin:0}
body.tps .tps-link{font-weight:800;color:var(--ink) !important;text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:3px;text-underline-offset:4px}

/* ---------- Amazon ---------- */
body.tps .tps-amazon{margin:16px 0 40px;padding:32px;border:2px dashed var(--ink);border-radius:22px;background:rgba(255,255,255,.88)}
body.tps .tps-amz-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
body.tps .tps-amz-note{display:flex;flex-direction:column;gap:8px;background:var(--gold);border:2px solid var(--ink);border-radius:6px;padding:18px 16px 16px;min-height:170px;text-decoration:none !important;color:var(--ink) !important;box-shadow:4px 4px 0 var(--ink);transition:transform .15s ease}
body.tps .tps-amz-note.n0{transform:rotate(-1.6deg)} body.tps .tps-amz-note.n1{transform:rotate(1.2deg)}
body.tps .tps-amz-note.n2{transform:rotate(-.6deg)} body.tps .tps-amz-note.n3{transform:rotate(1.8deg)}
body.tps .tps-amz-note:hover{transform:rotate(0) translateY(-3px)}
body.tps .tps-amz-note strong{font-size:17px;font-weight:800;line-height:1.25}
body.tps .tps-amz-note span{font-size:14px;color:var(--body);line-height:1.4}
body.tps .tps-amz-note em{margin-top:auto;font-style:normal;font-size:18px}
@media (max-width:900px){body.tps .tps-amz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){body.tps .tps-amazon{padding:20px 16px}body.tps .tps-amz-grid{grid-template-columns:1fr}}
body.tps .tps-amz-cta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0 6px}
body.tps .tps-amz-cta .hand{font-size:20px;color:var(--body)}
body.tps .tps-free-cta{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}

/* ---------- Single product ---------- */
body.tps.single-product main .wp-block-columns{gap:48px !important;align-items:flex-start}
body.tps .woocommerce-product-gallery__image img,body.tps .wp-block-woocommerce-product-image-gallery img{border:2px solid var(--ink);border-radius:16px;box-shadow:7px 7px 0 var(--ink);background:#fff}
body.tps .woocommerce-product-gallery__trigger{display:none !important}
body.tps.single-product .wp-block-post-excerpt,body.tps.single-product .woocommerce-product-details__short-description{font-size:18px;line-height:1.6;color:var(--body)}
body.tps.single-product .wc-block-components-product-price,body.tps.single-product .wp-block-woocommerce-product-price{font-size:28px !important}
body.tps form.cart .quantity{display:none !important}
body.tps :is(.woocommerce-tabs,.wp-block-woocommerce-product-details){margin-top:48px;background:#fff;border:2px solid var(--ink);border-radius:20px;padding:26px 28px;box-shadow:6px 6px 0 var(--ink)}
body.tps :is(.woocommerce-tabs,.wp-block-woocommerce-product-details) ul.tabs{display:flex;gap:10px;padding:0 !important;margin:0 0 18px !important;border:0 !important}
body.tps :is(.woocommerce-tabs,.wp-block-woocommerce-product-details) ul.tabs::before{display:none !important}
body.tps :is(.woocommerce-tabs,.wp-block-woocommerce-product-details) ul.tabs li{background:#fff !important;border:2px solid var(--ink) !important;border-radius:999px !important;margin:0 !important;padding:0 !important}
body.tps :is(.woocommerce-tabs,.wp-block-woocommerce-product-details) ul.tabs li::before,body.tps :is(.woocommerce-tabs,.wp-block-woocommerce-product-details) ul.tabs li::after{display:none !important}
body.tps :is(.woocommerce-tabs,.wp-block-woocommerce-product-details) ul.tabs li a{padding:7px 16px !important;font-weight:800;text-decoration:none !important}
body.tps :is(.woocommerce-tabs,.wp-block-woocommerce-product-details) ul.tabs li.active{background:var(--gold) !important}
body.tps .woocommerce-Tabs-panel{font-size:17px;line-height:1.7;color:var(--body)}
body.tps .woocommerce-Tabs-panel h2{font-size:30px}
body.tps :is(.related,.upsells,.wp-block-woocommerce-related-products) h2{font-size:clamp(26px,3vw,36px);margin-top:56px}

/* ---------- Cart + checkout (blocks) ---------- */
body.tps :is(.wc-block-cart,.wc-block-checkout){font-family:'Figtree',sans-serif}
body.tps .wc-block-components-sidebar :is(.wc-block-components-totals-wrapper,.wp-block-woocommerce-cart-order-summary-block,.wp-block-woocommerce-checkout-order-summary-block){border-color:var(--line) !important}
body.tps :is(.wp-block-woocommerce-checkout-order-summary-block,.wp-block-woocommerce-cart-order-summary-block){background:#fff;border:2px solid var(--ink) !important;border-radius:18px !important;box-shadow:6px 6px 0 var(--ink);padding:6px 4px;overflow:hidden}
body.tps .wc-block-cart-items{background:#fff;border:2px solid var(--ink) !important;border-radius:18px;box-shadow:6px 6px 0 var(--ink);border-collapse:separate !important;overflow:hidden}
body.tps .wc-block-cart-items th{font-family:'Gochi Hand',cursive;font-size:18px;font-weight:400;padding:14px 16px !important}
body.tps .wc-block-cart-items td{padding:16px !important}
body.tps .wc-block-cart-item__image img{border:2px solid var(--ink);border-radius:8px}
body.tps .wc-block-components-product-name{font-weight:800 !important;color:var(--ink) !important;text-decoration:none !important;font-size:16px}
body.tps .wc-block-components-quantity-selector{display:none !important}
body.tps .wc-block-cart-item__remove-link{color:var(--rust) !important;font-weight:700}
body.tps .wc-block-components-totals-footer-item{font-size:20px !important;font-weight:800}
body.tps :is(.wc-block-components-checkout-step__title,.wc-block-components-title){font-family:'Darumadrop One',sans-serif !important;font-weight:400 !important;font-size:26px !important;color:var(--ink) !important}
body.tps .wc-block-components-checkout-step__container{background:#fff;border:2px solid var(--ink);border-radius:16px;padding:18px !important;box-shadow:4px 4px 0 var(--ink)}
body.tps .wc-block-components-checkout-step::after{display:none !important}
body.tps .wc-block-components-checkout-step{padding-left:0 !important}
body.tps .wc-block-components-radio-control-accordion-option,body.tps .wc-block-components-radio-control__option{border-radius:12px !important}
body.tps .wc-block-checkout__terms,body.tps .wc-block-checkout__terms a{font-size:14px;color:var(--body)}
body.tps .wc-block-components-checkout-place-order-button{width:100%;font-size:18px !important;padding:15px 22px !important}
body.tps .wc-block-cart__submit-container .wc-block-cart__submit-button{width:100%;font-size:18px !important}
body.tps .wc-block-components-checkout-return-to-cart-button{text-decoration:underline !important;text-decoration-color:var(--orange) !important;color:var(--ink) !important;font-weight:700}
body.tps .wc-block-components-sidebar-layout{gap:36px}

/* ---------- Order received ---------- */
body.tps :is(.woocommerce-order-overview,.wc-block-order-confirmation-summary-list){background:var(--gold);border:2px solid var(--ink);border-radius:14px;padding:16px 20px !important;box-shadow:4px 4px 0 var(--ink);list-style:none}
body.tps table.shop_table,body.tps .woocommerce-table{background:#fff;border:2px solid var(--ink) !important;border-radius:16px !important;border-collapse:separate !important;overflow:hidden;box-shadow:5px 5px 0 var(--ink)}
body.tps table.shop_table :is(th,td){border-color:var(--line) !important;padding:14px 16px !important}
body.tps table.shop_table thead th{font-family:'Gochi Hand',cursive;font-weight:400;font-size:18px;background:var(--mist)}

/* ---------- My Account ---------- */
body.tps.woocommerce-account main .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:40px;align-items:start;max-width:1200px;margin:0 auto}
body.tps.woocommerce-account main .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
body.tps .woocommerce-MyAccount-navigation{float:none !important;width:auto !important;position:sticky;top:24px}
body.tps .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:10px !important;background:#fff;border:2px solid var(--ink);border-radius:18px;box-shadow:5px 5px 0 var(--ink);display:flex;flex-direction:column;gap:4px}
body.tps .woocommerce-MyAccount-navigation li{margin:0 !important;padding:0 !important;border:0 !important}
body.tps .woocommerce-MyAccount-navigation li a{display:block;padding:10px 14px;border-radius:12px;font-weight:700;color:var(--ink) !important;text-decoration:none !important}
body.tps .woocommerce-MyAccount-navigation li a:hover{background:var(--mist)}
body.tps .woocommerce-MyAccount-navigation li.is-active a{background:var(--orange);border:2px solid var(--ink);padding:8px 12px}
body.tps .woocommerce-MyAccount-navigation-link--customer-logout a{color:#6B7280 !important;font-weight:600}
body.tps .woocommerce-MyAccount-content{float:none !important;width:auto !important;font-size:17px;color:var(--body)}
@media (max-width:860px){
  body.tps.woocommerce-account main .woocommerce{grid-template-columns:1fr;gap:22px}
  body.tps .woocommerce-MyAccount-navigation{position:static}
  body.tps .woocommerce-MyAccount-navigation ul{flex-direction:row;overflow-x:auto;border-radius:999px;padding:6px !important;scrollbar-width:none}
  body.tps .woocommerce-MyAccount-navigation li a{white-space:nowrap;padding:8px 14px;border-radius:999px}
  body.tps .woocommerce-MyAccount-navigation li.is-active a{padding:6px 12px}
}

/* Login + register */
body.tps.woocommerce-account:not(.logged-in) main .woocommerce{display:block;max-width:980px}
body.tps #customer_login{display:grid !important;grid-template-columns:1fr 1fr;gap:32px}
body.tps #customer_login::before,body.tps #customer_login::after{display:none !important}
body.tps #customer_login>.u-column1,body.tps #customer_login>.u-column2{width:auto !important;float:none !important;background:#fff;border:2px solid var(--ink);border-radius:20px;padding:26px 26px 22px;box-shadow:6px 6px 0 var(--ink)}
body.tps #customer_login>.u-column2{background:#FFFBEF}
body.tps #customer_login h2{font-size:34px;margin:0 0 12px}
body.tps :is(.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword,.woocommerce-EditAccountForm){border:0 !important;padding:0 !important;margin:0 !important}
body.tps .woocommerce-form-row{margin:0 0 14px !important}
body.tps .woocommerce-form-row input{width:100%;padding:12px 14px !important}
body.tps .woocommerce-LostPassword a{font-weight:700}
body.tps .nsl-container{margin:4px 0 18px !important}
body.tps .nsl-container .nsl-button{border:2px solid var(--ink) !important;border-radius:999px !important;box-shadow:3px 3px 0 var(--ink) !important;overflow:hidden}
@media (max-width:760px){body.tps #customer_login{grid-template-columns:1fr}}

/* Learner home (Tomphonics Dashboards) */
body.tps .tdash{color:var(--ink)}
body.tps .tdash :is(h2,h3){color:var(--ink) !important}
body.tps .tdash-hero{background:var(--gold) !important;border:2px solid var(--ink) !important;border-radius:20px !important;box-shadow:6px 6px 0 var(--ink) !important;padding:26px 28px !important;color:var(--ink) !important}
body.tps .tdash-hero h2{font-family:'Darumadrop One',sans-serif !important;font-weight:400 !important;font-size:clamp(30px,4vw,44px) !important;margin:0 0 6px !important}
body.tps .tdash-hero p{color:var(--body) !important}
body.tps .tdash-kicker{font-family:'Gochi Hand',cursive !important;font-size:19px !important;letter-spacing:0 !important;text-transform:none !important;color:var(--body) !important}
body.tps .tdash-continue{background:#fff !important;border:2px solid var(--ink) !important;border-radius:20px !important;box-shadow:6px 6px 0 var(--ink) !important;color:var(--ink) !important}
body.tps .tdash-continue img,body.tps .tdash-card img{border:2px solid var(--ink) !important;border-radius:10px !important}
body.tps .tdash-sec-head{border-color:var(--line) !important}
body.tps .tdash-sec-head h3{font-size:22px !important}
body.tps .tdash-sec-head a{color:var(--ink) !important;text-decoration:underline !important;text-decoration-color:var(--orange) !important;text-decoration-thickness:2px !important}
body.tps :is(.tdash-card,.tdash-course,.tdash-empty,.tdash-help){background:#fff !important;border:2px solid var(--ink) !important;border-radius:16px !important;box-shadow:4px 4px 0 var(--ink) !important;color:var(--ink) !important}
body.tps .tdash-card .t{color:var(--ink) !important;font-weight:800 !important}
body.tps .tdash-card .p{color:var(--ink) !important}
body.tps :is(.tdash-empty,.tdash-help){background:var(--mist) !important}
body.tps .tdash-course p{color:var(--body) !important}

/* My Programmes (Tomphonics Programmes) */
body.tps .tpp{color:var(--ink)}
body.tps .tpp-note{background:var(--gold) !important;border:2px solid var(--ink) !important;border-radius:14px !important;box-shadow:4px 4px 0 var(--ink) !important;color:var(--ink) !important}
body.tps .tpp-prog{background:#fff !important;border:2px solid var(--ink) !important;border-radius:20px !important;box-shadow:6px 6px 0 var(--ink) !important;color:var(--ink) !important}
body.tps .tpp-prog :is(h2,h3){font-family:'Darumadrop One',sans-serif !important;font-weight:400 !important;font-size:30px !important}
body.tps .tpp-tag{background:var(--orange) !important;color:var(--ink) !important;border:2px solid var(--ink) !important;border-radius:999px !important}
body.tps .tpp-item{border-color:var(--line) !important;color:var(--ink) !important}
body.tps .tpp-day{font-family:'Gochi Hand',cursive !important;color:var(--rust) !important;font-size:18px !important}
body.tps .tpp-title{color:var(--ink) !important;font-weight:700 !important}

/* My Library (Tomphonics Library) */
body.tps :is([class^="tl-"],[class*=" tl-"]){color:var(--ink)}
body.tps :is(.tl-card,.tl-book,.tl-item){background:#fff !important;border:2px solid var(--ink) !important;border-radius:16px !important;box-shadow:4px 4px 0 var(--ink) !important;color:var(--ink) !important}
body.tps :is(.tl-card,.tl-book,.tl-item) img{border:2px solid var(--ink) !important;border-radius:10px !important}
body.tps :is(.tl-card,.tl-book,.tl-item) :is(h3,h4,.tl-title){color:var(--ink) !important}
body.tps .tl-empty{background:var(--mist) !important;border:2px dashed var(--ink) !important;border-radius:16px !important;color:var(--ink) !important;padding:22px !important}
body.tps :is(.tl-btn,.tl-read,a.tl-button){background:var(--orange) !important;color:var(--ink) !important;border:2px solid var(--ink) !important;border-radius:999px !important;box-shadow:3px 3px 0 var(--ink) !important;font-weight:800 !important;text-decoration:none !important}

/* Your downloads */
body.tps .tps-downloads{margin-top:40px;padding:22px 24px;background:#fff;border:2px solid var(--ink);border-radius:20px;box-shadow:6px 6px 0 var(--ink);scroll-margin-top:24px}
body.tps .tps-downloads h3{margin:0 !important;font-size:22px !important}
body.tps .tps-downloads>p.hand{margin:2px 0 14px;font-size:19px;color:var(--body)}
body.tps .tps-downloads ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
body.tps .tps-downloads li{display:flex;align-items:center;gap:14px;padding:10px 0;border-top:1px solid var(--line)}
body.tps .tps-downloads li:first-child{border-top:0}
body.tps .tps-downloads li img{width:48px;height:64px;object-fit:cover;border:2px solid var(--ink);border-radius:6px}
body.tps .tps-downloads .t{flex:1;font-weight:800}
body.tps .tps-downloads .tps-btn{font-size:14px !important;padding:8px 16px !important}

/* ---------- Plain pages (policies, help) ---------- */
body.tps.page:not(.woocommerce-page) main .wp-block-post-content{max-width:760px;margin-left:auto;margin-right:auto;font-size:18px;line-height:1.75;color:var(--body)}
body.tps.page:not(.woocommerce-page) main .wp-block-post-content h2{font-size:32px;margin:1.6em 0 .4em}
body.tps.page:not(.woocommerce-page) main .wp-block-post-content :is(ul,ol){padding-left:1.2em}
body.tps.page:not(.woocommerce-page) main .wp-block-post-title{max-width:760px;margin-left:auto !important;margin-right:auto !important}

/* ---------- Mobile gutters ---------- */
@media (max-width:600px){
  body.tps main{padding-left:16px !important;padding-right:16px !important}
  body.tps .tps-shelves{padding:0}
  body.tps .wc-block-components-checkout-step__container{padding:14px !important}
}
