/*
Theme Name: 友購吉原生商店
Version: 1.1.0
Author: MS YOKO INTERNATIONAL CO., LTD.
Description: 原生 WordPress 與 WooCommerce 商店模板。
*/
:root{--ink:#24394d;--muted:#5a6875;--accent:#d87719;--line:#dce2e8;--soft:#f4f6f8;--radius:10px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:system-ui,-apple-system,"Noto Sans TC","Microsoft JhengHei",sans-serif;font-size:16px;line-height:1.8}a{color:#225c88;text-underline-offset:3px}a:hover{color:#a7540c}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}input,select,textarea{max-width:100%;min-width:0;border:1px solid #abb9c5;border-radius:5px;padding:10px 12px;background:#fff;color:var(--ink)}input:focus,textarea:focus,select:focus,a:focus-visible,button:focus-visible{outline:3px solid #e89a44;outline-offset:3px}button,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-block;border:0;border-radius:5px;padding:11px 20px;background:var(--ink);color:#fff;font-weight:650;line-height:1.5;cursor:pointer;text-decoration:none;text-align:center}.woocommerce a.button:hover,.woocommerce button.button:hover,button:hover,.button:hover{background:#345c7d;color:#fff}.woocommerce button.button.alt,.woocommerce a.button.alt{background:#a9560b}.jn-wrap{width:min(1180px,calc(100% - 48px));margin-inline:auto}.jn-header-main{display:flex;align-items:center;gap:32px;min-height:100px}.jn-logo{flex:0 0 160px;display:flex}.jn-logo img{width:160px;height:56px;object-fit:contain}.jn-search{display:flex;gap:8px;max-width:650px;width:100%}.jn-search input[type=search]{flex:1;width:0}.jn-search button{flex:0 0 auto}.jn-quick{display:flex;gap:18px;white-space:nowrap;font-size:14px}.jn-nav{background:var(--ink)}.jn-nav .jn-wrap{display:flex;gap:40px}.jn-nav a{color:#fff;text-decoration:none;padding:13px 0;font-weight:600}.jn-nav a:hover{text-decoration:underline}.jn-menu-toggle{display:none}.jn-hero{background-size:cover;background-position:center;min-height:350px;padding:54px 0;color:#fff}.jn-hero h1{font-size:clamp(26px,3vw,40px);line-height:1.35;max-width:700px;margin:10px 0 18px}.jn-hero p{margin:0 0 22px}.jn-eyebrow{font-size:13px;letter-spacing:.09em;font-weight:700;margin:0 0 5px;color:var(--muted)}.jn-hero .jn-eyebrow{color:#f6bb7b}.jn-hero .jn-search button{background:#b65a07}.jn-hero-link{color:#fff;display:inline-block;margin-top:16px}.jn-section{padding-block:48px}.jn-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.jn-section-heading h2{margin:0;font-size:28px}.jn-soft{background:var(--soft)}.jn-brands{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.jn-brand{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:8px;min-height:160px;padding:20px;border:1px solid var(--line);background:white;border-radius:var(--radius);text-decoration:none;text-align:center}.jn-brand img{height:64px;width:160px;object-fit:contain}.jn-brand strong{font-size:17px}.jn-brand>span{font-size:13px;color:var(--muted)}.jn-brand:hover{border-color:var(--accent)}.jn-brand-text{font-size:22px!important;font-weight:700}.jn-b2b{border:1px solid var(--line);border-left:5px solid var(--accent);padding:28px 32px;display:flex;align-items:center;justify-content:space-between;gap:32px;border-radius:var(--radius)}.jn-b2b h2{margin:0;font-size:24px}.jn-b2b p:last-child{margin-bottom:0}.jn-b2b .button{flex-shrink:0}.jn-page{padding-block:38px 64px;min-height:420px}.jn-page h1{font-size:32px;line-height:1.5;margin:0 0 30px}.jn-content{max-width:1000px}.jn-content h2{font-size:24px;margin:32px 0 16px}.jn-content h3{font-size:20px;margin:26px 0 12px}.jn-content p{margin:0 0 20px}.jn-content-image{display:block;max-width:640px;width:100%;max-height:350px;object-fit:contain;margin:24px auto}.jn-faq{border:1px solid var(--line);border-radius:7px;margin:14px 0;background:#fff}.jn-faq summary{cursor:pointer;font-weight:650;padding:15px 20px;background:var(--soft)}.jn-faq>div{padding:20px}.jn-faq>div>:last-child{margin-bottom:0}.jn-inquiry{margin-top:30px}.jn-inquiry label{display:flex;flex-direction:column;gap:5px;margin-bottom:18px;font-weight:600}.jn-form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.jn-inquiry textarea{width:100%;min-height:180px}.jn-inquiry select{width:100%}.jn-form-note{font-size:14px;color:var(--muted)}.jn-honey{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.jn-success{padding:20px;background:#eef8ed;border:1px solid #5a8b56}.jn-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:end;padding:20px;background:var(--soft);border-radius:var(--radius);margin-bottom:32px}.jn-filters label{display:flex;flex-direction:column;flex:1 1 180px;font-size:14px;font-weight:650}.jn-filters select,.jn-filters input{width:100%;height:46px}.jn-filters button{height:46px}.jn-filters>a{padding-bottom:8px;font-size:14px}.jn-empty{padding:30px;background:var(--soft);border-radius:var(--radius);margin:22px 0}.jn-empty h2{font-size:22px;margin-top:0}.woocommerce ul.products,.woocommerce-page ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0 0 30px;padding:0}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto!important;margin:0!important;padding:18px;border:1px solid var(--line);border-radius:var(--radius);display:flex;flex-direction:column;background:#fff;min-width:0}.woocommerce ul.products li.product a.woocommerce-loop-product__link{display:flex;flex-direction:column;text-decoration:none}.woocommerce ul.products li.product a img{height:160px;width:100%;object-fit:contain;margin:0 0 16px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;line-height:1.65;padding:0;margin:0 0 10px;overflow-wrap:anywhere}.woocommerce ul.products li.product .price{color:#9b4c08;font-size:16px}.woocommerce ul.products li.product .button{margin-top:auto;padding:10px 12px}.woocommerce ul.products li.product .added_to_cart{padding-top:10px}.woocommerce ul.products li.product a .price{margin-bottom:14px}.woocommerce div.product div.images{width:34%;max-width:350px}.woocommerce div.product div.summary{width:61%}.woocommerce div.product div.images img{width:100%;height:300px;object-fit:contain}.woocommerce div.product .product_title{font-size:28px;margin-bottom:18px;overflow-wrap:anywhere}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#9b4c08}.woocommerce div.product form.cart .variations select{max-width:100%;width:100%}.woocommerce div.product form.cart .variations th{text-align:left;padding-right:12px}.woocommerce .quantity .qty{min-width:72px;padding:9px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding-left:0}.woocommerce table.shop_table{border-collapse:collapse;line-height:1.7}.woocommerce table.shop_table th,.woocommerce table.shop_table td,.jn-content table th,.jn-content table td,.woocommerce-Tabs-panel table th,.woocommerce-Tabs-panel table td{padding:12px;border:1px solid var(--line);overflow-wrap:anywhere}.woocommerce-Tabs-panel table,.jn-content table{border-collapse:collapse;width:100%;margin:24px 0}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:11px 12px;border:1px solid #abb9c5}.woocommerce form .form-row label{line-height:1.7;margin-bottom:5px}.woocommerce form .form-row{padding:0;margin-bottom:20px}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{padding:0}.woocommerce-checkout #payment{background:var(--soft)}.woocommerce ul#shipping_method li{line-height:1.8}.woocommerce-result-count{font-size:14px}.woocommerce nav.woocommerce-pagination{margin-top:30px}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:12px 16px;border:1px solid var(--line);border-radius:5px}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ink);color:#fff}.jn-footer{background:var(--ink);color:#edf1f4;margin-top:0;padding-top:40px;font-size:14px}.jn-footer-grid{display:grid;grid-template-columns:1.1fr .8fr 1.2fr;gap:50px}.jn-footer h2{font-size:17px;color:#fff;margin:0 0 12px}.jn-footer a{color:#fff}.jn-footer-grid>div>a:not(:first-child){display:block;margin:7px 0}.jn-footer-logo{object-fit:contain;width:140px;height:48px}.jn-copyright{border-top:1px solid #526170;margin-top:25px;padding:18px 0;color:#cdd7df;font-size:13px}.jn-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.jn-news-grid article img{height:190px;object-fit:cover;width:100%}.jn-news-grid h2{font-size:21px}.jn-pagination{margin-top:28px}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;word-wrap:normal!important}.skip-link:focus{clip:auto;clip-path:none;width:auto;height:auto;left:15px;top:15px;z-index:100000;background:#fff;padding:12px;color:var(--ink)}
@media(max-width:900px){.jn-header-main{gap:18px;flex-wrap:wrap;padding-block:18px}.jn-header-main>.jn-search{order:3;max-width:none}.jn-logo{margin-right:auto}.jn-nav .jn-wrap{gap:24px;justify-content:space-between}.jn-brands{grid-template-columns:repeat(3,minmax(0,1fr))}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.jn-footer-grid{gap:25px}.jn-b2b{align-items:start;flex-direction:column;gap:20px}}
@media(max-width:600px){.jn-wrap{width:calc(100% - 32px)}.jn-header-main{gap:12px;min-height:0;padding-block:12px}.jn-logo,.jn-logo img{width:120px;flex-basis:120px;height:42px}.jn-quick{font-size:12px;gap:12px}.jn-menu-toggle{display:block;padding:7px 10px;font-size:12px}.jn-nav{display:none}.jn-nav.is-open{display:block}.jn-nav .jn-wrap{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.jn-nav a{padding:10px 0}.jn-hero{padding:32px 0;min-height:310px}.jn-hero h1{font-size:27px}.jn-section{padding-block:32px}.jn-section-heading{align-items:center;gap:10px}.jn-section-heading h2{font-size:24px}.jn-section-heading>a{font-size:13px}.jn-page{padding-block:28px 44px}.jn-page h1{font-size:26px;margin-bottom:24px}.jn-content h2{font-size:22px}.jn-brands{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jn-brand{padding:16px 10px;min-height:144px}.jn-brand img{height:50px}.jn-brand strong{font-size:15px}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{padding:12px}.woocommerce ul.products li.product a img{height:120px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px}.woocommerce ul.products li.product .button{font-size:13px;padding:9px 5px}.jn-form-grid{grid-template-columns:1fr;gap:0}.jn-filters{gap:12px;padding:16px}.jn-filters label{flex-basis:100%}.jn-b2b{padding:24px}.jn-b2b h2{font-size:22px}.jn-footer-grid{grid-template-columns:1fr;gap:24px}.jn-footer h2{margin-bottom:8px}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%;max-width:100%}.woocommerce div.product div.images{max-width:260px;margin:0 auto 28px}.woocommerce div.product div.images img{height:240px}.woocommerce div.product .product_title{font-size:24px}.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0 10px}.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-size:14px}.woocommerce table.shop_table th,.woocommerce table.shop_table td,.woocommerce-Tabs-panel table th,.woocommerce-Tabs-panel table td{padding:8px;font-size:14px}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{padding:18px}.jn-news-grid{grid-template-columns:1fr}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;margin-bottom:16px}.woocommerce .woocommerce-ordering select{width:100%}.jn-content-image{max-height:240px}.jn-faq summary{padding:14px}.jn-faq>div{padding:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
