/* Paking's Power storefront. Shared overrides load after the upstream theme. */
:root{--pk-yellow:#f3c530;--pk-ink:#242b2d;--pk-muted:#697177;--pk-line:#e5e7e5;--color-main:#8b6800;--color-main-hover:#6c5000;--color-main-light:#fff6d6;--color-price:#242b2d;--color-red:#a63e23;--color-secondary:#f3c530;--color-button-primary:#f3c530;--color-button-primary-border:#f3c530;--color-button-primary-text:#242b2d;--color-button-primary-hover:#e9b91e;--color-button-primary-hover-border:#e9b91e;--color-button-primary-hover-text:#242b2d;--color-button-secondary:#283539;--color-button-secondary-border:#283539;--color-button-secondary-text:white;--body-bg-color:#fff;--border-radius:.3rem;--border-radius-lg:.5rem}

html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang TC","Microsoft JhengHei","Noto Sans TC",sans-serif;color:var(--pk-ink);background:#fff;line-height:1.65}
a{color:inherit}
a:hover{color:#886600}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #926c00;outline-offset:4px}
img{max-width:100%}
.pk-wrap{width:calc(100% - 80px);max-width:1280px;margin:0 auto}
.am-container{max-width:1280px}
.pk-topbar{background:#242b2d;color:#e2e5e3;font-size:12px}
.pk-topbar .pk-wrap{height:36px;display:flex;align-items:center;justify-content:space-between}
.pk-topbar .pk-wrap>div{display:flex;gap:20px;align-items:center}
.pk-topbar a{color:#f6f6ee}
.pk-divider{color:#6b7474}
.pk-header{background:white}
.pk-header-row{min-height:116px;display:flex;align-items:center;gap:44px}
.pk-brand{display:inline-flex;align-items:center;gap:12px;flex-shrink:0}
.pk-brand:hover{color:inherit}
.pk-brand-logo{display:block;width:300px;height:auto;max-width:100%;object-fit:contain;background:#fff}
.pk-search{display:flex;flex:1;border:1px solid #d4d9d6;height:46px;border-radius:3px;overflow:hidden;min-width:0}
.pk-search-label{font-size:13px;background:#f8f9f7;display:flex;align-items:center;padding:0 17px;border-right:1px solid #ddd;margin:0;font-weight:400;white-space:nowrap}
.pk-search input{flex:1;min-width:0;border:0;padding:0 16px;font-size:14px;outline-offset:-4px}
.pk-search button{border:0;width:54px;background:var(--pk-yellow);color:#242b2d;font-size:18px;cursor:pointer}
.pk-header-actions{display:flex;gap:20px;align-items:center}
.pk-header-actions a{display:flex;align-items:center;gap:9px;font-size:13px;white-space:nowrap}
.pk-header-actions i{font-size:21px}
.pk-cart b{background:var(--pk-yellow);min-width:23px;height:23px;line-height:23px;text-align:center;border-radius:50%;font-size:12px}
.pk-nav{border-bottom:3px solid var(--pk-yellow);background:white;position:relative;z-index:30}
.pk-nav>.pk-wrap{display:flex;align-items:stretch}
.pk-category-menu{width:222px;flex-shrink:0;position:relative}
.pk-category-menu summary{padding:14px 19px;background:#f3c530;list-style:none;cursor:pointer;font-size:14px;font-weight:700;display:flex;gap:17px;align-items:center}
.pk-category-menu summary::-webkit-details-marker{display:none}
.pk-category-menu summary>span{margin-left:auto}
.pk-category-dropdown{position:absolute;left:0;right:0;background:#fff;box-shadow:0 8px 25px #192c2426;border:1px solid #e5e7e5}
.pk-category-dropdown a{display:flex;justify-content:space-between;padding:13px 20px;border-bottom:1px solid #f0f0ed;font-size:14px}
.pk-category-dropdown a:hover{background:#fff6d6}
.pk-nav-links{display:flex;align-items:stretch;justify-content:space-around;flex:1;gap:8px;padding-left:24px}
.pk-nav-links>a{padding:15px 10px;font-size:14px;font-weight:600;white-space:nowrap}
.pk-nav-links>a:hover{background:#faf7eb}
.pk-demo-bar{background:#f6f6f0;color:#676a5b;font-size:11px;border-bottom:1px solid #ebede5;padding:6px 0;letter-spacing:.3px}
.pk-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#97842c;vertical-align:middle;margin-right:6px}
.pk-hero{background:#edf0eb;overflow:hidden;position:relative}
.pk-hero-inner{display:grid;grid-template-columns:1fr 1.15fr;min-height:420px;position:relative}
.pk-hero-copy{padding:44px 0 34px;z-index:2}
.pk-eyebrow{font:600 10px/1.5 Arial,sans-serif;letter-spacing:2px;color:#7a806f;display:block}
.pk-hero h1{font-size:43px;line-height:1.3;letter-spacing:1px;margin:16px 0 18px;font-weight:800}
.pk-hero-desc{font-size:14px;line-height:1.9;color:#606b65;margin:0 0 25px}
.pk-button{display:inline-flex;align-items:center;justify-content:center;gap:35px;padding:13px 24px;background:var(--pk-yellow);font-size:14px;font-weight:700;color:#202b28;border-radius:2px;min-height:46px}
.pk-button:hover{background:#eab919;color:#202b28}
.pk-button>span{font-size:20px;line-height:1}
.pk-hero-caption{font-size:10px;letter-spacing:1px;margin-top:24px;color:#6c756b}
.pk-hero-art{position:relative;isolation:isolate}
.pk-hero-art:before{content:"";position:absolute;width:80%;height:150%;background:#e1e6dd;transform:rotate(20deg);left:40%;top:-20%;z-index:-1}
.pk-hero-art:after{content:"";position:absolute;bottom:36px;right:0;width:80%;height:24px;background:#1d342a20;filter:blur(14px);border-radius:50%;z-index:-1}
.pk-hero-art>img{position:absolute;object-fit:contain;filter:drop-shadow(0 16px 8px #192b291a)}
.pk-hero-drill{width:72%;right:-3%;top:40px;transform:rotate(-12deg)}
.pk-hero-box{width:55%;left:-4%;bottom:2px;transform:rotate(-5deg)}
.pk-hero-helmet{width:40%;right:-5%;bottom:-19px;transform:rotate(8deg)}
.pk-hero-word{position:absolute;left:15px;top:32px;font:900 58px/.93 Arial,sans-serif;letter-spacing:-3px;color:#d0d8cb;transform:rotate(-3deg);z-index:-1}
.pk-art-note{position:absolute;bottom:13px;right:0;font-size:10px;color:#798275}
.pk-section-title{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px;gap:20px}
.pk-section-title h2{font-size:24px;line-height:1.35;margin:6px 0 0;letter-spacing:.4px}
.pk-section-title>a{font-size:13px;color:#626c64;padding-bottom:3px;white-space:nowrap}
.pk-category-section{padding-top:38px;padding-bottom:36px}
.pk-category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}
.pk-category-card{display:flex;position:relative;align-items:center;flex-direction:column;background:#f7f8f5;border:1px solid #edf0e9;padding:8px 8px 17px;transition:border-color .15s}
.pk-category-card:hover{border-color:#d8ac24;color:#28322d}
.pk-category-card img{width:92px;height:82px;object-fit:contain}
.pk-category-card span{font-size:14px;font-weight:600}
.pk-category-card>b{position:absolute;right:12px;top:12px;font-size:14px;color:#929c91;font-weight:400}
.pk-brand-wall{padding-top:8px;padding-bottom:36px}
.pk-brand-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.pk-brand-card{display:flex;align-items:center;justify-content:center;min-height:92px;padding:14px 16px;background:#fff;border:1px solid #edf0e9;transition:border-color .15s}
.pk-brand-card:hover{border-color:#d8ac24}
.pk-brand-card img{display:block;width:auto;max-width:100%;height:48px;object-fit:contain}
.pk-products-section{padding-top:12px;padding-bottom:48px}
.pk-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.pk-product-card{border:1px solid var(--pk-line);background:white;transition:border-color .15s}
.pk-product-card:hover{border-color:#cfac42}
.pk-product-image{display:block;position:relative;background:#fafbf9;aspect-ratio:1.35;overflow:hidden}
.pk-product-image>img{width:100%;height:100%;object-fit:contain;transition:transform .2s}
.pk-product-image:hover>img{transform:scale(1.04)}
.pk-sample-tag{position:absolute;left:12px;top:12px;font-size:10px;color:#69746b;border:1px solid #dbe1d7;padding:2px 6px;z-index:1;background:#ffffffd9}
.pk-product-content{padding:16px}
.pk-product-code{font:10px/1.5 Arial,sans-serif;letter-spacing:1px;color:#899086}
.pk-product-content h3{font-size:15px;line-height:1.6;font-weight:600;margin:6px 0;min-height:48px}
.pk-product-content>p{font-size:11px;color:#7a8178;margin:0 0 17px}
.pk-product-bottom{border-top:1px solid #eef0eb;padding-top:12px;display:flex;align-items:center;justify-content:space-between}
.pk-product-bottom small{display:block;font-size:10px;color:#8b9087}
.pk-product-bottom strong{font-size:11px;font-weight:500}
.pk-product-bottom b{font-size:22px;font-weight:700;font-family:Arial,sans-serif}
.pk-product-bottom>a{width:38px;height:38px;line-height:38px;text-align:center;background:#f5f4ec;font-size:20px;border-radius:50%}
.pk-product-bottom>a:hover{background:#f3c530}
.pk-business{background:#f3c530;padding:30px 36px;display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:50px}
.pk-business .pk-eyebrow{color:#675414}
.pk-business h2{font-size:24px;margin:8px 0}
.pk-business p{font-size:13px;color:#685918;margin:0}
.pk-button-dark{background:#28322d;color:white;white-space:nowrap}
.pk-button-dark:hover{background:#151e18;color:white}
.pk-footer{background:#252e2c;color:#c3c9c3;padding-top:45px;font-size:13px;margin-top:30px}
.pk-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.65fr;gap:40px}
.pk-footer .pk-brand{color:white}
.pk-footer .pk-brand{max-width:100%;background:transparent}
.pk-footer .pk-brand-logo{width:280px;background:transparent}
.pk-footer p{line-height:1.9;margin:18px 0;font-size:12px;color:#a9b3ab}
.pk-footer h3{font-size:14px;color:#f0f3ec;margin:0 0 20px;font-weight:600}
.pk-footer-grid>div>a:not(.pk-brand){display:block;margin:11px 0}
.pk-footer a:hover{color:#f3c530}
.pk-footer small{font-size:11px;color:#99a59a}
.pk-footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #424d46;margin-top:35px;padding:20px 0;font-size:10px;color:#9fa9a0}
.pk-footer-bottom span:last-child{letter-spacing:2px}
.footer-filing-content:has(.powered:empty){display:none}

/* Keep existing functional ShopXO content; restyle its shared controls and cards. */
.am-btn{box-shadow:none!important}
.am-btn-primary{color:#242b2d!important;background:#f3c530!important;border-color:#e6b62b!important}
.am-btn-primary:hover{background:#e9b91e!important}
.am-btn-secondary{background:#303c37!important;border-color:#303c37!important;color:white!important}
.am-tabs-default .am-tabs-nav>.am-active a{background:#f3c530;color:#242b2d}
.am-pagination>.am-active>a{background:#f3c530;border-color:#f3c530;color:#242b2d}
.module-goods-grid-base .item{border:1px solid #e5e7e1!important;border-radius:2px!important;box-shadow:none!important}
.module-goods-grid-base .goods-images{background:#f8f9f6;object-fit:contain}
.module-goods-grid-base .goods-title{font-size:14px!important;line-height:1.65}
.module-goods-grid-base .price{color:#26322c}
.search-container{padding-top:18px;padding-bottom:30px}
.search-container .map-nav{border-color:#e5e7e1}
.am-breadcrumb{font-size:12px;padding-top:17px;padding-bottom:17px}
.goods-detail-container{padding-top:25px}
.goods-detail-container h1{font-size:25px;line-height:1.5}
.user-login-container,.user-register-container{background:#eef1eb!important;margin:0;padding:45px 0!important;min-height:510px}
.user-login-background-img-content{display:none!important}
.user-login-container .am-container{display:flex;align-items:center}
.user-left-container{position:relative;min-height:420px;background:url('/static/pakings/drill.svg') right bottom/300px auto no-repeat;text-align:left!important}
.user-left-container:before{content:'為下一個工程，\A做好準備。';white-space:pre-line;font-size:36px;line-height:1.45;font-weight:700;position:absolute;left:30px;top:50px;color:#29382f}
.user-left-container:after{content:'PAKING’S POWER · 栢毅動力';font-size:11px;letter-spacing:2px;position:absolute;left:30px;top:180px;color:#758174}
.user-right-container{padding:0!important;max-width:430px;min-width:340px}
.user-register-container .register-container{width:440px;max-width:100%}
.login-content,.reg-content,.register-content{border-radius:3px}
.am-form input[type=text],.am-form input[type=password],.am-form input[type=email]{min-height:42px}
.am-form input:focus{border-color:#ba911b!important;box-shadow:0 0 0 2px #f3c53022!important}
.am-form label{color:#3a463e}
.goods-detail-container .goods-images img{object-fit:contain}
.pk-footer .am-footer{background:transparent}
.right-navigation{display:none!important}

@media(min-width:1025px){.pk-header-row{gap:34px}
.pk-header-actions{gap:17px}
}

@media(max-width:1100px){.pk-wrap{width:calc(100% - 40px)}
.pk-header-row{gap:24px}
.pk-header-actions a span{display:none}
.pk-nav-links{padding-left:8px;gap:0}
.pk-nav-links>a{padding-left:9px;padding-right:9px;font-size:12px}
.pk-category-menu{width:185px}
.pk-hero h1{font-size:38px}
.pk-footer-grid{gap:22px}
.pk-search-label{display:none}
}

@media(max-width:767px){.pk-wrap{width:calc(100% - 32px)}
.pk-topbar .pk-wrap{height:32px;font-size:10px}
.pk-topbar .pk-wrap>div{gap:10px}
.pk-topbar .pk-wrap>div>a:last-child{display:none}
.pk-header-row{min-height:0;padding-top:18px;padding-bottom:17px;gap:18px;flex-wrap:wrap}
.pk-brand-logo{width:240px}
.pk-header-actions{margin-left:auto;gap:18px}
.pk-header-actions>a:first-child{display:none}
.pk-header-actions i{font-size:22px}
.pk-search{order:3;flex-basis:100%;height:44px}
.pk-search input{font-size:13px}
.pk-search button{width:48px}
.pk-nav>.pk-wrap{width:100%;display:block}
.pk-category-menu{width:100%;background:#f3c530}
.pk-category-menu summary{padding:11px 17px;font-size:13px}
.pk-category-dropdown{z-index:50;left:16px;right:16px;display:grid;grid-template-columns:1fr 1fr}
.pk-nav-links{overflow-x:auto;justify-content:flex-start;padding:0 9px;gap:5px}
.pk-nav-links>a{padding:12px 10px;font-size:12px}
.pk-nav{border-bottom-width:2px}
.pk-demo-bar{font-size:10px;padding:7px 0;line-height:1.6}
.pk-hero-inner{grid-template-columns:1fr;min-height:0}
.pk-hero-copy{padding-top:30px;padding-bottom:8px}
.pk-hero h1{font-size:33px;margin:12px 0}
.pk-hero-desc{font-size:12px;line-height:1.9;margin-bottom:20px}
.pk-hero-caption{margin-top:15px;font-size:9px}
.pk-hero-art{height:235px;margin-top:-12px;margin-left:35px}
.pk-hero-word{font-size:40px;top:20px;left:-20px}
.pk-hero-drill{width:80%;right:0;top:-10px}
.pk-hero-box{width:59%;left:-12%;bottom:-2px}
.pk-hero-helmet{width:44%;right:-1%;bottom:-14px}
.pk-hero-art:before{height:130%;top:-10%;width:100%}
.pk-art-note{font-size:8px;bottom:10px}
.pk-section-title{gap:10px;margin-bottom:17px}
.pk-section-title h2{font-size:19px}
.pk-section-title>a{font-size:11px}
.pk-eyebrow{font-size:9px;letter-spacing:1.6px}
.pk-category-section{padding-top:28px;padding-bottom:28px}
.pk-category-grid{grid-template-columns:repeat(3,1fr);gap:8px}
.pk-brand-wall{padding-top:4px;padding-bottom:24px}
.pk-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pk-brand-card{min-height:72px;padding:8px 6px}
.pk-brand-card img{height:36px}
.pk-category-card{padding:4px 4px 11px}
.pk-category-card img{height:67px;width:74px}
.pk-category-card span{font-size:12px}
.pk-category-card>b{font-size:11px;right:8px;top:8px}
.pk-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pk-product-image{aspect-ratio:1.1}
.pk-sample-tag{font-size:8px;left:7px;top:7px;padding:1px 4px}
.pk-product-content{padding:11px}
.pk-product-code{font-size:9px}
.pk-product-content h3{font-size:12px;min-height:39px;line-height:1.6}
.pk-product-content>p{font-size:10px;min-height:32px;margin-bottom:10px}
.pk-product-bottom b{font-size:19px}
.pk-product-bottom strong{font-size:9px}
.pk-product-bottom>a{width:28px;height:28px;line-height:28px;font-size:16px}
.pk-product-bottom small{font-size:9px}
.pk-products-section{padding-bottom:30px}
.pk-business{padding:24px;display:block;margin-bottom:30px}
.pk-business h2{font-size:21px}
.pk-business p{font-size:12px}
.pk-business .pk-button{margin-top:20px;font-size:12px}
.pk-footer{padding-top:30px;margin-top:20px}
.pk-footer-grid{grid-template-columns:1fr 1fr;gap:25px 20px}
.pk-footer-grid>div:first-child{grid-column:1/-1}
.pk-footer-grid>div:last-child{grid-column:1/-1}
.pk-footer h3{margin-bottom:12px}
.pk-footer p{margin:10px 0}
.pk-footer-bottom{margin-top:25px;gap:15px;font-size:9px}
.pk-footer-bottom span:last-child{letter-spacing:1px}
.user-login-container,.user-register-container{padding:25px 12px!important;min-height:0}
.user-left-container{display:none!important}
.user-right-container{min-width:0;max-width:100%;width:100%}
.user-login-container .am-container{display:block}
.user-register-container .register-container{width:100%}
.am-container{padding-left:12px;padding-right:12px}
.module-goods-grid-base .goods-title{font-size:12px!important}
.goods-detail-container h1{font-size:20px}
.nav-search,.header-top{display:none}
.header-nav-simple{display:none}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*:before,*:after{transition:none!important;animation:none!important}
}

/* Neutralize upstream global input sizing inside the new flex search bar. */
.pk-search input{max-width:none!important;width:0!important;flex:1 1 0%!important}
.pk-search button{flex:0 0 54px;margin-left:auto}

@media(min-width:768px){.pk-hero-drill{width:61%;right:1%;top:29px}
.pk-hero-helmet{width:35%;right:-3%;bottom:0}
}


.pk-catalog-heading h1{font-size:28px;margin:6px 0}
.pk-catalog-heading p{font-size:13px;color:#6d776e;margin:0}
.pk-catalog-heading{padding:10px 0 15px}

.user-register-container button[type=submit],.user-login-container button[type=submit]{min-height:44px}

.pk-topbar a{display:inline-flex;align-items:center;min-height:32px}

@media(max-width:767px){.pk-header-actions a{min-height:44px;min-width:44px}
.pk-category-card{min-height:100px}
}

/* Reserve mobile gallery space while the existing ShopXO slider initializes. */
@media(max-width:640px){.scoll .slider-content{min-height:calc(100vw * .925);background:#fafbf9}.scoll img{object-fit:contain}}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #765700!important;outline-offset:3px!important}.pk-category-menu summary:focus{outline:3px solid #765700!important;outline-offset:-4px!important}.pk-eyebrow,.pk-product-code,.pk-product-bottom small{color:#626b5d}.pk-art-note{color:#586451}
@media(max-width:767px){.pk-hero-art{width:100%;max-width:340px;margin-left:auto;margin-right:0}.pk-hero-drill{width:76%;top:0;right:0}.pk-hero-box{left:-5%;bottom:0}.pk-hero-helmet{bottom:0;right:-3%}}
