/* ==========================================================
   Blakey Boost – header, footer and Elementor helper styles
   Colours: primary #4260FF, navy #0C1338, deep #05003B
   ========================================================== */
:root {
	--tx-primary: #7C3AED;
	--tx-primary-dark: #6D28D9;
	--tx-navy: #1A1033;
	--tx-deep: #120A26;
	--tx-text: #565764;
	--tx-light: #F6F2FF;
	--tx-accent: #F59E0B;
	--tx-border: #ECE6F7;
}

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

/* ---------- Top bar ---------- */
.tx-topbar { background: var(--tx-deep); color: #D9D0EE; 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: #FCD34D; }
.tx-topbar i { color: #FBBF24; margin-right: 6px; }

/* ---------- Header ---------- */
.tx-header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 6px 30px rgba(26, 16, 51, .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(26,16,51,.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, #120A26 0%, #3B1D7A 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: #C4B8DE; padding-top: 90px; }
.tx-footer-about { margin-top: 18px; color: #C4B8DE; }
.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: #C4B8DE; transition: color .2s; }
.tx-footer a:hover { color: #fff; }
.tx-footer-contact i { color: #FBBF24; 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: #C4B8DE; 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(26, 16, 51, .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: #1A1033; 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; }

/* ==========================================================
   Blakey Boost layout variant: light top bar, dark header,
   pill buttons, left-aligned page banners
   ========================================================== */
.tx-topbar { background: var(--tx-light); color: var(--tx-navy); border-bottom: 1px solid var(--tx-border); }
.tx-topbar a { color: var(--tx-navy); }
.tx-topbar a:hover { color: var(--tx-primary); }
.tx-topbar i { color: var(--tx-primary); }
.tx-topbar-text { font-weight: 600; color: var(--tx-primary); }
.tx-header { background: var(--tx-navy); box-shadow: 0 10px 30px rgba(18, 10, 38, .25); }
.tx-header-inner { min-height: 88px; }
.tx-logo-text { color: #fff; }
.tx-logo-text b, .tx-logo-text i { color: var(--tx-accent); }
.tx-logo-dark .tx-logo-text { color: var(--tx-navy); }
.tx-header-nav .tx-menu > li > a { color: #fff; }
.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-accent); }
.tx-header-nav .tx-menu > li.current-menu-item > a::after { background: var(--tx-accent); }
.tx-header-phone { color: #fff; }
.tx-header-phone small { color: #C4B8DE; }
.tx-header-phone-icon { background: rgba(255,255,255,.1); color: var(--tx-accent); }
.tx-header-phone:hover { color: var(--tx-accent); }
.tx-header-cart { color: #fff; }
.tx-cart-count { background: var(--tx-accent); color: var(--tx-navy); }
.tx-burger { background: rgba(255,255,255,.1); color: #fff; }
.tx-btn { border-radius: 50px; background: var(--tx-accent); color: var(--tx-navy) !important; padding: 14px 28px; }
.tx-btn:hover { background: #fff; color: var(--tx-navy) !important; }
.offcanvas__area .tx-btn:hover { background: var(--tx-navy); color: #fff !important; }
.tx-offcanvas-contact i { color: var(--tx-primary); }
.taxsol-site .breadcrumb-area .breadcrumb__content { text-align: left !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: 120px; } }
