/*
Theme Name: 光影選物 Powder Blue
Author: 光影選物
Description: 台灣影片商店粉藍色 WooCommerce 佈景主題，支援手機、正方形商品圖片及傳統購物車／結帳頁。
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: guangying-blue
License: GPL-2.0-or-later
*/
:root{--blue:#2673bb;--navy:#193757;--pale:#eaf5fc;--border:#d4e4ef;--muted:#63788b}*{box-sizing:border-box}body{margin:0;color:var(--navy);background:#f7fbfe;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC","Microsoft JhengHei",sans-serif;line-height:1.7}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #125ba1;outline-offset:4px}img{max-width:100%;height:auto}.wrap{width:min(1240px,92%);margin:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:15px;top:15px;background:white;padding:10px;z-index:100}.notice-bar{text-align:center;background:#e6f2fc;font-size:13px;padding:8px}.site-header{background:white;border-bottom:1px solid var(--border)}.header-main{display:flex;align-items:center;gap:32px;padding:27px 0}.brand{font-size:28px;font-weight:800;letter-spacing:3px;white-space:nowrap}.brand img{max-height:65px;width:auto}.search-form{display:flex;border:1px solid #a6bdd2;border-radius:40px;overflow:hidden;flex:1;max-width:540px;background:white}.search-form input{border:0;min-width:0;width:100%;padding:11px 18px;background:none}.search-form button{border:0;background:none;color:var(--blue);padding:0 18px;cursor:pointer}.header-actions{display:flex;gap:20px;margin-left:auto;font-size:14px}.cart-count{display:inline-grid;place-items:center;background:var(--blue);color:white;border-radius:50%;min-width:23px;height:23px}.nav-list{display:flex;gap:36px;list-style:none;flex-wrap:wrap;margin:0;padding:14px 0;border-top:1px solid #edf2f7;font-size:15px}.menu-toggle{display:none}.shop-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:26px;margin:30px auto 55px}.sidebar-box{background:white;border:1px solid var(--border);border-radius:10px;padding:21px;margin-bottom:18px}.sidebar-box h2{font-size:18px;margin:0 0 15px;letter-spacing:2px}.category-list{list-style:none;padding:0;margin:0}.category-list li a{display:block;padding:9px 5px;border-bottom:1px solid #eef4f9}.sidebar-box p{font-size:14px;color:var(--muted)}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;min-height:365px;padding:35px;background:linear-gradient(120deg,#e2f1fc,#d1e7f6);border-radius:12px;overflow:hidden}.hero h1{font-family:Georgia,"Noto Serif TC","PMingLiU",serif;font-size:clamp(28px,3vw,43px);line-height:1.5;letter-spacing:3px;margin:0 0 17px}.hero p{font-size:15px;margin-bottom:24px}.hero-art{width:100%;max-height:290px}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.wp-element-button{display:inline-block;background:var(--blue);color:white;border:0;border-radius:5px;padding:12px 22px;line-height:1.4;font:inherit;cursor:pointer}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:#175b9a;color:white}.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--blue);color:white}.section-title{display:flex;justify-content:space-between;align-items:center;margin:27px 0 18px}.section-title h2{font-size:23px;margin:0;letter-spacing:2px}.section-title a{font-size:14px;color:var(--muted)}.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin: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;background:white;border:1px solid var(--border);border-radius:9px;overflow:hidden;padding:0 0 15px;display:flex;flex-direction:column}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#e8f1f7;margin:0 0 12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;padding:0 13px 7px}.woocommerce ul.products li.product .price{color:var(--navy);font-size:16px;padding:0 13px}.woocommerce ul.products li.product .button{margin:10px 13px 0;text-align:center;font-size:13px;padding:9px 7px}.woocommerce ul.products li.product .star-rating{margin-left:13px}.woocommerce span.onsale{background:#397dab;min-height:0;min-width:0;line-height:1.5;padding:5px 12px;border-radius:4px}.page-content{background:white;padding:30px;border:1px solid var(--border);border-radius:10px;min-width:0}.page-content h1{font-size:30px}.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:24px}.woocommerce div.product div.images img{aspect-ratio:1;object-fit:contain;background:#e9f2f9;border-radius:10px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--blue);font-size:26px}.woocommerce .quantity .qty{padding:9px;border:1px solid var(--border);border-radius:4px;width:70px}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:#edf6fc;border-color:var(--border)}.woocommerce table.shop_table{border-color:var(--border);border-radius:8px}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px}.woocommerce-cart table.cart img{width:70px;aspect-ratio:1;object-fit:contain}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,input[type=text],input[type=email],input[type=tel],input[type=password],select,textarea{font:inherit;border:1px solid #b9cddd;border-radius:5px;padding:10px;max-width:100%;background:white;color:var(--navy)}.woocommerce #payment{background:#edf6fc}.woocommerce-message,.woocommerce-info{border-top-color:var(--blue);background:#eef6fc}.woocommerce-message:before,.woocommerce-info:before{color:var(--blue)}.woocommerce .related{clear:both}.woocommerce .related ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{margin-bottom:20px}.empty-shop{padding:30px;background:white;border:1px dashed #b7cfe3;border-radius:8px}.site-footer{background:#e8f3fb;border-top:1px solid var(--border);padding:35px 0}.footer-inner{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap}.site-footer p{margin:8px 0;color:var(--muted);font-size:13px}.trust-note{padding:15px;border:1px solid var(--border);background:#f1f8fd;border-radius:6px;font-size:14px;clear:both}.wc-block-cart,.wc-block-checkout{color:var(--navy)}.wc-block-components-product-image img{aspect-ratio:1;object-fit:contain}.wc-block-components-button{background:var(--blue);color:white;border-radius:5px}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:901px){body.woocommerce-cart .shop-layout,body.woocommerce-checkout .shop-layout{grid-template-columns:1fr}body.woocommerce-cart aside,body.woocommerce-checkout aside{display:none}}
@media(max-width:1100px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.header-main{gap:20px}.header-actions{gap:10px}.hero{padding:25px}.shop-layout{grid-template-columns:180px minmax(0,1fr);gap:20px}}
@media(max-width:760px){.wrap{width:92%}.header-main{flex-wrap:wrap;padding:18px 0;gap:14px}.brand{font-size:23px}.header-actions{font-size:12px}.search-form{order:3;max-width:none;flex-basis:100%}.menu-toggle{display:block;border:1px solid var(--border);padding:8px 15px;border-radius:5px;background:white;color:var(--navy);margin-bottom:12px}.js .nav-list{display:none}.js .nav-list.is-open{display:flex}.nav-list{gap:18px}.shop-layout{display:block;margin-top:20px}.shop-layout aside{display:none}.hero{min-height:310px;padding:24px;grid-template-columns:1.2fr 1fr}.hero h1{font-size:27px}.hero p{font-size:13px}.hero-art{min-width:120px}.woocommerce ul.products,.woocommerce .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.page-content{padding:18px}.page-content h1{font-size:25px}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%;float:none}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:10px}.section-title h2{font-size:21px}}
@media(prefers-reduced-motion:no-preference){a,button{transition:background .15s,color .15s}}
