/*
Theme Name: YING HO TELECOM Store
Theme URI: https://yinghotelecom.store/
Author: YING HO TELECOM
Description: YING HO TELECOM storefront backed by WooCommerce products and WordPress posts.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kingsound-clone
*/

.yingho-wordmark { display:flex; flex-direction:column; justify-content:center; line-height:1.05; color:#222; letter-spacing:.04em; white-space:nowrap; min-height:44px; text-align:left; }
.yingho-wordmark strong { font-size:25px; font-weight:800; color:#ee6b20; }
.yingho-wordmark span { font-size:18px; font-weight:700; letter-spacing:.16em; }
.yingho-wordmark small { font-size:12px; font-weight:600; letter-spacing:.08em; margin-top:3px; }
@media(max-width:767px) { .yingho-wordmark { min-height:40px; } .yingho-wordmark strong { font-size:20px; } .yingho-wordmark span { font-size:15px; } .yingho-wordmark small { font-size:10px; } }

.ks-store-main { min-height: 55vh; padding: 32px 15px 70px; }
.ks-store-main.section-width { max-width: 1170px; margin: 0 auto; }
.ks-store-main h1 { font-size: 28px; margin: 0 0 24px; }
.ks-store-main .product-list__products { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px 15px; }
.ks-store-main .product-list__product { min-width: 0; }
.ks-product-action { display: inline-block; margin-top: 8px; padding: 6px 13px; background: #fa6400; color: #fff!important; font-size: 13px; text-decoration: none; }
.ks-product-action:hover { background: #df5700; }
.ks-product-empty { padding: 24px 0; text-align: center; grid-column: 1/-1; }
.ks-product-empty a { color: #fa6400; }
.ks-search-modal { position: fixed; z-index: 1002; top: 100px; left: 50%; width: min(600px,calc(100% - 30px)); transform: translateX(-50%); background: #fff; box-shadow: 0 5px 30px #0003; padding: 20px; display: none; }
.ks-search-modal.is-open { display: block; }
.ks-search-modal form { display: flex; align-items: center; gap: 10px; }
.ks-search-modal input[type=search] { flex: 1; min-width: 0; padding: 11px; border: 1px solid #ddd; }
.ks-search-modal button { border: 0; background: #fa6400; color: #fff; padding: 11px 16px; cursor: pointer; }
.ks-search-close { background: #eee!important; color: #333!important; }
.ks-post-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.ks-post-grid .post-card__image-container img { width:100%; aspect-ratio:1; object-fit:cover; }
.ks-article { max-width: 800px; margin: 0 auto; }
.ks-article img { max-width: 100%; height: auto; }
.ks-article .entry-content { line-height: 1.8; }
.woocommerce .products { display: grid!important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.woocommerce .products::before,.woocommerce .products::after { display:none!important; }
.woocommerce ul.products li.product { width:auto!important; float:none!important; margin:0!important; }
@media(max-width:767px) { .ks-store-main .product-list__products,.woocommerce .products { grid-template-columns:repeat(2,minmax(0,1fr)); } .ks-post-grid { grid-template-columns:1fr; } }
