/* ==========================================================
   Johnson Boost – header, footer and Elementor helper styles
   Colours: primary #4260FF, navy #0C1338, deep #05003B
   ========================================================== */
:root {
	--tx-primary: #0D9488;
	--tx-primary-dark: #0F766E;
	--tx-navy: #0B1F2A;
	--tx-deep: #071318;
	--tx-text: #4B5B63;
	--tx-light: #EFFAF8;
	--tx-accent: #F97316;
	--tx-border: #DCEEEA;
}

body.taxsol-site { color: var(--tx-text); }

/* ---------- Top bar ---------- */
.tx-topbar { background: var(--tx-deep); color: #CFE3E0; font-size: 14px; }
.tx-topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; gap: 20px; }
.tx-topbar a { color: #fff; margin-right: 26px; transition: color .2s; }
.tx-topbar a:hover { color: #99F6E4; }
.tx-topbar i { color: #5EEAD4; margin-right: 6px; }

/* ---------- Header ---------- */
.tx-header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 6px 30px rgba(11, 31, 42, .07); }
.admin-bar .tx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tx-header { top: 0; } }
.tx-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 20px; }
.tx-logo img { max-height: 54px; width: auto; }
.tx-logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px; font-weight: 800; color: var(--tx-navy); letter-spacing: -.3px; white-space: nowrap; }
.tx-logo-text b { color: var(--tx-primary); font-weight: 800; }
.tx-logo-text i { color: var(--tx-primary); margin-right: 4px; }
.tx-logo-light .tx-logo-text { color: #fff; }

.tx-header-nav .tx-menu { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tx-header-nav .tx-menu > li { position: relative; list-style: none; }
.tx-header-nav .tx-menu > li > a { display: block; padding: 28px 14px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; font-size: 16px; color: var(--tx-navy); transition: color .2s; }
.tx-header-nav .tx-menu > li > a:hover,
.tx-header-nav .tx-menu > li.current-menu-item > a,
.tx-header-nav .tx-menu > li.current_page_item > a { color: var(--tx-primary); }
.tx-header-nav .tx-menu > li.current-menu-item > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 2px; background: var(--tx-primary); border-radius: 2px; }
.tx-header-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: 0 20px 40px rgba(11,31,42,.12); border-radius: 10px; padding: 12px 0; margin: 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s; z-index: 10; }
.tx-header-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tx-header-nav .sub-menu a { display: block; padding: 8px 22px; color: var(--tx-navy); font-weight: 500; }
.tx-header-nav .sub-menu a:hover { color: var(--tx-primary); }

.tx-header-right { display: flex; align-items: center; gap: 18px; }
.tx-header-phone { align-items: center; gap: 10px; color: var(--tx-navy); font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; }
.tx-header-phone small { display: block; font-size: 12px; font-weight: 500; color: var(--tx-text); line-height: 1.2; }
.tx-header-phone-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--tx-light); color: var(--tx-primary); display: inline-flex; align-items: center; justify-content: center; }
.tx-header-phone:hover { color: var(--tx-primary); }
.tx-header-cart { position: relative; color: var(--tx-navy); font-size: 19px; }
.tx-header-cart:hover { color: var(--tx-primary); }
.tx-cart-count { position: absolute; top: -8px; right: -11px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--tx-primary); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }
.tx-burger { border: 0; background: var(--tx-light); color: var(--tx-navy); width: 44px; height: 44px; border-radius: 8px; font-size: 18px; }

.tx-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 8px; background: var(--tx-primary); color: #fff !important; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; line-height: 1; transition: background .2s, transform .2s; white-space: nowrap; }
.tx-btn:hover { background: var(--tx-navy); transform: translateY(-2px); }

.tx-offcanvas-contact p { margin-bottom: 8px; }
.tx-offcanvas-contact a { color: var(--tx-navy); }
.tx-offcanvas-contact i { color: var(--tx-primary); margin-right: 6px; }
.tx-logo-dark .tx-logo-text { color: var(--tx-navy); }

/* ---------- Theme breadcrumb (shop / product / blog) ---------- */
.taxsol-site .breadcrumb-area { padding-top: 90px !important; padding-bottom: 90px !important; background-color: var(--tx-navy); background-image: linear-gradient(120deg, #071318 0%, #0F4C48 100%); }
.taxsol-site .breadcrumb-area .breadcrumb__title { font-size: 52px; }
@media (max-width: 767px) { .taxsol-site .breadcrumb-area .breadcrumb__title { font-size: 34px; } }

/* ---------- Fallback footer ---------- */
.tx-footer { background: var(--tx-navy); color: #5F737B; padding-top: 90px; }
.tx-footer-about { margin-top: 18px; color: #5F737B; }
.tx-footer-title { color: #fff; font-size: 20px; margin-bottom: 22px; }
.tx-footer-links, .tx-footer-contact { list-style: none; padding: 0; margin: 0; }
.tx-footer-links li, .tx-footer-contact li { margin-bottom: 10px; }
.tx-footer a { color: #5F737B; transition: color .2s; }
.tx-footer a:hover { color: #fff; }
.tx-footer-contact i { color: #5EEAD4; width: 22px; }
.tx-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; margin-top: 30px; }
.tx-footer-bottom p { margin: 0; color: #5F737B; text-align: center; }

/* ---------- Elementor helpers (classes set in Advanced → CSS Classes) ---------- */
.tx-card > .elementor-widget-wrap,
.tx-card > .elementor-column-wrap { transition: transform .3s ease, box-shadow .3s ease; }
.tx-card:hover > .elementor-widget-wrap,
.tx-card:hover > .elementor-column-wrap { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11, 31, 42, .12) !important; }
.tx-card .elementor-widget-button { margin-top: auto; }
.tx-card > .elementor-widget-wrap { align-content: flex-start; }

.tx-featured > .elementor-widget-wrap { position: relative; }
.tx-featured > .elementor-widget-wrap::before { content: "Best value"; position: absolute; top: 18px; right: 18px; background: var(--tx-accent); color: #fff; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: .3px; z-index: 2; }

.tx-legal .elementor-widget-text-editor ul { padding-left: 20px; margin-bottom: 14px; }
.tx-legal .elementor-widget-text-editor li { list-style: disc; margin-bottom: 6px; }
.tx-legal .elementor-widget-text-editor a,
.tx-link-blue a { color: var(--tx-primary); font-weight: 600; }

.tx-term-list .elementor-icon-list-item a { justify-content: space-between; width: 100%; }
.tx-term-list .elementor-icon-list-item { border-bottom: 1px dashed var(--tx-border); padding-bottom: 8px; }
.tx-term-list .elementor-icon-list-item:last-child { border-bottom: 0; }

.tx-faq .elementor-accordion .elementor-accordion-item { border-radius: 10px; overflow: hidden; margin-bottom: 14px; border: 1px solid var(--tx-border) !important; }
.tx-faq .elementor-accordion .elementor-tab-title { font-family: 'Plus Jakarta Sans', sans-serif; }

/* Contact Form 7 inside Elementor */
.tx-form .wpcf7 input[type="text"],
.tx-form .wpcf7 input[type="email"],
.tx-form .wpcf7 input[type="tel"],
.tx-form .wpcf7 select,
.tx-form .wpcf7 textarea { width: 100%; border: 1px solid var(--tx-border); border-radius: 8px; padding: 14px 16px; background: #fff; font-size: 15px; color: var(--tx-navy); margin-top: 6px; outline: none; transition: border-color .2s; height: auto; }
.tx-form .wpcf7 textarea { height: 150px; }
.tx-form .wpcf7 input:focus, .tx-form .wpcf7 textarea:focus, .tx-form .wpcf7 select:focus { border-color: var(--tx-primary); }
.tx-form .wpcf7 label { width: 100%; font-weight: 600; color: var(--tx-navy); margin-bottom: 14px; }
.tx-form .wpcf7 input[type="submit"] { background: var(--tx-primary); color: #fff; border: 0; border-radius: 8px; padding: 15px 34px; font-weight: 700; cursor: pointer; transition: background .2s; }
.tx-form .wpcf7 input[type="submit"]:hover { background: var(--tx-navy); }
.tx-form .tx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 767px) { .tx-form .tx-form-row { grid-template-columns: 1fr; } }

/* WooCommerce: tidy product titles on the shop grid */
.taxsol-site .woocommerce ul.products li.product .woocommerce-loop-product__title,
.taxsol-site .tpproduct__title { font-size: 18px; line-height: 1.35; }

/* ==========================================================
   Johnson Boost layout variant: white floating header with image
   logo, orange CTA, light footer (same logo as header), square-ish
   buttons
   ========================================================== */
.tx-header { background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--tx-border); box-shadow: 0 8px 28px rgba(11,31,42,.06); }
.tx-header-inner { min-height: 86px; }
.tx-logo img { max-height: 48px; }
.tx-logo-text { color: var(--tx-navy); }
.tx-logo-text b, .tx-logo-text i { color: var(--tx-primary); }
.tx-header-nav .tx-menu { background: var(--tx-light); border-radius: 50px; padding: 4px 8px; }
.tx-header-nav .tx-menu > li > a { padding: 11px 18px; border-radius: 50px; color: var(--tx-navy); font-size: 15px; }
.tx-header-nav .tx-menu > li > a:hover { color: var(--tx-primary); }
.tx-header-nav .tx-menu > li.current-menu-item > a,
.tx-header-nav .tx-menu > li.current_page_item > a { background: #fff; color: var(--tx-primary); box-shadow: 0 4px 14px rgba(11,31,42,.08); }
.tx-header-nav .tx-menu > li.current-menu-item > a::after { display: none; }
.tx-header-phone-icon { background: var(--tx-light); color: var(--tx-primary); }
.tx-btn { border-radius: 10px; background: var(--tx-accent); color: #fff !important; }
.tx-btn:hover { background: var(--tx-navy); }
.tx-cart-count { background: var(--tx-accent); }
.tx-topbar { background: var(--tx-navy); }
.tx-logo-footer img { max-height: 46px; }
.tx-footer { background: var(--tx-light); color: var(--tx-text); }
.tx-footer-title { color: var(--tx-navy); }
.tx-footer a, .tx-footer-about, .tx-footer-bottom p { color: var(--tx-text); }
.tx-footer a:hover { color: var(--tx-primary); }
.tx-footer-contact i { color: var(--tx-primary); }
.tx-footer-bottom { border-top-color: var(--tx-border); }
.tx-plan-row > .elementor-widget-wrap { transition: box-shadow .3s, border-color .3s; }
.tx-plan-row:hover > .elementor-widget-wrap { border-color: var(--tx-primary) !important; box-shadow: 0 18px 40px rgba(11,31,42,.10) !important; }
.tx-legal-nav .elementor-icon-list-item { padding: 6px 0; border-bottom: 1px solid var(--tx-border); }
.tx-legal-nav .elementor-icon-list-item:last-child { border-bottom: 0; }
@media (min-width: 1025px) { .tx-sticky > .elementor-widget-wrap { position: sticky; top: 110px; } }
@media (max-width: 1199px) { .tx-header-nav .tx-menu { background: none; } }
