/*
Theme Name: 恒荣行可视化商城
Version: 0.1.0
Requires at least: 6.8
Requires PHP: 8.2
*/
:root{--hrh-ink:#171713;--hrh-paper:#f6f5f1;--hrh-line:#dedcd5}*{box-sizing:border-box}body{margin:0;color:var(--hrh-ink);background:var(--hrh-paper);font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif}a{color:inherit}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #986b33;outline-offset:3px}.hrh-main{min-height:60vh}.hrh-store-shell{width:min(1440px,92%);margin:0 auto;padding-block:60px}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:white}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px}.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--hrh-ink)}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{border-radius:0;background:var(--hrh-ink);color:white;font-weight:500;padding:15px 22px}.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:#171713}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--hrh-line);padding:12px;background:#fff}.woocommerce .quantity .qty{min-height:44px}.woocommerce table.shop_table{border-radius:0}.hrh-site-nav ul{list-style:none;padding:0;margin:0;display:flex;align-items:center;gap:24px}.hrh-site-nav a{text-decoration:none}.hrh-site-nav .sub-menu{display:none;position:absolute;background:var(--hrh-paper);padding:20px;z-index:50}.hrh-site-nav li:hover>.sub-menu,.hrh-site-nav li:focus-within>.sub-menu{display:flex;flex-direction:column;align-items:start}.hrh-nav-toggle{display:none}.hrh-site-nav li{position:relative}.hrh-product-layout{width:min(1440px,92%)}.hrh-product-layout .woocommerce-product-gallery{float:none;width:100%}.hrh-product-layout .summary{float:none;width:100%}.hrh-preview-warning{padding:12px 4%;background:#fff4d8;text-align:center}.hrh-site-footer a{text-decoration:none}@media(max-width:767px){.hrh-store-shell{padding-block:30px}.woocommerce ul.products[class*=columns-] li.product{width:48%;margin-right:0}.hrh-nav-toggle{display:block;background:transparent;border:1px solid currentColor;padding:10px 14px}.hrh-site-nav>ul{display:none;flex-direction:column;align-items:stretch;gap:0;padding:16px}.hrh-site-nav[data-open=true]>ul{display:flex}.hrh-site-nav>ul a{display:block;padding:12px}.hrh-site-nav .sub-menu{position:static;display:flex;flex-direction:column;align-items:stretch;padding:0 0 0 16px}.hrh-product-layout .woocommerce-product-gallery{width:100%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto;animation-duration:.01ms;transition-duration:.01ms}}
.home .hrh-site-header{position:absolute;inset:0 0 auto;z-index:20;color:#fff}.hrh-site-header{color:#171713}.hrh-site-header .elementor-button{font-weight:500}.hrh-site-header .e-con{--container-widget-width:100%}.hrh-site-header .elementor-widget-hrh-navigation{width:auto}.home .hrh-site-nav .sub-menu{color:#171713}.hrh-site-header .elementor-button-content-wrapper{white-space:nowrap}@media(max-width:767px){.home .hrh-site-nav[data-open=true]{background:#171713}.hrh-site-header .elementor-widget-hrh-navigation{width:100%}.hrh-site-header .hrh-nav-toggle{margin:auto}.hrh-site-header .elementor-widget-image img{width:76px}}
.hrh-nav-toggle{color:inherit}.hrh-catalog .hrh-product-search{display:flex;gap:12px;align-items:end;margin:32px 0}.hrh-product-search label{display:flex;gap:10px;align-items:center}.hrh-product-search input{padding:12px;border:1px solid var(--hrh-line);background:#fff;min-width:240px}.hrh-product-search button{padding:12px 24px;border:1px solid var(--hrh-ink);background:var(--hrh-ink);color:#fff}.hrh-catalog .woocommerce-ordering select{padding:10px;border:1px solid var(--hrh-line);background:#fff}.hrh-catalog .woocommerce-result-count{padding-top:10px}@media(max-width:767px){.hrh-product-search label{display:block;flex:1;min-width:0}.hrh-product-search input{min-width:0;width:100%;margin-top:8px}.hrh-product-search button{flex:none;min-height:44px;padding:12px 20px;white-space:nowrap}.hrh-site-header .hrh-nav-toggle{font-size:12px;padding:6px 18px}}

/* Elementor product parts retain WooCommerce gallery semantics inside the product wrapper. */
.woocommerce.hrh-product-layout div.product div.images{float:none;width:100%;margin-bottom:0}.hrh-product-layout .hrh-product-images{min-width:0}.woocommerce.hrh-product-layout div.product div.images .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.woocommerce.hrh-product-layout div.product div.images .flex-control-thumbs li{float:none;width:calc((100% - 30px)/4);max-width:90px;list-style:none}.woocommerce.hrh-product-layout div.product div.images .flex-control-thumbs img{width:100%;aspect-ratio:1;object-fit:cover}.hrh-product-layout .hrh-product-description img{display:block;max-width:100%;height:auto;margin-inline:auto}.hrh-product-layout .hrh-product-title h1{font-size:clamp(24px,2.4vw,36px);line-height:1.3}.hrh-product-layout .hrh-product-summary{line-height:1.8}.hrh-product-layout .shop_attributes th{width:140px}.hrh-product-layout .shop_attributes td p{font-style:normal}@media(max-width:767px){.hrh-product-layout .shop_attributes th{width:90px}.hrh-product-layout{padding-block:24px}}

/* Product detail: bounded gallery, readable facts and purchase controls. */
.woocommerce.hrh-product-layout div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg){width:100%;height:520px;object-fit:contain;background:#f0efea}.hrh-product-layout .hrh-product-description{max-width:800px;margin-inline:auto;width:100%}.hrh-product-layout .hrh-product-description img{width:auto;max-width:100%;height:auto}.hrh-product-layout .hrh-product-title h1{margin:0 0 12px;font-size:30px;font-weight:500}.hrh-product-layout .hrh-product-price{font-size:26px;margin-bottom:12px}.hrh-product-layout .hrh-price-unit{font-size:14px;color:#666}.hrh-product-facts{margin:0 0 20px;border-top:1px solid #dedcd5;padding-top:16px}.hrh-product-facts>div{display:grid;grid-template-columns:72px 1fr;gap:12px;padding:7px 0;font-size:14px}.hrh-product-facts dt{color:#666}.hrh-product-facts dd{margin:0}.woocommerce.hrh-product-layout div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0}.woocommerce.hrh-product-layout div.product form.cart .quantity{float:none;margin:0}.woocommerce.hrh-product-layout div.product form.cart .button{float:none;font-size:14px;min-height:46px;padding:12px 20px}.woocommerce.hrh-product-layout div.product form.cart .single_add_to_cart_button{background:transparent;border:1px solid #171713;color:#171713}.hrh-product-video video{width:100%;max-height:520px}.hrh-product-layout .hrh-product-description p{margin:0}@media(max-width:767px){.woocommerce.hrh-product-layout div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg){height:360px}.hrh-product-layout .hrh-product-title h1{font-size:24px}.hrh-product-layout .hrh-product-price{font-size:24px}.hrh-product-facts>div{font-size:13px}.woocommerce.hrh-product-layout div.product form.cart .quantity{width:100%}}
