/*
Theme Name: Kindred Gifts
Author: Giftory Studio
Description: 企业礼品网站主题，动态 WooCommerce 商品与可上传首页图片。
Version: 2.0.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: giftory
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{--ink:#203a47;--accent:#336878;--cream:#f4f0e8;--line:#e1e5e4;--muted:#758187}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:14px/1.8 'Noto Sans TC',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #d9ad6a;outline-offset:4px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.announcement{background:var(--ink);color:#fff;text-align:center;font-size:11px;padding:7px;letter-spacing:2px}header{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1420px;margin:auto;display:flex;align-items:center;gap:35px;padding:22px 4%}.brand{display:flex;align-items:center;gap:12px;min-width:135px}.brand-icon{font-size:45px;line-height:1;color:var(--accent)}.brand strong{font-size:27px;letter-spacing:5px}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:-3px}nav{display:flex;align-items:center;justify-content:center;flex:1;gap:24px;font-size:12px}nav a:hover{color:var(--accent)}.header-tools{display:flex;gap:15px;align-items:center}.header-tools button,.mobile-menu,.dropdown>button{background:none;border:0;padding:0}.header-tools button{position:relative}#quote-count{position:absolute;top:-10px;right:-11px;border-radius:20px;min-width:17px;background:var(--accent);color:#fff;font-size:9px}.mobile-menu{display:none}.dropdown{position:relative}.mega{display:none;position:absolute;top:100%;padding:22px;width:240px;background:white;border:1px solid var(--line);box-shadow:0 12px 25px #203a4710}.dropdown:hover .mega,.dropdown:focus-within .mega,.dropdown.open .mega{display:grid;gap:12px}.hero{position:relative;background:var(--cream);overflow:hidden}.hero-inner{max-width:1420px;margin:auto;min-height:500px;padding:60px 7%;display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:40px}.eyebrow{font-size:11px;letter-spacing:3px;color:var(--accent);display:block;margin-bottom:16px}.hero h1{font-size:48px;line-height:1.4;letter-spacing:3px;margin:0 0 20px;font-weight:500}.hero p{color:#68777d;margin-bottom:30px;line-height:2}.primary,.outline{display:inline-block;padding:12px 26px;border:1px solid var(--accent);background:var(--accent);color:white;cursor:pointer;font-size:12px;letter-spacing:1px}.outline{background:transparent;color:var(--accent)}.hero-art{position:relative}.hero-art img{width:100%;display:block;filter:drop-shadow(0 25px 25px #233a4720)}.hero-art .caption{position:absolute;bottom:5px;right:0;font-size:9px;letter-spacing:2px}.hero-foot{position:absolute;bottom:20px;left:7%;font-size:10px;letter-spacing:2px}.dots{position:absolute;bottom:20px;left:50%;display:flex;gap:10px}.dots button{padding:0;width:7px;height:7px;border-radius:50%;border:0;background:#bac7ca}.dots .active{background:var(--ink)}.services{border-bottom:1px solid var(--line);display:flex;justify-content:center;gap:95px;padding:19px 4%;font-size:12px;color:#61737a}.services span{color:var(--accent);margin-right:8px}.section{max-width:1380px;margin:auto;padding:64px 5%}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.section-head h2{margin:3px 0 0;font-size:25px;letter-spacing:2px;font-weight:500}.section-head small{font-size:10px;color:var(--accent);letter-spacing:2px}.section-head a{font-size:12px;border-bottom:1px solid #9dacb3}.categories{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.category{background:#f3f5f4;text-align:center;padding:8px 12px 20px}.category img{width:100%;height:140px;object-fit:contain;transition:transform .3s}.category:hover img{transform:translateY(-5px)}.category strong{display:block;font-weight:500}.category small{font-size:9px;letter-spacing:1px;color:var(--muted)}.products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}.product{min-width:0}.product-image{position:relative;background:#f4f5f3;display:block;width:100%;border:0;padding:15px;aspect-ratio:1/1}.product-image img{width:100%;height:100%;object-fit:contain;transition:transform .3s}.product-image:hover img{transform:scale(1.07)}.badge{position:absolute;top:10px;left:10px;font-size:9px;letter-spacing:1px;background:white;padding:2px 8px}.product h3{font-weight:400;font-size:12px;line-height:1.8;margin:15px 0 5px}.product small{font-size:10px;color:var(--muted)}.product-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:7px}.price{font-size:13px}.add{background:none;border:1px solid #cbd6d9;width:28px;height:28px;line-height:1;padding:0;font-size:18px}.soft{background:#fafaf7}.promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-top:0;padding-bottom:0}.promo{background:#e4edf0;padding:35px;display:flex;align-items:center;justify-content:space-between;min-height:220px}.promo:nth-child(2){background:#f0e9e0}.promo h2{font-size:24px;font-weight:500;margin:6px 0 18px}.promo img{width:40%;height:180px;object-fit:contain}.tabs{display:flex;gap:22px;margin-bottom:24px;border-bottom:1px solid var(--line)}.tabs button{background:none;border:0;padding:12px 0;color:#839098}.tabs button.active{color:var(--ink);border-bottom:2px solid var(--accent)}.process-band{background:var(--ink);color:white;text-align:center;padding:65px 5%;margin-top:30px}.process-band .eyebrow{color:#b9d4da}.process-band h2{font-size:30px;font-weight:500;margin:0 0 30px}.steps{display:grid;grid-template-columns:repeat(4,1fr);max-width:1050px;margin:35px auto}.step{text-align:left;padding:0 35px;border-right:1px solid #ffffff30}.step:last-child{border:0}.step b{color:#a9c7ce;font-size:12px}.step h3{font-size:17px;font-weight:500}.step p{font-size:12px;color:#bccbd0}.process-band .outline{color:white;border-color:#a4bbc3}.page-title{background:var(--cream);padding:45px 5%;text-align:center}.page-title h1{font-size:32px;margin:10px}.page-title p{color:var(--muted)}.catalog-tools{display:flex;justify-content:space-between;margin-bottom:25px;gap:15px}.filters{display:flex;gap:12px;flex-wrap:wrap}.filters a{font-size:12px;padding:6px 12px;background:#f1f4f4}.filters a.active{background:var(--accent);color:white}select,input,textarea{border:1px solid #d2dcdf;padding:10px;background:#fff;color:var(--ink);max-width:100%}.contact-layout{display:grid;grid-template-columns:1fr 1.6fr;gap:60px}.contact-layout h2{font-size:26px;font-weight:500}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-form label{font-size:12px}.contact-form input,.contact-form textarea,.contact-form select{display:block;width:100%;margin-top:7px}.full{grid-column:1/-1}.contact-form textarea{min-height:130px}.contact-form label.consent{display:flex;align-items:flex-start;gap:10px}.consent input{width:auto;margin-top:7px}.notice{padding:15px;background:#f4f0e8;font-size:12px}.faq{max-width:850px}.faq details{border-bottom:1px solid var(--line);padding:22px 0}.faq summary{cursor:pointer;font-size:16px}.faq p{color:var(--muted)}footer{padding:55px 5% 0;background:#f6f7f5}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.6fr;gap:40px;max-width:1240px;margin:auto}footer h3{font-size:12px;font-weight:500;margin:0 0 20px}footer p{font-size:12px;color:#7b878c}footer small{font-size:10px;color:#899398}.footer-grid>div>a:not(.brand){display:block;font-size:12px;margin:10px 0;color:#6e7d83}.footer-cta{border-bottom:1px solid #b4c6cd;display:inline-block!important;padding-bottom:5px}.copyright{max-width:1240px;margin:40px auto 0;padding:20px 0;border-top:1px solid var(--line);font-size:10px;color:#8a969a}.copyright a{float:right}dialog{border:0;padding:32px;max-width:660px;width:calc(100% - 30px);max-height:90vh;overflow:auto;color:var(--ink);box-shadow:0 20px 80px #0003}dialog::backdrop{background:#203a4770}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font-size:21px;font-weight:500}.close{border:0;background:none;font-size:28px;padding:0 8px}.standalone{position:absolute;right:12px;top:8px}.muted{font-size:12px;color:var(--muted)}#search-form{display:flex;gap:8px}#search-form input{flex:1;min-width:0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding-top:20px}.detail-grid img{width:100%;background:#f4f5f3}.detail-grid h2{font-size:23px}.detail-grid ul{padding-left:18px;color:#7b878c;font-size:12px}.quote-row{display:grid;grid-template-columns:55px 1fr 70px 26px;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}.quote-row img{width:55px}.quote-row input{width:70px;padding:5px}.quote-row button{border:0;background:none}.quote-row strong{font-size:12px;font-weight:400}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 25px;z-index:30;opacity:0;pointer-events:none;transition:opacity .2s}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;z-index:100;background:white;padding:10px}.empty{text-align:center;padding:60px 20px;color:var(--muted)}
@media(max-width:1100px){nav{gap:13px;font-size:11px}.header-inner{gap:20px}.hero h1{font-size:40px}.products{gap:15px}.services{gap:40px}}
@media(max-width:800px){.header-inner{padding:15px 5%;gap:15px}.brand{min-width:auto;flex:1}.brand strong{font-size:23px}.brand-icon{font-size:35px}.mobile-menu{display:block;order:2;font-size:24px}.header-tools{order:1;margin-right:8px}nav{display:none;position:absolute;top:100%;left:0;width:100%;background:white;padding:25px;align-items:start;flex-direction:column;box-shadow:0 8px 10px #0001;font-size:14px}nav.open{display:flex}.mega{position:static;box-shadow:none;border:0;padding:12px}.hero-inner{grid-template-columns:1fr;min-height:auto;padding:40px 7% 65px;gap:10px}.hero h1{font-size:34px}.hero p{font-size:12px}.hero-art{max-width:430px;margin:auto;width:100%}.hero-art img{height:280px;object-fit:contain}.hero-foot{font-size:8px}.dots{left:auto;right:7%}.services{gap:15px;justify-content:space-around;font-size:10px}.services div:last-child{display:none}.section{padding:40px 5%}.section-head h2{font-size:21px}.categories{grid-template-columns:repeat(3,1fr);gap:10px}.categories .category:nth-child(n+4){display:none}.category{padding:5px 5px 15px}.category img{height:100px}.category strong{font-size:12px}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 15px}.products .product:last-child:nth-child(odd){display:none}.catalog .products .product:last-child{display:block}.promo-grid{grid-template-columns:1fr;padding-top:0;padding-bottom:0}.promo{padding:25px;min-height:180px}.promo h2{font-size:22px}.promo img{height:130px}.steps{grid-template-columns:1fr 1fr;gap:30px}.step{padding:0 15px}.step:nth-child(2){border:0}.process-band h2{font-size:25px}.footer-grid{grid-template-columns:1fr 1fr;gap:35px 20px}.footer-grid>div:first-child{grid-column:1/-1}.contact-layout{grid-template-columns:1fr;gap:20px}.contact-form{grid-template-columns:1fr}.contact-form .full{grid-column:auto}.catalog-tools{flex-direction:column}.tabs{gap:16px;font-size:12px}.detail-grid{grid-template-columns:1fr}.detail-grid img{max-height:250px;object-fit:contain}.page-title{padding:30px 5%}.page-title h1{font-size:26px}}



