/*
Theme Name: TM Technology Modern 1.5.6
Theme URI: https://tmtechnology.in/
Author: TM Technology
Description: Modern, responsive IT store and technology services theme with WooCommerce support.
Version: 1.5.6
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: tm-technology-modern
*/
:root{--tm-navy:#101d3a;--tm-blue:#145be7;--tm-cyan:#22c7d9;--tm-ink:#182235;--tm-muted:#64748b;--tm-bg:#f5f7fb;--tm-border:#e4eaf2;--tm-radius:18px;--tm-shadow:0 12px 35px rgba(16,29,58,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--tm-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:var(--tm-blue);text-decoration:none}a:hover{color:#0a43b5}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.tm-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}.tm-topbar{background:var(--tm-navy);color:#dce6fb;font-size:13px}.tm-topbar .tm-container{display:flex;justify-content:space-between;gap:16px;padding:8px 0}.tm-header{background:#fff;border-bottom:1px solid var(--tm-border);position:relative;z-index:10}.tm-header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.tm-brand{display:flex;align-items:center;gap:12px;color:var(--tm-navy);font-size:23px;font-weight:850;letter-spacing:-.6px}.tm-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--tm-blue),var(--tm-cyan));color:#fff;font-weight:900}.tm-brand img{max-height:54px;width:auto}.tm-nav{display:flex;align-items:center;gap:24px}.tm-nav a{color:#29364d;font-size:14px;font-weight:650}.tm-nav a:hover{color:var(--tm-blue)}.tm-header-actions{display:flex;align-items:center;gap:10px}.tm-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:11px;background:var(--tm-blue);color:#fff!important;font-weight:750;border:1px solid var(--tm-blue);transition:.2s}.tm-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px #145be733}.tm-btn-outline{background:#fff;color:var(--tm-navy)!important;border-color:var(--tm-border)}.tm-hero{overflow:hidden;background:radial-gradient(circle at 83% 30%,#2b7bf22b,transparent 29%),linear-gradient(120deg,#f4f8ff,#fff 62%,#eefbff);padding:76px 0 68px}.tm-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:50px}.tm-eyebrow{display:inline-flex;align-items:center;gap:8px;background:#e6efff;color:#1450bd;border-radius:99px;padding:7px 12px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:1px}.tm-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-2.1px;color:var(--tm-navy);margin:20px 0}.tm-hero h1 span{color:var(--tm-blue)}.tm-hero p{font-size:18px;max-width:590px;color:var(--tm-muted);margin:0 0 27px}.tm-hero-buttons{display:flex;flex-wrap:wrap;gap:12px}.tm-hero-visual{position:relative;min-height:350px;border-radius:30px;background:linear-gradient(140deg,#13274b,#174fb2 65%,#20bfd0);box-shadow:0 25px 65px #102e6530;padding:30px;display:flex;align-items:center;justify-content:center;color:white}.tm-device{width:min(390px,100%);padding:22px;border-radius:20px;background:#ffffff13;border:1px solid #ffffff3b;backdrop-filter:blur(8px);transform:rotate(-3deg)}.tm-device-screen{aspect-ratio:16/9;border-radius:12px;background:linear-gradient(135deg,#0a1730,#2266e7 60%,#21c8d8);display:grid;place-items:center;font-size:46px;font-weight:900;letter-spacing:-2px}.tm-device-base{height:14px;margin:0 -13px;background:linear-gradient(#e8f1ff,#879dc2);border-radius:0 0 10px 10px}.tm-float-card{position:absolute;right:14px;bottom:22px;background:#fff;color:var(--tm-ink);padding:13px 16px;border-radius:14px;box-shadow:var(--tm-shadow);font-size:13px;font-weight:750}.tm-float-card strong{display:block;color:var(--tm-blue);font-size:20px}.tm-trust{border-bottom:1px solid var(--tm-border);background:#fff}.tm-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:23px 0}.tm-trust-item{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--tm-muted)}.tm-trust-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:#edf3ff;font-size:20px}.tm-section{padding:76px 0}.tm-section-soft{background:var(--tm-bg)}.tm-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}.tm-section-head h2{margin:8px 0 0;font-size:clamp(27px,3vw,38px);letter-spacing:-1px;color:var(--tm-navy);line-height:1.2}.tm-section-head p{margin:8px 0 0;color:var(--tm-muted);max-width:590px}.tm-kicker{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:var(--tm-blue);font-weight:850}.tm-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.tm-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.tm-card{border:1px solid var(--tm-border);border-radius:var(--tm-radius);background:#fff;padding:24px;box-shadow:0 4px 15px #12264a05;transition:.22s}.tm-card:hover{transform:translateY(-4px);box-shadow:var(--tm-shadow);border-color:#c9d9f7}.tm-card-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#edf3ff;font-size:26px;margin-bottom:18px}.tm-card h3{font-size:18px;color:var(--tm-navy);margin:0 0 8px}.tm-card p{color:var(--tm-muted);font-size:14px;margin:0 0 15px}.tm-link{font-size:13px;font-weight:800}.tm-product-area ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0!important}.tm-product-area ul.products:before,.tm-product-area ul.products:after{display:none!important}.tm-product-area ul.products li.product{float:none!important;width:auto!important;margin:0!important;border:1px solid var(--tm-border);padding:16px!important;border-radius:16px;overflow:hidden}.tm-product-area ul.products li.product img{border-radius:11px}.tm-product-area ul.products li.product .woocommerce-loop-product__title{color:var(--tm-navy);font-size:15px}.tm-product-area ul.products li.product .button{background:var(--tm-blue);color:white;border-radius:9px;font-size:12px}.tm-rental-band{background:var(--tm-navy);color:#fff;border-radius:24px;padding:38px;display:flex;align-items:center;justify-content:space-between;gap:30px}.tm-rental-band h2{color:white;margin:0 0 8px;font-size:clamp(25px,3vw,34px)}.tm-rental-band p{margin:0;color:#c8d5ef;max-width:700px}.tm-rental-band .tm-btn{background:var(--tm-cyan);border-color:var(--tm-cyan);color:#082343!important;white-space:nowrap}.tm-about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}.tm-about-art{min-height:310px;border-radius:25px;background:linear-gradient(135deg,#e6efff,#dffaff);display:grid;place-items:center;font-size:100px}.tm-check-list{padding:0;list-style:none}.tm-check-list li{margin:10px 0;color:#44516a}.tm-check-list li:before{content:'✓';display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e0f8ef;color:#08794d;font-weight:900;margin-right:10px}.tm-cta{background:linear-gradient(120deg,#1558df,#10264c);border-radius:24px;padding:42px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:24px}.tm-cta h2{margin:0 0 8px;color:#fff;font-size:clamp(25px,3vw,36px)}.tm-cta p{margin:0;color:#dce7ff}.tm-footer{background:#0d1830;color:#c7d2e7;padding:55px 0 20px}.tm-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:35px}.tm-footer h3,.tm-footer h4{color:#fff;margin:0 0 14px}.tm-footer p,.tm-footer a{color:#c7d2e7;font-size:14px}.tm-footer ul{list-style:none;padding:0;margin:0}.tm-footer li{margin:8px 0}.tm-footer-bottom{border-top:1px solid #ffffff20;margin-top:36px;padding-top:18px;display:flex;justify-content:space-between;gap:15px;font-size:12px}.tm-page-head{padding:48px 0;background:var(--tm-bg)}.tm-page-head h1{margin:0;color:var(--tm-navy);font-size:clamp(30px,4vw,44px)}.tm-content{padding:45px 0;min-height:40vh}.tm-content article,.tm-content .page-content{max-width:900px}.tm-content h2,.tm-content h3{color:var(--tm-navy)}.tm-content input,.tm-content textarea,.tm-content select{max-width:100%;padding:11px;border:1px solid var(--tm-border);border-radius:8px}.menu-toggle{display:none;background:#fff;border:1px solid var(--tm-border);border-radius:9px;padding:8px 12px;color:var(--tm-navy)}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:1000px){.tm-nav{gap:14px}.tm-header-actions .tm-btn-outline{display:none}.tm-grid-4,.tm-product-area ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tm-trust-grid{grid-template-columns:repeat(2,1fr)}.tm-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.tm-container{width:min(100% - 28px,1180px)}.tm-topbar .tm-container{justify-content:center;text-align:center}.tm-topbar .tm-topbar-right{display:none}.tm-header-inner{min-height:70px;flex-wrap:wrap;padding:12px 0}.menu-toggle{display:block}.tm-nav{display:none;order:3;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px 0}.tm-nav.is-open{display:flex}.tm-nav a{padding:11px 4px;border-top:1px solid var(--tm-border)}.tm-header-actions{margin-left:auto}.tm-header-actions .tm-btn{padding:10px 12px;font-size:12px}.tm-hero{padding:48px 0}.tm-hero-grid,.tm-about-grid{grid-template-columns:1fr;gap:30px}.tm-hero h1{letter-spacing:-1.3px}.tm-hero p{font-size:16px}.tm-hero-visual{min-height:270px}.tm-trust-grid{gap:14px}.tm-trust-item{font-size:12px}.tm-section{padding:54px 0}.tm-section-head{align-items:start;flex-direction:column}.tm-grid-3{grid-template-columns:1fr}.tm-grid-4{gap:12px}.tm-card{padding:18px}.tm-card h3{font-size:16px}.tm-product-area ul.products{gap:12px!important}.tm-product-area ul.products li.product{padding:10px!important}.tm-rental-band,.tm-cta{align-items:flex-start;flex-direction:column;padding:27px}.tm-footer-grid{grid-template-columns:1fr;gap:25px}.tm-footer-bottom{flex-direction:column}.tm-about-art{min-height:220px;font-size:75px}}

/* Uploaded TM Technology logo fallback */
.tm-logo-image{display:block;width:220px;max-width:100%;height:auto;max-height:62px;object-fit:contain;object-position:left center}.tm-brand{min-width:0}

/* TM Technology homepage refinement v1.3 */
.tm-contactbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:8px 0;color:#fff;font-size:13px;font-weight:600}.tm-contactbar a{color:#fff}.tm-contactbar a:hover{text-decoration:underline}.tm-topbar{background:#0644a5;color:#fff}.tm-logo-image{max-height:66px!important;max-width:170px!important;object-fit:contain}.tm-hero-photo{background:linear-gradient(112deg,#06142f 0%,#061b43 56%,#0a4a99 100%);color:#fff}.tm-hero-photo .tm-hero-grid{min-height:360px}.tm-hero-photo .tm-hero h1,.tm-hero-photo h1{color:#fff}.tm-hero-photo .tm-hero h1 span,.tm-hero-photo h1 span{color:#1478ff}.tm-hero-photo .tm-hero p,.tm-hero-photo p{color:#e0e9fa}.tm-hero-photo .tm-eyebrow{background:#ff7423;color:#fff;letter-spacing:.4px}.tm-hero-points{display:flex;gap:18px;flex-wrap:wrap;margin-top:25px;color:#e5efff;font-size:14px}.tm-hero-real{min-height:320px;border:1px solid #ffffff20;background:radial-gradient(circle at 72% 28%,#1686ff80,transparent 33%),linear-gradient(140deg,#09224e,#0759b8 70%,#0a9eaf);box-shadow:0 25px 60px #0004}.tm-hero-image-label{position:absolute;left:24px;top:24px;display:flex;flex-direction:column;gap:5px;z-index:2}.tm-hero-image-label strong{font-size:20px;color:#fff}.tm-hero-image-label span{font-size:12px;color:#dbeafe}.tm-hero-device-graphic{width:78%;aspect-ratio:1.45;border:10px solid #ffffff45;border-radius:18px;display:grid;place-items:center;transform:rotate(-4deg);background:linear-gradient(135deg,#0b1a39,#136ee9 65%,#14b8c9);box-shadow:0 15px 35px #0003}.tm-hero-device-graphic span{font-size:clamp(42px,6vw,72px);font-weight:950;letter-spacing:-4px;color:white}.tm-hero-device-graphic i{position:absolute;bottom:-19px;width:86%;height:14px;background:linear-gradient(#dce8fa,#7890b7);border-radius:0 0 12px 12px}.tm-service-card{min-height:245px;display:flex;flex-direction:column;align-items:flex-start}.tm-service-card h3{margin:14px 0 6px}.tm-service-card p{margin:0 0 14px;color:var(--tm-muted);font-size:14px}.tm-service-card .tm-link{margin-top:auto}.tm-about-logo{display:flex;align-items:center;justify-content:center;background:#fff!important;border:1px solid var(--tm-border)}.tm-about-logo img{width:min(82%,390px);max-height:280px;object-fit:contain}.tm-about-grid h2{margin-top:8px;font-size:clamp(28px,3vw,38px);line-height:1.2;color:var(--tm-navy);letter-spacing:-1px}.tm-client-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.tm-client-card{min-height:110px;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;border:1px solid var(--tm-border);border-radius:16px;background:#fff;color:var(--tm-navy)}.tm-blog-card img{width:100%;height:180px;object-fit:cover;border-radius:10px;margin-bottom:12px}.tm-blog-card h3 a{color:var(--tm-navy)}.tm-contact-band{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px;border:1px solid var(--tm-border);border-radius:22px;background:linear-gradient(120deg,#f2f7ff,#fff)}.tm-contact-band h2{margin:6px 0;color:var(--tm-navy);font-size:clamp(25px,3vw,34px)}.tm-contact-band p{margin:0;color:var(--tm-muted)}.tm-contact-actions{display:flex;flex-wrap:wrap;gap:10px}.tm-footer a[href^="mailto:"]{word-break:break-word}
@media(max-width:900px){.tm-contactbar{flex-wrap:wrap;justify-content:center;text-align:center}.tm-client-grid{grid-template-columns:repeat(2,1fr)}.tm-contact-band{align-items:flex-start;flex-direction:column}.tm-hero-photo .tm-hero-grid{gap:28px}}
@media(max-width:640px){.tm-topbar-right{display:none}.tm-contactbar{font-size:12px;gap:6px}.tm-contactbar>span{width:100%;text-align:center}.tm-hero-photo{padding:48px 0}.tm-hero-photo .tm-hero-grid{grid-template-columns:1fr}.tm-hero-real{min-height:240px}.tm-hero-points{gap:10px;font-size:12px}.tm-client-grid{grid-template-columns:1fr 1fr}.tm-section{padding:52px 0}.tm-service-card{min-height:0}}


/* TM Technology homepage refresh v1.4 — dynamic store imagery and categories */
.tm-hero-v14{padding:68px 0 62px}.tm-hero-v14 .tm-hero-grid{grid-template-columns:1.03fr .97fr;gap:48px;min-height:390px}.tm-hero-v14 .tm-hero-copy{position:relative;z-index:2}.tm-hero-v14 h1{font-size:clamp(37px,4.6vw,59px);max-width:700px;margin:19px 0 17px;line-height:1.06}.tm-hero-v14 h1 span{color:#2783ff}.tm-hero-v14 .tm-hero-copy>p{font-size:17px;max-width:560px;line-height:1.75}.tm-hero-v14 .tm-btn-outline{background:#fff;color:#0b1d3b!important;border-color:#fff}.tm-product-photo-collage{display:block;min-height:370px;padding:24px;overflow:hidden;border-radius:27px;background:radial-gradient(circle at 78% 20%,#1c8dff7a,transparent 32%),linear-gradient(140deg,#0a2450,#0755ac 65%,#078caa)}.tm-photo-collage-heading{position:relative;z-index:3;display:flex;flex-direction:column;gap:3px;color:#fff}.tm-photo-collage-heading strong{font-size:21px;letter-spacing:-.3px}.tm-photo-collage-heading span{font-size:12px;color:#d7eaff}.tm-photo-product{position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;width:43%;height:56%;padding:12px;background:#fff;border:1px solid #ffffffc9;border-radius:18px;box-shadow:0 18px 42px #00112c65;transition:transform .2s;overflow:hidden}.tm-photo-product:hover{transform:translateY(-4px) rotate(0)!important}.tm-photo-product img{width:100%;height:calc(100% - 28px);object-fit:contain}.tm-photo-product span{width:100%;font-size:11px;line-height:1.25;font-weight:750;color:#14233c;text-align:center;overflow:hidden}.tm-photo-product-1{left:8%;top:27%;transform:rotate(-7deg);z-index:1}.tm-photo-product-2{left:32%;top:34%;transform:rotate(4deg);z-index:2}.tm-photo-product-3{right:5%;top:23%;transform:rotate(7deg);z-index:1}.tm-product-photo-collage .tm-float-card{right:15px;bottom:13px;z-index:4;padding:11px 14px}.tm-product-photo-collage .tm-float-card strong{font-size:16px}.tm-photo-fallback{height:270px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:22px}.tm-fallback-device{display:flex;flex-direction:column;align-items:center;justify-content:center;width:28%;min-width:95px;min-height:120px;border-radius:16px;background:#ffffffed;color:#14233c;font-size:38px;box-shadow:0 12px 28px #00112c44}.tm-fallback-device span{font-size:11px;font-weight:800}.tm-photo-fallback p{flex-basis:100%;text-align:center;color:#e2efff;font-size:12px;margin:0}.tm-category-section{padding-top:65px;padding-bottom:68px}.tm-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.tm-category-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:13px;border:1px solid var(--tm-border);border-radius:17px;background:#fff;color:var(--tm-ink);box-shadow:0 4px 15px #12264a05;transition:transform .2s,box-shadow .2s,border-color .2s}.tm-category-card:hover{transform:translateY(-4px);border-color:#bcd1f7;box-shadow:var(--tm-shadow);color:var(--tm-ink)}.tm-category-image,.tm-category-placeholder{display:grid;place-items:center;width:100%;height:105px;border-radius:12px;background:linear-gradient(135deg,#edf4ff,#e8fbfd);overflow:hidden}.tm-category-image img{width:100%;height:100%;object-fit:contain;padding:7px}.tm-category-placeholder{font-size:34px}.tm-category-title{font-size:13px;line-height:1.35;font-weight:800;color:var(--tm-navy)}.tm-category-count{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;font-size:11px;color:var(--tm-muted)}.tm-category-count span{color:var(--tm-blue);font-size:15px}.tm-homepage-v14 .tm-product-area ul.products li.product{display:flex;flex-direction:column;background:#fff;box-shadow:0 4px 16px #142b4d07;transition:transform .2s,box-shadow .2s}.tm-homepage-v14 .tm-product-area ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--tm-shadow)}.tm-homepage-v14 .tm-product-area ul.products li.product img{width:100%;height:190px;object-fit:contain;background:#fff}.tm-homepage-v14 .tm-product-area ul.products li.product .button{margin-top:auto}.tm-kicker-light{color:#83eff8}.tm-rental-pills{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.tm-rental-pills span{padding:6px 11px;border:1px solid #ffffff38;border-radius:99px;color:#e6f3ff;font-size:12px;font-weight:700}.tm-client-note{font-size:12px;color:var(--tm-muted);margin-top:14px}.tm-homepage-v14 .tm-service-card{min-height:230px}.tm-homepage-v14 .tm-section-head h2{letter-spacing:-.8px}
@media(max-width:1100px){.tm-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tm-hero-v14 .tm-hero-grid{gap:30px}.tm-photo-product{width:44%}.tm-photo-product-2{left:29%}}
@media(max-width:720px){.tm-hero-v14{padding:48px 0}.tm-hero-v14 .tm-hero-grid{grid-template-columns:1fr;gap:30px}.tm-hero-v14 h1{font-size:clamp(36px,10vw,48px)}.tm-product-photo-collage{min-height:300px}.tm-photo-product{height:58%;width:43%;padding:8px}.tm-photo-product-1{left:5%;top:29%}.tm-photo-product-2{left:29%;top:34%}.tm-photo-product-3{right:3%;top:24%}.tm-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tm-category-image,.tm-category-placeholder{height:105px}.tm-homepage-v14 .tm-product-area ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tm-homepage-v14 .tm-product-area ul.products li.product img{height:145px}.tm-photo-fallback{height:230px;padding:12px}.tm-fallback-device{min-width:78px;min-height:100px;width:28%;font-size:30px}}

/* TM Technology v1.4.2: staging category helper availability and cache refresh. */

/* TM Technology Modern 1.5.0 admin-managed homepage and SEO additions */
.tm-admin-seo-note{color:#646970;font-size:12px}

/* Custom homepage banner image configured in Appearance > Homepage Settings */
.tm-custom-hero-banner{padding:18px 0 8px;background:#fff}
.tm-custom-hero-banner .tm-container{width:min(1180px,calc(100% - 40px))}
.tm-custom-hero-banner img{display:block;width:100%;height:clamp(150px,22vw,285px);object-fit:cover;object-position:center;border-radius:14px;box-shadow:0 8px 26px #10264a12}
@media(max-width:720px){.tm-custom-hero-banner{padding:12px 0 4px}.tm-custom-hero-banner .tm-container{width:calc(100% - 24px)}.tm-custom-hero-banner img{height:clamp(115px,35vw,190px);border-radius:10px}}


/* TM Technology 1.5.0 banner sizing refinement: full content width, preserve full artwork */
.tm-custom-hero-banner{padding:16px 0 0!important;background:#fff!important;margin:0!important}
.tm-custom-hero-banner .tm-container{width:min(1180px,calc(100% - 40px))!important;max-width:1180px!important;margin-inline:auto!important;padding:0!important}
.tm-custom-hero-banner img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;margin:0!important;border-radius:14px!important;box-shadow:0 8px 26px #10264a12!important}
.tm-homepage-v14 > .tm-custom-hero-banner + .tm-section{padding-top:34px!important}
.tm-homepage-v14 > .tm-custom-hero-banner + .tm-section .tm-section-head{margin-bottom:24px!important}
@media(max-width:720px){.tm-custom-hero-banner{padding:12px 0 0!important}.tm-custom-hero-banner .tm-container{width:calc(100% - 24px)!important}.tm-custom-hero-banner img{width:100%!important;height:auto!important;max-height:none!important;border-radius:10px!important}.tm-homepage-v14 > .tm-custom-hero-banner + .tm-section{padding-top:28px!important}}

/* TM Technology social footer enhancement v1.5.1 */
.tm-footer-brand{display:inline-flex;align-items:center;margin:0 0 14px;max-width:210px}.tm-footer-brand img{display:block;width:auto;max-width:190px;max-height:78px;object-fit:contain;background:#fff;border-radius:8px;padding:5px}.tm-footer-company>p{max-width:360px}.tm-social-wrap{margin-top:22px}.tm-social-wrap h4{margin-bottom:10px}.tm-social-links{display:flex;align-items:center;gap:10px;margin:0 0 14px}.tm-social-links a{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #ffffff35;border-radius:11px;color:#fff;background:#ffffff0b;transition:transform .2s ease,background .2s ease,border-color .2s ease}.tm-social-links a:hover{transform:translateY(-2px);background:#1b5fe8;border-color:#1b5fe8;color:#fff}.tm-social-links svg{display:block;width:19px;height:19px;fill:currentColor}.tm-google-reviews{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #ffffff35;border-radius:9px;font-size:13px!important;font-weight:750;color:#fff!important}.tm-google-reviews:hover{background:#fff;color:#10264c!important}.tm-footer-company .tm-btn{margin-top:2px}@media(max-width:720px){.tm-footer-brand img{max-height:68px}.tm-social-wrap{margin-top:18px}.tm-social-links a{width:40px;height:40px}}

/* TM Technology Modern 1.5.2: link-safe service cards and consistent asset versioning. */
.tm-homepage-v14 .tm-services-grid .tm-service-card{height:100%;}
.tm-homepage-v14 .tm-services-grid .tm-service-card .tm-link{display:inline-block;margin-top:2px;}
/* TM Technology Contact Us page refinement — append to active theme style.css */
body.page-contact-us .tm-page-head,
body.page-template-default.page-contact-us .tm-page-head{background:linear-gradient(120deg,#f2f7ff 0%,#fff 58%,#eef8ff 100%);border-bottom:1px solid #e1eaf8}
body.page-contact-us .tm-page-head .tm-container{padding-top:12px;padding-bottom:12px}
body.page-contact-us .tm-page-head h1{font-size:clamp(34px,4vw,48px);letter-spacing:-1.2px}
body.page-contact-us .tm-content{max-width:none;padding-top:48px;padding-bottom:72px}
body.page-contact-us .tm-content article,
body.page-contact-us .tm-content .page-content{max-width:1120px;margin-inline:auto}
body.page-contact-us .tm-content .page-content>div>h2:first-child{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.6px;margin:0 0 12px;color:#10264c}
body.page-contact-us .tm-content .page-content p{line-height:1.8;color:#52627b}
body.page-contact-us .tm-content .page-content a:not(.tm-btn){font-weight:650}
/* Contact cards and map wrappers commonly used in the page content */
body.page-contact-us .tm-card,
body.page-contact-us .contact-card,
body.page-contact-us .contact-info-card,
body.page-contact-us .contact-map,
body.page-contact-us .tm-map-panel{border:1px solid #d9e5f8;border-radius:18px;box-shadow:0 10px 30px rgba(16,38,76,.055);overflow:hidden}
body.page-contact-us .tm-grid-3{gap:18px}
body.page-contact-us iframe[src*="google.com/maps"],
body.page-contact-us iframe[src*="maps.google"]{display:block;width:100%!important;max-width:100%;min-height:320px;border:0;border-radius:14px}
/* Contact form 7 and standard WordPress form controls */
body.page-contact-us .wpcf7{max-width:760px;margin:28px 0 0;padding:clamp(20px,3vw,34px);border:1px solid #dce6f5;border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(16,38,76,.06)}
body.page-contact-us .wpcf7 form p{margin:0 0 17px;color:#263752;font-weight:600}
body.page-contact-us .wpcf7 input:not([type=submit]):not([type=checkbox]),
body.page-contact-us .wpcf7 select,
body.page-contact-us .wpcf7 textarea,
body.page-contact-us .tm-content form input:not([type=submit]):not([type=checkbox]),
body.page-contact-us .tm-content form select,
body.page-contact-us .tm-content form textarea{display:block;width:100%;max-width:100%;min-height:48px;padding:12px 14px;border:1px solid #d5e0f0;border-radius:10px;background:#fff;color:#10264c;outline:none;transition:border-color .18s,box-shadow .18s}
body.page-contact-us .wpcf7 textarea,
body.page-contact-us .tm-content form textarea{min-height:145px;resize:vertical}
body.page-contact-us .wpcf7 input:focus,
body.page-contact-us .wpcf7 select:focus,
body.page-contact-us .wpcf7 textarea:focus,
body.page-contact-us .tm-content form input:focus,
body.page-contact-us .tm-content form select:focus,
body.page-contact-us .tm-content form textarea:focus{border-color:#145be7;box-shadow:0 0 0 3px rgba(20,91,231,.12)}
body.page-contact-us .wpcf7 input[type=submit],
body.page-contact-us .tm-content form button,
body.page-contact-us .tm-content form input[type=submit]{min-height:48px;padding:12px 22px;border:1px solid #145be7;border-radius:10px;background:#145be7;color:#fff;font-weight:750;cursor:pointer;transition:transform .18s,box-shadow .18s}
body.page-contact-us .wpcf7 input[type=submit]:hover,
body.page-contact-us .tm-content form button:hover,
body.page-contact-us .tm-content form input[type=submit]:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(20,91,231,.2)}
body.page-contact-us .wpcf7-not-valid-tip{font-size:13px;margin-top:5px}
body.page-contact-us .wpcf7-response-output{margin:18px 0 0!important;padding:12px 14px!important;border-radius:10px}
@media(max-width:720px){body.page-contact-us .tm-content{padding-top:30px;padding-bottom:48px}body.page-contact-us .wpcf7{padding:18px;margin-top:22px}body.page-contact-us iframe[src*="google.com/maps"],body.page-contact-us iframe[src*="maps.google"]{min-height:260px}}
/* TM Technology Professional Contact Page */
.tm-contact-page {
    --tm-blue: #155eef;
    --tm-navy: #092e57;
    --tm-text: #11264a;
    --tm-muted: #5d6c83;
    --tm-line: #dce7f5;
    color: var(--tm-text);
    font-family: inherit;
}

.tm-contact-container {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.tm-contact-hero {
    overflow: hidden;
    background: linear-gradient(112deg, #f3f8ff, #d8e9ff);
    padding: 48px 0 42px;
}

.tm-contact-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 28px;
    min-height: 205px;
}

.tm-contact-eyebrow {
    margin: 0 0 14px;
    color: var(--tm-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tm-contact-hero h1 {
    margin: 0;
    color: var(--tm-navy);
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -1.6px;
}

.tm-contact-hero h1 span {
    color: var(--tm-blue);
}

.tm-contact-lead {
    max-width: 650px;
    margin: 18px 0 0;
    color: #53647f;
    font-size: 18px;
    line-height: 1.7;
}

.tm-contact-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.tm-contact-service-tags span {
    padding: 8px 12px;
    border: 1px solid #d7e6fb;
    border-radius: 9px;
    background: #ffffffb8;
    color: #173a67;
    font-size: 12px;
    font-weight: 700;
}

/* CSS illustration — no additional image required */
.tm-contact-hero-art {
    position: relative;
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.tm-contact-art-orb {
    position: absolute;
    width: 290px;
    height: 230px;
    border-radius: 50%;
    background: linear-gradient(145deg, #d5e8ff, #edf5ff);
    z-index: -1;
}

.tm-contact-device-laptop {
    width: 220px;
    height: 130px;
    border: 9px solid #18385d;
    border-bottom-width: 14px;
    border-radius: 10px;
    background: linear-gradient(145deg, #0d3d73, #1678e8);
    box-shadow: 0 18px 25px #153c6725;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: perspective(500px) rotateY(-8deg);
    font-size: 35px;
    font-weight: 900;
}

.tm-contact-device-laptop small {
    font-size: 13px;
    font-weight: 600;
}

.tm-contact-device-server {
    position: absolute;
    right: 7%;
    bottom: 16px;
    width: 57px;
    height: 115px;
    border-radius: 7px;
    background: linear-gradient(90deg, #172f4c, #365d85);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.tm-contact-device-server i {
    height: 6px;
    border-radius: 4px;
    background: #7eb7ff;
}

.tm-contact-device-cctv {
    position: absolute;
    left: 8%;
    top: 28px;
    width: 76px;
    height: 32px;
    border-radius: 9px 14px 14px 9px;
    background: linear-gradient(135deg, #fff, #9fb5ce);
    transform: rotate(-13deg);
}

.tm-contact-device-cctv:before {
    content: "";
    position: absolute;
    left: -12px;
    top: 7px;
    width: 20px;
    height: 18px;
    border-radius: 50%;
    background: #15385f;
    border: 4px solid #b9cce0;
}

.tm-contact-device-cctv span {
    position: absolute;
    right: 4px;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #183c65;
}

.tm-contact-art-dot {
    position: absolute;
    width: 65px;
    height: 42px;
    background-image: radial-gradient(#83baff 2px, transparent 2px);
    background-size: 12px 12px;
}

.tm-contact-art-dot-one { left: 2%; top: 8px; }
.tm-contact-art-dot-two { right: 1%; top: 36px; }

/* Contact information cards */
.tm-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-top: 24px;
}

.tm-contact-card {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px 20px;
    border: 1px solid var(--tm-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px #1036660b;
    text-decoration: none !important;
    transition: transform .2s, box-shadow .2s;
}

.tm-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px #10366619;
}

.tm-contact-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8f1ff;
}

.tm-contact-icon svg {
    width: 23px;
    height: 23px;
    fill: var(--tm-blue);
}

.tm-contact-card-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.tm-contact-card-copy strong {
    color: var(--tm-navy);
    font-size: 18px;
}

.tm-contact-card-copy small {
    color: var(--tm-muted);
    font-size: 12px;
    line-height: 1.55;
}

.tm-contact-card-copy b {
    color: var(--tm-blue);
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.tm-contact-card-copy em {
    color: var(--tm-blue);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

/* Form and map columns */
.tm-contact-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 22px;
    padding-top: 22px;
    padding-bottom: 52px;
    align-items: stretch;
}

.tm-contact-form-panel,
.tm-contact-map-panel {
    min-width: 0;
    border: 1px solid var(--tm-line);
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 10px 30px #1036660f;
}

.tm-contact-form-panel {
    padding: 30px;
    background: #fff;
}

.tm-contact-form-panel h2,
.tm-contact-map-panel h2 {
    margin: 0;
    color: var(--tm-navy);
    font-size: 28px;
    line-height: 1.25;
}

.tm-contact-panel-lead {
    margin: 12px 0 24px;
    color: var(--tm-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Contact Form 7 styling */
.tm-contact-form-shortcode .wpcf7,
.tm-contact-form-shortcode .wpcf7 form {
    width: 100%;
    margin: 0;
}

.tm-contact-form-shortcode .wpcf7 form p {
    margin: 0 0 15px;
}

.tm-contact-form-shortcode .wpcf7 label {
    display: block;
    color: #263c5c;
    font-size: 13px;
    font-weight: 600;
}

.tm-contact-form-shortcode .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.tm-contact-form-shortcode .wpcf7 select,
.tm-contact-form-shortcode .wpcf7 textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-top: 7px;
    padding: 12px 14px;
    border: 1px solid #d4dfed;
    border-radius: 9px;
    background: #fbfdff;
    color: var(--tm-text);
    font: inherit;
    font-size: 14px;
}

.tm-contact-form-shortcode .wpcf7 input:focus,
.tm-contact-form-shortcode .wpcf7 select:focus,
.tm-contact-form-shortcode .wpcf7 textarea:focus {
    border-color: var(--tm-blue);
    outline: 2px solid #155eef20;
}

.tm-contact-form-shortcode .wpcf7 textarea {
    min-height: 115px;
    resize: vertical;
}

.tm-contact-form-shortcode .wpcf7 input[type=submit] {
    border: 0;
    border-radius: 9px;
    background: var(--tm-blue);
    padding: 13px 23px;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.tm-contact-form-shortcode .wpcf7 input[type=submit]:hover {
    background: #0c4fcf;
}

.tm-contact-form-shortcode .wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
}

.tm-contact-form-shortcode .wpcf7 .wpcf7-response-output {
    margin: 15px 0 0;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
}

.tm-contact-privacy {
    margin: 18px 0 0;
    color: #748197;
    font-size: 12px;
    line-height: 1.65;
}

/* Office location panel */
.tm-contact-map-panel {
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    gap: 18px;
    padding: 24px;
    background: linear-gradient(145deg, #0a315a, #064078);
    color: #fff;
}

.tm-contact-map-panel .tm-contact-eyebrow {
    color: #91c2ff;
}

.tm-contact-map-panel h2 {
    color: #fff;
    font-size: 25px;
}

.tm-contact-map-copy > p:not(.tm-contact-eyebrow) {
    color: #d8e7f7;
    font-size: 14px;
    line-height: 1.7;
}

.tm-contact-detail-list {
    display: grid;
    gap: 13px;
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.tm-contact-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
}

.tm-contact-detail-list li span {
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    border-radius: 7px;
    background: #1769ce;
}

.tm-contact-detail-list a {
    color: #fff;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.tm-contact-map-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 6px;
    padding: 12px 16px;
    border-radius: 9px;
    background: #1264ef;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
}

.tm-contact-map-frame {
    min-height: 300px;
    overflow: hidden;
    border: 1px solid #ffffff40;
    border-radius: 12px;
    background: #e4edf8;
}

.tm-contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
}

/* Tablet and mobile */
@media (max-width: 1000px) {
    .tm-contact-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .tm-contact-container {
        width: calc(100% - 32px);
    }

    .tm-contact-hero {
        padding: 38px 0 30px;
    }

    .tm-contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tm-contact-hero h1 {
        font-size: clamp(34px, 9vw, 46px);
    }

    .tm-contact-lead {
        font-size: 16px;
    }

    .tm-contact-hero-art {
        min-height: 160px;
    }

    .tm-contact-device-laptop {
        width: 180px;
        height: 105px;
    }

    .tm-contact-device-server {
        height: 90px;
        right: 8%;
    }

    .tm-contact-cards {
        grid-template-columns: 1fr;
        padding-top: 18px;
        gap: 12px;
    }

    .tm-contact-card {
        padding: 17px;
    }

    .tm-contact-main {
        padding-top: 18px;
        gap: 16px;
    }

    .tm-contact-form-panel {
        padding: 22px 17px;
    }

    .tm-contact-form-panel h2 {
        font-size: 25px;
    }

    .tm-contact-map-panel {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .tm-contact-map-frame,
    .tm-contact-map-frame iframe {
        min-height: 260px;
    }

    .tm-contact-service-tags span {
        font-size: 11px;
    }
}

/* TM Technology Contact Page - Wider Google Map */
.tm-contact-page .tm-contact-map-panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 20px;
}

.tm-contact-page .tm-contact-map-frame {
    width: 100%;
    min-width: 0;
    min-height: 340px;
}

.tm-contact-page .tm-contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
}

/* Mobile: keep map full width */
@media (max-width: 720px) {
    .tm-contact-page .tm-contact-map-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .tm-contact-page .tm-contact-map-frame,
    .tm-contact-page .tm-contact-map-frame iframe {
        width: 100%;
        min-height: 280px;
    }
}

/* TM Technology Contact Form - Message Box Height Fix */
.tm-contact-page .tm-contact-form-shortcode textarea {
    min-height: 100px !important;
    height: 110px !important;
    max-height: 160px;
    resize: vertical;
    box-sizing: border-box;
}

.tm-contact-page .tm-contact-form-shortcode textarea:focus {
    height: 110px !important;
}
/* TM Technology — Global Mobile Header Refinement */
@media (max-width: 600px) {

  /* Compact contact bar */
  .tm-topbar .tm-contactbar {
    width: calc(100% - 20px);
    padding: 6px 0;
    gap: 3px 10px;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    line-height: 1.45;
  }

  .tm-topbar .tm-contactbar > span {
    width: auto;
    max-width: 100%;
  }

  .tm-topbar .tm-contactbar .tm-topbar-right {
    display: none;
  }

  /* Main header */
  .tm-header-inner {
    min-height: 0;
    padding: 9px 0;
    gap: 8px 12px;
    align-items: center;
  }

  .tm-brand {
    flex: 0 1 auto;
    min-width: 0;
    gap: 6px;
  }

  .tm-logo-image {
    display: block;
    width: auto;
    max-width: 138px !important;
    max-height: 48px !important;
    height: auto;
    object-fit: contain;
  }

  /* Menu button */
  .tm-header-inner > .menu-toggle {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 8px 11px;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
  }

  /* Account, Wishlist and Cart row */
  .tm-header-inner > .tm-header-actions {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    padding-top: 3px;
    justify-content: flex-end;
    gap: 20px;
  }

  .tm-header-icon-link {
    min-width: 36px;
    gap: 3px;
    font-size: 10px;
  }

  .tm-header-icon-link svg {
    width: 21px;
    height: 21px;
  }

  .tm-cart-count {
    top: -5px;
  }

  /* Mobile navigation */
  .tm-header-inner > .tm-nav {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 4px 0 0;
  }

  .tm-header-inner > .tm-nav.is-open {
    display: flex;
  }

  .tm-nav a {
    padding: 10px 5px;
    font-size: 14px;
  }

  /* Prevent horizontal overflow */
  .tm-header,
  .tm-topbar {
    max-width: 100%;
  }

  /* Shared content spacing */
  .tm-container {
    width: calc(100% - 24px);
  }
}

/* Very narrow phones */
@media (max-width: 360px) {
  .tm-logo-image {
    max-width: 115px !important;
    max-height: 42px !important;
  }

  .tm-header-inner {
    gap: 7px 8px;
  }

  .tm-header-inner > .menu-toggle {
    padding: 7px 9px;
    font-size: 13px;
  }

  .tm-header-inner > .tm-header-actions {
    gap: 15px;
  }
}



/* TM Technology 1.5.3 — Mobile bottom navigation and shopping actions */
.tm-mobile-bottom-nav,
.tm-mobile-actionbar { display:none; }

@media (max-width: 767px) {
  body { padding-bottom: calc(126px + env(safe-area-inset-bottom, 0px)) !important; }

  .tm-mobile-bottom-nav {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 99990;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 61px;
    padding: 7px 3px calc(7px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #dfe7f2;
    box-shadow: 0 -5px 22px rgba(16, 38, 76, .10);
  }

  .tm-mobile-bottom-nav a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #33445f;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
  }

  .tm-mobile-bottom-nav a svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .tm-mobile-bottom-nav a.is-active { color: #145be7; }
  .tm-mobile-bottom-nav a:focus-visible,
  .tm-mobile-actionbar a:focus-visible,
  .tm-mobile-actionbar button:focus-visible {
    outline: 3px solid #75a5ff;
    outline-offset: 2px;
  }

  .tm-mobile-cart-link { position: relative; }
  .tm-mobile-cart-badge {
    position: absolute;
    top: -4px;
    left: calc(50% + 5px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #145be7;
    color: #fff;
    font-size: 9px;
    line-height: 16px;
  }

  .tm-mobile-actionbar {
    position: fixed;
    inset-inline: 0;
    bottom: calc(61px + env(safe-area-inset-bottom, 0px));
    z-index: 99989;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 9px 12px;
    background: rgba(255,255,255,.98);
    border-top: 1px solid #e5ebf4;
    box-shadow: 0 -4px 16px rgba(16, 38, 76, .06);
  }

  .tm-mobile-actionbar .tm-mobile-action {
    min-width: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    border: 1px solid #145be7;
    border-radius: 10px;
    background: #145be7;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }

  .tm-mobile-actionbar .tm-mobile-action-secondary {
    background: #fff;
    color: #10264c;
    border-color: #d5dfef;
  }

  .tm-mobile-actionbar .tm-mobile-action-dark {
    background: #10264c;
    border-color: #10264c;
    color: #fff;
  }

  .tm-mobile-actionbar button:disabled {
    opacity: .55;
    cursor: not-allowed;
  }

  /* Keep Google reCAPTCHA visible above the fixed controls. */
  .grecaptcha-badge {
    bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 99980 !important;
  }
}

@media (max-width: 360px) {
  .tm-mobile-bottom-nav a { font-size: 9px; }
  .tm-mobile-bottom-nav a svg { width: 19px; height: 19px; }
  .tm-mobile-actionbar { gap: 7px; padding-inline: 8px; }
  .tm-mobile-actionbar .tm-mobile-action { font-size: 12px; padding-inline: 6px; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0 !important; }
}


/* TM Technology 1.5.4 — remove the oversized mobile Shop Now / View Cart action bar.
   Keep the five-item bottom navigation visible on mobile. */
@media (max-width: 767px) {
  .tm-mobile-actionbar { display: none !important; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important; }
  .grecaptcha-badge {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 99980 !important;
  }
}


/* TM Technology 1.5.5 — polished WooCommerce inner/product pages and Buy Now button. */
/* Product detail pages should not repeat the generic Shop title banner. */
body.single-product .tmtm-shop-banner { display: none !important; }

/* Stronger product-page frame and spacing. */
body.single-product .tm-content.tm-product-area {
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 64px;
  padding: clamp(20px, 3vw, 38px);
  min-height: 0;
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(16, 38, 76, .08);
}
body.single-product .tm-content.tm-product-area .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: #64748b;
  font-size: 12px;
}
body.single-product .tm-content.tm-product-area .woocommerce-breadcrumb a {
  color: #145be7;
  font-weight: 650;
}
body.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 54px);
  margin: 0;
}
body.single-product div.product div.images,
body.single-product div.product div.summary {
  float: none !important;
  width: auto !important;
  max-width: 100%;
  margin: 0 !important;
}
body.single-product div.product div.images {
  padding: 18px;
  border: 1px solid #e5ebf4;
  border-radius: 18px;
  background: linear-gradient(145deg, #fbfdff, #f4f7fc);
}
body.single-product div.product div.images img {
  border-radius: 12px;
}
body.single-product div.product .product_title {
  margin: 0 0 18px;
  color: #10264c;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.25;
  letter-spacing: -.6px;
}
body.single-product div.product p.price,
body.single-product div.product span.price {
  margin: 0 0 18px;
  color: #10264c;
  font-size: 25px;
  font-weight: 800;
}
body.single-product div.product p.price del,
body.single-product div.product span.price del {
  color: #8b96a8;
  font-size: .72em;
  font-weight: 500;
}
body.single-product div.product p.price ins,
body.single-product div.product span.price ins {
  color: #08794d;
  text-decoration: none;
}
body.single-product div.product .woocommerce-product-details__short-description {
  margin: 0 0 20px;
  color: #465670;
  font-size: 15px;
  line-height: 1.8;
}
body.single-product div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 16px;
  border: 1px solid #e1e8f2;
  border-radius: 14px;
  background: #f8faff;
}
body.single-product div.product form.cart .quantity {
  margin: 0 !important;
}
body.single-product div.product form.cart .quantity .qty {
  min-height: 46px;
  width: 64px;
  border: 1px solid #d5dfef;
  border-radius: 9px;
  background: #fff;
}
body.single-product div.product form.cart .single_add_to_cart_button,
body.single-product div.product form.cart .tm-buy-now-button {
  min-height: 46px;
  margin: 0 !important;
  padding: 12px 20px !important;
  border: 1px solid #145be7 !important;
  border-radius: 10px !important;
  background: #145be7 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.3;
  box-shadow: 0 5px 14px rgba(20, 91, 231, .14);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
body.single-product div.product form.cart .tm-buy-now-button {
  border-color: #10264c !important;
  background: #10264c !important;
}
body.single-product div.product form.cart .single_add_to_cart_button:hover,
body.single-product div.product form.cart .tm-buy-now-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 38, 76, .18);
}
body.single-product div.product .product_meta {
  padding-top: 16px;
  border-top: 1px solid #e7edf5;
  color: #64748b;
  font-size: 12px;
  line-height: 1.8;
}
body.single-product div.product .product_meta a { font-weight: 650; }
body.single-product .related.products,
body.single-product .up-sells.upsells {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid #e4eaf2;
}
body.single-product .related.products > h2,
body.single-product .up-sells.upsells > h2 {
  margin-bottom: 20px;
  color: #10264c;
  font-size: clamp(23px, 2.5vw, 30px);
}

/* Keep WooCommerce inner pages visually consistent and readable. */
body.woocommerce:not(.single-product) .tm-content.tm-product-area {
  padding-top: 34px;
  padding-bottom: 58px;
}
body.woocommerce .tm-page-head {
  border-bottom: 1px solid #e1e8f2;
  background: linear-gradient(120deg, #eef4ff 0%, #fff 58%, #edfaff 100%);
}
body.woocommerce .tm-page-head .tm-kicker { margin-bottom: 8px; display: inline-block; }

@media (max-width: 767px) {
  body.single-product .tm-content.tm-product-area {
    width: calc(100% - 20px);
    margin: 14px auto 28px;
    padding: 14px;
    border-radius: 16px;
  }
  body.single-product div.product {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  body.single-product div.product div.images { padding: 10px; }
  body.single-product div.product .product_title { font-size: 25px; }
  body.single-product div.product p.price,
  body.single-product div.product span.price { font-size: 23px; }
  body.single-product div.product form.cart { padding: 12px; gap: 8px; }
  body.single-product div.product form.cart .single_add_to_cart_button,
  body.single-product div.product form.cart .tm-buy-now-button { flex: 1 1 auto; padding-inline: 13px !important; }
}


/* TM Technology 1.5.6 — global product search and full-width product recommendations. */

/* A compact product search available on every page. */
.tm-global-search-wrap {
  width: 100%;
  padding: 10px 0 12px;
  background: #fff;
  border-bottom: 1px solid #e7edf5;
}
.tm-global-product-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(760px, calc(100% - 40px));
  min-height: 44px;
  margin: 0 auto;
  padding: 4px 5px 4px 14px;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: #f8faff;
  box-shadow: 0 3px 12px rgba(16, 38, 76, .035);
}
.tm-global-product-search:focus-within {
  border-color: #145be7;
  box-shadow: 0 0 0 3px rgba(20, 91, 231, .10);
}
.tm-global-search-icon {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #58708f;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.tm-global-product-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 34px;
  margin: 0;
  padding: 6px 4px;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: #10264c;
  font: inherit;
  font-size: 14px;
}
.tm-global-product-search input[type="search"]::-webkit-search-cancel-button {
  cursor: pointer;
}
.tm-global-product-search button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 18px;
  border: 0;
  border-radius: 9px;
  background: #145be7;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.tm-global-product-search button:hover {
  background: #1048bc;
}

/* WooCommerce places tabs and related products inside div.product.
   Make those sections span both product columns instead of sitting beside each other. */
body.single-product div.product .woocommerce-tabs,
body.single-product div.product .related.products,
body.single-product div.product .up-sells.upsells {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  float: none !important;
  clear: both;
}
body.single-product div.product .woocommerce-tabs {
  margin-top: 18px;
}
body.single-product div.product .related.products,
body.single-product div.product .up-sells.upsells {
  margin-top: 34px;
}
body.single-product div.product .related.products ul.products,
body.single-product div.product .up-sells.upsells ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin: 0 !important;
}
body.single-product div.product .related.products ul.products::before,
body.single-product div.product .related.products ul.products::after,
body.single-product div.product .up-sells.upsells ul.products::before,
body.single-product div.product .up-sells.upsells ul.products::after {
  display: none !important;
}
body.single-product div.product .related.products ul.products li.product,
body.single-product div.product .up-sells.upsells ul.products li.product {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

/* Search remains comfortable on phones; leave the five-item bottom navigation intact. */
@media (max-width: 767px) {
  .tm-global-search-wrap {
    padding: 8px 0;
  }
  .tm-global-product-search {
    width: calc(100% - 24px);
    min-height: 42px;
    gap: 7px;
    padding-left: 10px;
    border-radius: 10px;
  }
  .tm-global-product-search input[type="search"] {
    font-size: 13px;
  }
  .tm-global-product-search button {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 12px;
  }
  body.single-product div.product .related.products ul.products,
  body.single-product div.product .up-sells.upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body.single-product div.product .related.products ul.products,
  body.single-product div.product .up-sells.upsells ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* TM Technology 1.5.7 — final responsive polish based on supplied screenshots. */
/* Ensure product details tabs and recommendations occupy their own full-width rows. */
body.single-product div.product > .woocommerce-tabs,
body.single-product div.product > .related.products,
body.single-product div.product > .up-sells.upsells,
body.single-product div.product .woocommerce-tabs,
body.single-product div.product .related.products,
body.single-product div.product .up-sells.upsells {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  clear: both !important;
  justify-self: stretch;
}
body.single-product div.product .woocommerce-tabs {
  order: 3;
  margin-top: 26px !important;
}
body.single-product div.product .up-sells.upsells { order: 4; }
body.single-product div.product .related.products { order: 5; }
body.single-product div.product .related.products ul.products,
body.single-product div.product .up-sells.upsells ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Avoid repeating the large archive search when the global search is present. */
body.woocommerce-shop .tmtm-shop-banner form,
body.tax-product_cat .tmtm-shop-banner form,
body.tax-product_tag .tmtm-shop-banner form {
  display: none !important;
}

@media (max-width: 767px) {
  /* Reduce the vertical footprint without hiding useful shopping links. */
  .tm-topbar .tm-contactbar {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    row-gap: 2px !important;
    font-size: 10px !important;
  }
  .tm-header-inner {
    row-gap: 5px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }
  .tm-header-inner > .tm-header-actions {
    padding-top: 1px !important;
    gap: 16px !important;
  }
  .tm-header-icon-link {
    gap: 2px !important;
    font-size: 10px !important;
  }
  .tm-global-search-wrap {
    padding: 6px 0 !important;
  }
  .tm-global-product-search {
    min-height: 39px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
  }
  .tm-global-product-search button {
    min-height: 32px !important;
    padding: 6px 10px !important;
  }

  /* Keep Google reCAPTCHA visible, but reduce how much content it covers. */
  .grecaptcha-badge {
    position: fixed !important;
    right: 4px !important;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    transform: scale(.72) !important;
    transform-origin: right bottom !important;
    z-index: 99980 !important;
  }

  body.single-product div.product > .woocommerce-tabs,
  body.single-product div.product > .related.products,
  body.single-product div.product > .up-sells.upsells,
  body.single-product div.product .woocommerce-tabs,
  body.single-product div.product .related.products,
  body.single-product div.product .up-sells.upsells {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
  body.single-product div.product .related.products ul.products,
  body.single-product div.product .up-sells.upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  body.single-product div.product .related.products ul.products li.product,
  body.single-product div.product .up-sells.upsells ul.products li.product {
    overflow-wrap: anywhere;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body.single-product div.product .related.products ul.products,
  body.single-product div.product .up-sells.upsells ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* TM Technology 1.5.8 — avoid duplicate account/wishlist/cart controls on mobile.
   These actions are already available in the fixed five-item bottom navigation. */
@media (max-width: 767px) {
  .tm-header-inner > .tm-header-actions,
  .tm-header-inner > .tm-header-icon-actions {
    display: none !important;
  }
}
