                        /* ==========================================================================
   Purlin Automation — corporate "TiMOTION-style" theme
   Loaded AFTER style1.css and admin1.css, so it only overrides what it must.
   Delete the <link> to this file in index.html to return to the old look.
   ========================================================================== */
                        
                         :root {
                            --steel: #555555;
                            --steel-light: #888888;
                            --line: #dcdcdc;
                            --tm-yellow: #FFB800;
                            --tm-yellow-hover: #f0ab00;
                            --tm-gray-btn: #dddddd;
                            --tm-text: #555555;
                        }
                        
                        body {
                            font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
                            color: var(--tm-text);
                            background: #fff;
                        }
                        /* ---------------- Header ---------------- */
                        
                        .util-bar {
                            background: #f5f5f5;
                            border-bottom: 1px solid #e2e2e2;
                            font-size: 13px;
                        }
                        
                        .util-bar a {
                            color: #666;
                        }
                        
                        .util-bar a:hover {
                            color: #222;
                        }
                        
                        header {
                            background: #fff;
                            border-bottom: 1px solid #dcdcdc;
                            box-shadow: none;
                        }
                        
                        .nav-row {
                            min-height: 70px;
                        }
                        
                        .logo img {
                            height: 48px;
                            width: auto;
                        }
                        
                        nav.primary .nav-link,
                        nav.primary a.nav-link,
                        .nav-cta .nav-link {
                            font-family: inherit;
                            font-size: 15px;
                            font-weight: 400;
                            color: #555;
                            letter-spacing: 0;
                            text-transform: none;
                        }
                        
                        nav.primary .nav-link:hover,
                        .nav-cta .nav-link:hover {
                            color: #111;
                        }

                        /* ---------------- Header hover underline animation ----------------
                           Exact text-width line. Opens left-to-right and closes right-to-left. */
                        nav.primary .nav-link,
                        .nav-cta .nav-link {
                            text-decoration: none !important;
                        }

                        nav.primary .nav-link .nav-label,
                        .nav-cta .nav-link .nav-label {
                            position: relative;
                            display: inline-block;
                            text-decoration: none !important;
                        }

                        nav.primary .nav-link .nav-label::after,
                        .nav-cta .nav-link .nav-label::after {
                            content: "";
                            position: absolute;
                            left: 0;
                            right: 0;
                            bottom: -29px;
                            height: 6px;
                            background: #1478b8;
                            border-radius: 2px;
                            pointer-events: none;
                            clip-path: inset(0 100% 0 0);
                            -webkit-clip-path: inset(0 100% 0 0);
                            transition: clip-path 0.42s cubic-bezier(.22,.61,.36,1),
                                        -webkit-clip-path 0.42s cubic-bezier(.22,.61,.36,1);
                        }

                        nav.primary .nav-link:hover .nav-label::after,
                        nav.primary .nav-link:focus-visible .nav-label::after,
                        .nav-cta .nav-link:hover .nav-label::after,
                        .nav-cta .nav-link:focus-visible .nav-label::after {
                            clip-path: inset(0 0 0 0);
                            -webkit-clip-path: inset(0 0 0 0);
                        }

                        .caret {
                            width: 8px;
                            height: 5px;
                            margin-left: 3px;
                        }
                        /* globe icon in front of the language switch */
                        
                        .lang-select .nav-link::before {
                            content: "";
                            display: inline-block;
                            width: 22px;
                            height: 22px;
                            margin-right: 5px;
                            vertical-align: middle;
                            background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.4'><circle cx='12' cy='12' r='9.5'/><ellipse cx='12' cy='12' rx='4' ry='9.5'/><path d='M2.5 12h19M4 7h16M4 17h16'/></svg>") center / contain no-repeat;
                        }
                        
                        .icon-btn {
                            color: #999;
                        }
                        
                        .icon-btn:hover {
                            color: #333;
                        }
                        
                        .icon-btn .badge {
                            background: #fff;
                            color: #222;
                            border: 1px solid #222;
                            font-size: 10px;
                            font-weight: 600;
                            min-width: 17px;
                            height: 17px;
                            line-height: 15px;
                            border-radius: 50%;
                            padding: 0 3px;
                        }
                        /* ---------------- About block ---------------- */
                        
                        .intro {
                            background: #fff;
                            border: 0;
                            padding: 70px 0 60px;
                        }
                        
                        .intro .wrap.about-grid {
                            display: grid;
                            grid-template-columns: minmax(240px, 1fr) 2.2fr;
                            gap: 48px;
                            align-items: start;
                        }
                        
                        .about-lead h2 {
                            font-family: inherit;
                            font-size: 2.15rem;
                            font-weight: 400;
                            line-height: 1.25;
                            letter-spacing: 0;
                            text-transform: none;
                            color: #555;
                            margin: 0 0 24px;
                        }
                        
                        .about-sub {
                            font-size: 1.15rem;
                            color: #555;
                            margin: 0 0 34px;
                        }
                        
                        .btn-yellow {
                            display: inline-block;
                            background: var(--tm-yellow);
                            color: #111;
                            border: 0;
                            border-radius: 999px;
                            padding: 13px 24px;
                            font: 400 15px/1 inherit;
                            font-family: inherit;
                            cursor: pointer;
                            transition: background 0.15s ease;
                        }
                        
                        .btn-yellow:hover {
                            background: var(--tm-yellow-hover);
                        }
                        
                        .about-text p {
                            font-size: 15px;
                            line-height: 1.75;
                            color: #555;
                            margin: 0 0 18px;
                        }
                        
                        .about-text details summary {
                            cursor: pointer;
                            color: #555;
                            text-decoration: underline;
                            margin-bottom: 14px;
                        }
                        /* ---------------- Our Markets ---------------- */
                        
                        #markets {
                            padding: 30px 0 70px;
                            background: #ffffff;
                        }
                        
                        #markets .section-head {
                            display: block;
                            text-align: center;
                            margin-bottom: 26px;
                        }
                        
                        #markets .section-head .section-tag,
                        #markets .section-head p {
                            display: none;
                        }
                        
                        #markets .section-head h2 {
                            max-width: none;
                            margin: 0 auto;
                            font-family: inherit;
                            font-size: 1.6rem;
                            font-weight: 400;
                            letter-spacing: 0;
                            text-transform: none;
                            color: #555;
                        }
                        
                        #markets .markets-grid {
                            max-width: var(--max, 1200px);
                            margin: 0 auto;
                            padding: 0 24px;
                            display: grid;
                            grid-template-columns: repeat(4, 1fr);
                            gap: 14px;
                            background: none;
                            border: 0;
                        }
                        
                        #markets .market-card {
                            display: flex;
                            flex-direction: column;
                            background: #fff;
                            border: 1px solid #dcdcdc;
                            min-height: 0;
                            padding: 0;
                        }
                        
                        #markets .market-pic {
                            position: relative;
                            height: 135px;
                            overflow: hidden;
                            border-bottom: 1px solid #dcdcdc;
                            background: #f1f1f0;
                        }
                        
                        #markets .market-pic img,
                        #markets .market-pic svg {
                            position: absolute;
                            inset: 0;
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            object-position: 15% center;
                        }
                        
                        #markets .market-body {
                            display: flex;
                            flex-direction: column;
                            flex: 1;
                            padding: 18px 16px 24px;
                            gap: 0;
                        }
                        
                        #markets .market-body h3 {
                            font-family: inherit;
                            font-size: 1.1rem;
                            font-weight: 400;
                            letter-spacing: 0;
                            text-transform: none;
                            color: #555;
                            margin: 0 0 14px;
                        }
                        
                        #markets .market-body p {
                            font-size: 15px;
                            line-height: 1.7;
                            color: #555;
                            margin: 0 0 22px;
                        }
                        
                        .btn-learn {
                            display: block;
                            width: 150px;
                            margin: auto auto 0;
                            padding: 11px 0;
                            text-align: center;
                            background: #f6aa07;
                            color: #555;
                            border-radius: 999px;
                            font-size: 14px;
                            text-decoration: none;
                            transition: background 0.15s ease;
                        }
                        
                        .btn-learn:hover {
                            background: #cfcfcf;
                            color: #222;
                        }
                        /* ---------------- Responsive ---------------- */
                        
                        @media (max-width: 1000px) {
                            #markets .markets-grid {
                                grid-template-columns: repeat(2, 1fr);
                            }
                        }
                        
                        @media (max-width: 860px) {
                            .intro .wrap.about-grid {
                                grid-template-columns: 1fr;
                                gap: 28px;
                            }
                            .about-lead h2 {
                                font-size: 1.8rem;
                            }
                        }
                        
                        @media (max-width: 560px) {
                            #markets .markets-grid {
                                grid-template-columns: 1fr;
                            }
                        }
                        /* ---------------- "What makes us different" strip ----------------
   The palette token --bg-dark is a light grey in this build, which left
   this (originally dark) section with white-on-grey text. Made it a clean
   light section with dark text instead. */
                        
                        .about-product {
                            background: #f5f5f5;
                            color: #555;
                        }
                        
                        .about-product h2,
                        .feature h4 {
                            color: #333;
                            font-family: inherit;
                            font-weight: 500;
                        }
                        
                        .about-product .lead {
                            color: #555;
                        }
                        
                        .feature {
                            border-top: 1px solid #d0d0d0;
                        }
                        
                        .feature p {
                            color: #666;
                        }
                        /* ---------------- Mobile overflow guard ----------------
   Grid children default to min-width:auto, so the horizontally-scrolling
   category tabs and the footer columns pushed the page wider than the phone. */
                        
                        .cat-layout>*,
                        .foot-grid>* {
                            min-width: 0;
                        }
                        /* Footer columns: style1.css has these breakpoints written as max-width:100px
   (a typo), so the 5-column footer never collapsed on tablets/phones. */
                        
                        @media (max-width: 900px) {
                            .foot-grid {
                                grid-template-columns: 1fr 1fr;
                            }
                            .foot-brand {
                                grid-column: 1 / -1;
                            }
                        }
                        
                        @media (max-width: 560px) {
                            .foot-grid {
                                grid-template-columns: 1fr;
                            }
                        }
                        /* ---------------- Product Categories (simplified TiMOTION-style cards) ----------------
   The cards used to carry a spec table + segment chips (from an earlier,
   denser design). TiMOTION's own cards are just a photo, a title and one
   line of copy, so this trims the old card CSS down to match. */
                        
                        #product-categories {
                            padding: 50px 0 60px;
                        }
                        
                        #product-categories .heading {
                            text-align: center;
                            margin-bottom: 26px;
                        }
                        
                        #product-categories .heading span {
                            display: none;
                        }
                        
                        #product-categories .heading h1 {
                            font-family: inherit;
                            font-size: 1.6rem;
                            font-weight: 400;
                            color: #555;
                            margin: 0;
                        }
                        
                        .cat-grid {
                            display: grid;
                            grid-template-columns: repeat(3, 1fr);
                            gap: 14px;
                        }
                        
                        .cat-box {
                            border: 1px solid #dcdcdc;
                            background: #fff;
                            display: flex;
                            flex-direction: column;
                        }
                        
                        .cat-box .pic {
                            position: relative;
                            height: 190px;
                            overflow: hidden;
                            background: #f1f1f0;
                            border-bottom: 1px solid #dcdcdc;
                        }
                        
                        .cat-box .pic img,
                        .cat-box .pic svg {
                            position: absolute;
                            inset: 0;
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }
                        
                        .cat-box .body {
                            padding: 16px 18px 20px;
                            display: flex;
                            flex-direction: column;
                            flex: 1;
                        }
                        
                        .cat-box h3 {
                            font-family: inherit;
                            font-size: 1.05rem;
                            font-weight: 500;
                            color: #333;
                            margin: 0 0 8px;
                        }
                        
                        .cat-box .desc {
                            font-size: 14px;
                            line-height: 1.6;
                            color: #666;
                            margin: 0 0 16px;
                            flex: 1;
                        }
                        
                        .cat-box .btn {
                            font-size: 14px;
                            font-weight: 600;
                            color: #d1495b;
                            text-decoration: none;
                        }
                        
                        .cat-box .btn:hover {
                            text-decoration: underline;
                        }
                        
                        @media (max-width: 860px) {
                            .cat-grid {
                                grid-template-columns: repeat(2, 1fr);
                            }
                        }
                        
                        @media (max-width: 560px) {
                            .cat-grid {
                                grid-template-columns: 1fr;
                            }
                        }
                        /* ---------------- Contact / Download promo banner ---------------- */
                        
                        .contact-download-band {
                            position: relative;
                            padding: 36px 24px;
                            text-align: center;
                            /*background: linear-gradient(rgba(20, 10, 30, 0.55), rgba(20, 10, 30, 0.55)), url("d2.png") center 30% / cover;*/
                        }
                        
                        .contact-download-band .btn-row {
                            display: flex;
                            gap: 16px;
                            justify-content: center;
                            flex-wrap: wrap;
                        }
                        
                        .contact-download-band a {
                            display: inline-flex;
                            align-items: center;
                            gap: 8px;
                            background: var(--tm-yellow);
                            color: #111;
                            border-radius: 999px;
                            padding: 13px 26px;
                            font-size: 15px;
                            font-weight: 600;
                            text-decoration: none;
                            transition: background 0.15s ease;
                        }
                        
                        .contact-download-band a:hover {
                            background: var(--tm-yellow-hover);
                        }

/* ================================================================
   PRODUCT CATEGORY — TiMOTION-STYLE CENTER HOVER CIRCLE
   The yellow circle stays centered on the product image.
   It fades smoothly in on hover and fades completely out on leave.
   ================================================================ */
#product-categories .cat-box .pic .cursor-yellow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 96px;
    height: 96px;
    box-sizing: border-box;
    border: 20px solid rgba(20, 120, 184, 0.96);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
}

#product-categories .cat-box .pic.cursor-active .cursor-yellow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (hover: none), (pointer: coarse) {
    #product-categories .cat-box .pic .cursor-yellow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #product-categories .cat-box .pic .cursor-yellow {
        transition: opacity 0.2s ease;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Products mega-menu item hover line — same animation as header */
.mega-products .product-mega-item strong {
    position: relative;
    display: inline-block;
    text-decoration: none !important;
}

.mega-products .product-mega-item strong::after {
    content: "";
    position: absolute;
    left: 50%;
    right: auto;
    bottom: -10px;
    width: 165px;
    height: 6px;
    transform: translateX(-50%);
    background: #1478b8;
    border-radius: 2px;
    pointer-events: none;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    transition: clip-path 0.42s cubic-bezier(.22,.61,.36,1),
                -webkit-clip-path 0.42s cubic-bezier(.22,.61,.36,1);
}

.mega-products .product-mega-item:hover strong::after,
.mega-products .product-mega-item:focus-visible strong::after {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
}
