/* HEPU MEDICAL site styles (tshopemed.com)
 * Loaded by mu-plugins/hepu-catalog-style.php.
 * History: moved from the hepu_catalog_css DB option on 2026-08-01,
 * English-first rebuild; legacy literal "\n" sequences and the
 * browser-side language switcher styles were removed.
 * 2026-08-01 r2: hero slider is now JS-driven (hepu-site.js) with
 * arrow/dot controls; the hepuSlide keyframe animation was removed.
 */

/* ---- theme neutralization (twentytwentyfive) ---- */
header.wp-block-template-part,
footer.wp-block-template-part{display:none!important}
.wp-site-blocks{padding-top:0!important}
.wp-site-blocks>main{margin-block-start:0!important;padding:0!important;max-width:none!important}
.wp-block-post-title{display:none!important}
.entry-content,.wp-block-post-content{margin-block-start:0!important;max-width:none!important}
.entry-content>.hepu-site,.wp-block-post-content>.hepu-site{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
html,body{overflow-x:hidden}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:#17212b;background:#fff}

/* ---- base ---- */
.hepu-site{--blue:#0066cc;--blue2:#1a5f9e;--ink:#17212b;--muted:#64717d;--line:#e4ebf2;--soft:#f6f9fc;background:#fff;color:var(--ink);line-height:1.55}
.hepu-site,.hepu-site *,.hepu-site *:before,.hepu-site *:after{box-sizing:border-box}
.hepu-site a{text-decoration:none;color:inherit}

/* ---- global chrome (header + footer injected by mu-plugin) ---- */
.hepu-page-chrome{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid var(--line)}
.admin-bar .hepu-page-chrome{top:32px}
.hepu-global-chrome{position:fixed!important;top:0;left:0;right:0;z-index:1000;background:#fff;border-bottom:1px solid var(--line)}
.admin-bar .hepu-global-chrome{top:32px}
.hepu-global-chrome .hepu-header,.hepu-page-chrome .hepu-header{position:static!important;box-shadow:none;border-bottom:0}
.hepu-header{height:82px;width:min(1180px,calc(100% - 48px));margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line);background:#fff;box-sizing:border-box}
.hepu-logo{font-weight:900;font-size:24px;letter-spacing:.03em;color:#17212b}
.hepu-nav{display:flex;align-items:center;gap:30px;font-size:16px}
.hepu-nav a{color:#17212b}
.hepu-nav a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:5px}
.hepu-page-chrome--footer{position:static;border-bottom:0;margin-top:84px}
.hepu-footer{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:34px 0 42px;border-top:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:32px;color:#42515f;flex-wrap:wrap}
.hepu-footer__brand{display:flex;flex-direction:column;gap:5px;max-width:380px}
.hepu-footer__brand strong{color:#17212b}
.hepu-footer__brand span{font-size:14px}
.hepu-footer__nav{display:flex;gap:24px;flex-wrap:wrap}
.hepu-footer__nav a:hover{color:var(--blue)}
.hepu-footer__meta{display:flex;flex-direction:column;gap:5px;font-size:14px;text-align:right}
@media(max-width:782px){.admin-bar .hepu-page-chrome,.admin-bar .hepu-global-chrome{top:46px}}
@media(max-width:760px){
.hepu-header{height:auto;align-items:flex-start;flex-direction:column;padding:20px 0;position:sticky}
.hepu-nav{flex-wrap:wrap;gap:14px 20px}
.hepu-footer__meta{text-align:left}
}

/* ---- home hero ---- */
.hepu-hero{min-height:620px;background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.74) 42%,rgba(255,255,255,.12) 100%) center/cover no-repeat;display:flex;align-items:center}
.hepu-hero__inner{width:min(1180px,calc(100% - 48px));margin:0 auto}
.hepu-eyebrow{color:var(--blue);font-size:13px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;margin:0 0 14px}
.hepu-hero h1{font-size:clamp(38px,5vw,72px);line-height:1.08;margin:0 0 18px;font-weight:800;letter-spacing:0;max-width:760px}
.hepu-hero h1 span{display:block}
.hepu-subtitle{font-size:26px;color:#33414f;margin:0 0 34px;text-shadow:0 1px 2px rgba(255,255,255,.8)}
.hepu-actions{display:flex;gap:14px;flex-wrap:wrap}
.hepu-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 28px;border-radius:4px;font-weight:700;border:1px solid var(--blue)}
.hepu-button--primary{background:var(--blue);color:#fff}
.hepu-button--ghost{background:#fff;color:var(--blue)}
.hepu-hero--slider{position:relative;overflow:hidden;background:none!important}
.hepu-slides{position:absolute;inset:0;display:flex;width:300%;transition:transform .6s ease}
.hepu-slide{width:33.333%;background-size:cover;background-position:center;position:relative}
.hepu-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.85) 42%,rgba(255,255,255,.12) 100%)}
.hepu-hero--slider .hepu-hero__inner{position:relative;z-index:2}
.hepu-slide:nth-child(1){background-image:url("/wp-content/uploads/2026/07/002-eb9a8504-f75b-4099-9b5a-b373bd64cca7-b0d8788033.jpg")!important}
.hepu-slide:nth-child(2){background-image:url("/wp-content/uploads/2026/07/069-ibYqAMsOQTyQj8cTKyCzsQ20210525152114-89eacc9db9.jpg")!important}
.hepu-slide:nth-child(3){background-image:url("/wp-content/uploads/2026/07/016-news_pic-f41e50f709.jpg")!important}

/* ---- hero slider controls (JS: hepu-site.js) ---- */
.hepu-hero__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.88) center/22px 22px no-repeat;box-shadow:0 4px 14px rgba(17,42,70,.18);cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease}
.hepu-hero__arrow:hover{background-color:#fff;box-shadow:0 6px 20px rgba(17,42,70,.26)}
.hepu-hero__arrow:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.hepu-hero__arrow--prev{left:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066cc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E")}
.hepu-hero__arrow--next{right:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066cc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E")}
.hepu-hero__dots{position:absolute;left:0;right:0;bottom:22px;z-index:3;display:flex;justify-content:center;gap:10px}
.hepu-hero__dot{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.65);box-shadow:0 1px 4px rgba(17,42,70,.25);cursor:pointer;transition:background-color .18s ease,transform .18s ease}
.hepu-hero__dot:hover{background:#fff}
.hepu-hero__dot:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.hepu-hero__dot[aria-current="true"]{background:var(--blue);transform:scale(1.2)}
@media(max-width:560px){
.hepu-hero__arrow{display:none}
.hepu-hero__dots{bottom:14px}
}
@media(prefers-reduced-motion:reduce){
.hepu-slides{transition:none}
}

/* ---- sections ---- */
.hepu-section{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:76px 0}
.hepu-section--soft{box-sizing:border-box!important;width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;background:var(--soft);overflow:hidden;padding:76px max(24px,calc((100vw - 1180px)/2))!important}
.hepu-section--soft>.hepu-section__head,.hepu-section--soft>.hepu-category-grid,.hepu-section--soft>.hepu-posts-grid{width:min(1180px,100%)!important;margin-left:auto!important;margin-right:auto!important}
.hepu-section__head{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px;border-bottom:1px solid var(--line);padding-bottom:16px}
.hepu-section__head p{margin:0;color:var(--blue);font-size:13px;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.hepu-section__head h2{margin:0;font-size:32px}
.hepu-section__head .hepu-more{color:var(--blue);font-weight:700;font-size:15px}

/* ---- product grids (shortcode + shop archive) ---- */
.hepu-site ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px!important;margin:0!important;padding:0!important}
.hepu-site ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--line);border-radius:4px;padding:18px!important;box-shadow:0 8px 18px rgba(17,42,70,.04);transition:box-shadow .18s ease,transform .18s ease}
.hepu-site ul.products li.product:hover{box-shadow:0 14px 28px rgba(17,42,70,.1);transform:translateY(-2px)}
.hepu-site ul.products li.product img{aspect-ratio:1/1;object-fit:contain;background:#f8fafc;border-radius:4px}
.hepu-site .woocommerce-loop-product__title{font-size:17px!important;line-height:1.35;color:var(--ink);min-height:46px}
.hepu-site .price{display:none!important}
.hepu-site .button,.hepu-site a.button{border-radius:4px!important;background:var(--blue)!important;color:#fff!important;font-weight:700!important}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;border:1px solid var(--line);border-radius:4px;padding:18px!important;box-shadow:0 8px 18px rgba(17,42,70,.04)}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product a.button,.wc-block-product .hepu-quote-button{display:block;border-radius:4px!important;background:#0066cc!important;color:#fff!important;font-weight:700!important;text-decoration:none!important;padding:10px 14px;text-align:center}
.woocommerce div.product form.cart,.woocommerce a.added_to_cart,.woocommerce .single_add_to_cart_button,.woocommerce .cart,.woocommerce-page .cart,.wc-block-mini-cart{display:none!important}

/* ---- category cards ---- */
.hepu-category-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;overflow:visible!important}
.hepu-category-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:4px;padding:22px;display:flex;flex-direction:column;gap:13px;box-shadow:0 8px 18px rgba(17,42,70,.04);transition:box-shadow .18s ease,transform .18s ease;overflow:hidden}
.hepu-category-card:hover{box-shadow:0 14px 28px rgba(17,42,70,.1);transform:translateY(-2px)}
.hepu-category-card__image{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#f8fafc;border-radius:4px;overflow:hidden}
.hepu-category-card__image img{width:100%;height:100%;object-fit:contain;display:block;max-width:100%;max-height:100%}
.hepu-category-card strong{font-size:20px;line-height:1.25}
.hepu-category-card em{font-style:normal;color:var(--muted)}

/* ---- about / factory ---- */
.hepu-about{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:82px 0;display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;border-bottom:1px solid var(--line)}
.hepu-about h2,.hepu-contact h2{font-size:34px;line-height:1.22;margin:0}
.hepu-about p:last-child{font-size:18px;color:#42515f;margin:0}
.hepu-about-copy p{margin:0 0 14px;color:#42515f;font-size:17px}
.hepu-factory-gallery{width:min(1180px,calc(100% - 48px));margin:0 auto 76px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.hepu-factory-gallery img{width:100%;height:190px;object-fit:cover;border:1px solid var(--line);border-radius:4px;background:#f8fafc}
.hepu-subhero{min-height:360px;background-image:url("/wp-content/uploads/2026/07/069-ibYqAMsOQTyQj8cTKyCzsQ20210525152114-89eacc9db9.jpg");background-size:cover;background-position:center;display:flex;align-items:center;position:relative}
.hepu-subhero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.92),rgba(255,255,255,.45))}
.hepu-subhero>div{position:relative;z-index:1;width:min(1180px,calc(100% - 48px));margin:0 auto}
.hepu-subhero h1{font-size:56px;margin:0}
.hepu-about-detail{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:78px 0;display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.hepu-about-detail h2{font-size:34px;margin:0 0 22px}
.hepu-about-detail p{color:#42515f;font-size:17px;line-height:1.75}
.hepu-about-detail__image img{width:100%;border-radius:4px;border:1px solid var(--line)}
.hepu-factory-gallery--page{grid-template-columns:repeat(3,minmax(0,1fr))}

/* ---- contact / forms ---- */
.hepu-contact{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:82px 0 92px;display:grid;grid-template-columns:.85fr 1.15fr;gap:70px}
.hepu-contact__copy p:last-child{color:var(--muted);font-size:17px}
.hepu-form{background:#fff;border:1px solid var(--line);border-radius:4px;padding:26px;box-shadow:0 14px 34px rgba(17,42,70,.08)}
.hepu-form label,.hepu-inquiry-form label{display:block;font-size:14px;color:#42515f;margin-bottom:14px}
.hepu-form input,.hepu-form textarea,.hepu-inquiry-form input,.hepu-inquiry-form textarea{width:100%;margin-top:6px;border:1px solid #d8e2eb;border-radius:4px;padding:12px 13px;font:inherit}
.hepu-form button,.hepu-inquiry-form button{border:0;border-radius:4px;background:var(--blue);color:#fff;font-weight:700;padding:13px 22px;cursor:pointer}
.hepu-form button:hover,.hepu-inquiry-form button:hover{background:var(--blue2)}
.hepu-form-notice{margin:0 0 16px;padding:12px 14px;border-radius:4px;font-weight:700}
.hepu-form-notice--success{background:#ecf8f1;color:#126b38;border:1px solid #bfe6cd}
.hepu-form-notice--error{background:#fff4f2;color:#a43a2f;border:1px solid #f0c5bf}
.hepu-fluent-shortcode:empty{display:none}

/* ---- plain content pages (privacy, terms) ---- */
.hepu-page{width:min(1000px,calc(100% - 48px));margin:80px auto}
.hepu-page h1{font-size:42px}
.hepu-page p{color:#42515f;font-size:17px;line-height:1.75}

/* ---- WooCommerce shop archive polish ---- */
body.woocommerce-shop .wp-site-blocks,body.post-type-archive-product .wp-site-blocks,body.tax-product_cat .wp-site-blocks,body.single-product .wp-site-blocks{padding-top:82px!important}
body.woocommerce-shop .wp-site-blocks>main,body.post-type-archive-product .wp-site-blocks>main,body.tax-product_cat .wp-site-blocks>main,body.single-product .wp-site-blocks>main{max-width:none!important;margin-block-start:0!important;padding:0 0 84px!important}
body.woocommerce-shop .wp-block-breadcrumbs,body.post-type-archive-product .wp-block-breadcrumbs,body.tax-product_cat .wp-block-breadcrumbs,body.single-product .wp-block-breadcrumbs,
body.woocommerce-shop .woocommerce-breadcrumb,body.post-type-archive-product .woocommerce-breadcrumb,body.tax-product_cat .woocommerce-breadcrumb,body.single-product .woocommerce-breadcrumb,
body.woocommerce-shop .woocommerce-products-header,body.post-type-archive-product .woocommerce-products-header,body.tax-product_cat .woocommerce-products-header,
body.woocommerce-shop .woocommerce-result-count,body.post-type-archive-product .woocommerce-result-count,body.tax-product_cat .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering,body.post-type-archive-product .woocommerce-ordering,body.tax-product_cat .woocommerce-ordering{display:none!important}
.hepu-shop-hero{background:linear-gradient(180deg,#f8fbfe 0%,#fff 100%);border-bottom:1px solid var(--line);padding:58px 0 50px}
.hepu-shop-hero>div{width:min(1180px,calc(100% - 48px));margin:0 auto}
.hepu-shop-hero h1{margin:0 0 12px;font-size:42px;line-height:1.18;color:var(--ink);letter-spacing:0}
.hepu-shop-hero p:last-child{margin:0;max-width:760px;color:#42515f;font-size:17px;line-height:1.7}
body.woocommerce-shop .wp-block-query-title,body.post-type-archive-product .wp-block-query-title,body.tax-product_cat .wp-block-query-title{display:none!important}
body.woocommerce-shop .woocommerce,body.post-type-archive-product .woocommerce,body.tax-product_cat .woocommerce{width:min(1180px,calc(100% - 48px));margin:46px auto 0!important}
body.woocommerce-shop ul.products,body.post-type-archive-product ul.products,body.tax-product_cat ul.products{align-items:stretch}
body.woocommerce-shop ul.products li.product,body.post-type-archive-product ul.products li.product,body.tax-product_cat ul.products li.product{display:flex;flex-direction:column;min-height:100%;background:#fff}
body.woocommerce-shop ul.products li.product img,body.post-type-archive-product ul.products li.product img,body.tax-product_cat ul.products li.product img{height:auto;width:100%;margin:0 0 16px!important}
body.woocommerce-shop ul.products li.product .button,body.post-type-archive-product ul.products li.product .button,body.tax-product_cat ul.products li.product .button{margin-top:auto;text-align:center}
body.woocommerce-shop .wp-block-woocommerce-product-collection,body.post-type-archive-product .wp-block-woocommerce-product-collection,body.tax-product_cat .wp-block-woocommerce-product-collection{width:min(1180px,calc(100% - 48px))!important;max-width:1180px!important;margin:46px auto 0!important}
body.woocommerce-shop .wc-block-product-template,body.post-type-archive-product .wc-block-product-template,body.tax-product_cat .wc-block-product-template{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;max-width:none!important;margin:0!important;padding:0!important}
body.woocommerce-shop .wc-block-product,body.post-type-archive-product .wc-block-product,body.tax-product_cat .wc-block-product{display:flex!important;flex-direction:column;list-style:none;background:#fff;border:1px solid var(--line);border-radius:4px;padding:18px!important;box-shadow:0 8px 18px rgba(17,42,70,.04);transition:box-shadow .18s ease,transform .18s ease}
body.woocommerce-shop .wc-block-product:hover,body.post-type-archive-product .wc-block-product:hover,body.tax-product_cat .wc-block-product:hover{box-shadow:0 14px 28px rgba(17,42,70,.1);transform:translateY(-2px)}
body.woocommerce-shop .wc-block-product .wp-block-post-title,body.post-type-archive-product .wc-block-product .wp-block-post-title,body.tax-product_cat .wc-block-product .wp-block-post-title{display:block!important;margin:14px 0 16px!important;min-height:46px;text-align:left!important;font-size:17px!important;line-height:1.35!important;font-weight:700;color:var(--ink)}
body.woocommerce-shop .wc-block-product .wp-block-post-title a,body.post-type-archive-product .wc-block-product .wp-block-post-title a,body.tax-product_cat .wc-block-product .wp-block-post-title a{color:var(--ink);text-decoration:none}
body.woocommerce-shop .wc-block-product .wc-block-components-product-image,body.post-type-archive-product .wc-block-product .wc-block-components-product-image,body.tax-product_cat .wc-block-product .wc-block-components-product-image,body.woocommerce-shop .wc-block-product .wp-block-woocommerce-product-image,body.post-type-archive-product .wc-block-product .wp-block-woocommerce-product-image,body.tax-product_cat .wc-block-product .wp-block-woocommerce-product-image{margin:0!important}
body.woocommerce-shop .wc-block-product img,body.post-type-archive-product .wc-block-product img,body.tax-product_cat .wc-block-product img{width:100%!important;aspect-ratio:1/1;object-fit:contain;background:#f8fafc;border-radius:4px;margin:0!important}
body.woocommerce-shop .wc-block-product .wp-block-button,body.post-type-archive-product .wc-block-product .wp-block-button,body.tax-product_cat .wc-block-product .wp-block-button{margin-top:auto!important}
body.woocommerce-shop .wc-block-product .wp-block-button__link,body.post-type-archive-product .wc-block-product .wp-block-button__link,body.tax-product_cat .wc-block-product .wp-block-button__link{width:100%;border-radius:4px!important;background:var(--blue)!important;color:#fff!important;font-weight:700!important;padding:12px 18px!important}
body.woocommerce-shop .wc-block-store-notices,body.post-type-archive-product .wc-block-store-notices,body.tax-product_cat .wc-block-store-notices,body.woocommerce-shop main>.wp-block-group.alignwide.is-content-justification-space-between,body.post-type-archive-product main>.wp-block-group.alignwide.is-content-justification-space-between,body.tax-product_cat main>.wp-block-group.alignwide.is-content-justification-space-between{display:none!important;margin:0!important;height:0!important}

/* ---- single product ---- */
body.single-product .woocommerce{width:min(1180px,calc(100% - 48px));margin:46px auto 0!important}
body.single-product div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start}
body.single-product div.product .woocommerce-product-gallery,body.single-product div.product .wp-block-woocommerce-product-image-gallery{margin:0!important}
body.single-product div.product .summary,body.single-product div.product .product-summary{width:100%!important;float:none!important;margin:0!important}
body.single-product .product_title{font-size:34px;line-height:1.2;margin:0 0 16px}
body.single-product div.product .woocommerce-tabs,body.single-product div.product .related{grid-column:1 / -1}
body.single-product div.product .woocommerce-tabs{width:min(880px,100%);margin-right:auto}
body.single-product .woocommerce-product-details__short-description{font-size:17px;color:#42515f;line-height:1.7}
@media(max-width:900px){body.single-product div.product{grid-template-columns:1fr;gap:28px}}

/* ---- spec table (product pages + articles) ---- */
.hepu-spec-table{width:100%;border-collapse:collapse;margin:20px 0 28px;font-size:15px;line-height:1.5}
.hepu-spec-table th,.hepu-spec-table td{border:1px solid var(--line);padding:10px 14px;text-align:left;vertical-align:top}
.hepu-spec-table th{width:220px;background:var(--soft);font-weight:700;color:var(--ink);white-space:nowrap}
.hepu-spec-table td{color:#42515f}
.hepu-spec-table thead th{background:#eaf2fa;white-space:normal}
@media(max-width:560px){.hepu-spec-table th{width:130px}}

/* ---- blog index + archive ---- */
body.blog .wp-site-blocks>main,body.archive .wp-site-blocks>main,body.search .wp-site-blocks>main,body.single-post .wp-site-blocks>main{width:min(880px,calc(100% - 48px))!important;margin:0 auto!important;padding:64px 0 84px!important}
body.blog .wp-block-query-title,body.archive .wp-block-query-title{display:none!important}
body.blog .wp-block-post-template,body.archive .wp-block-post-template,body.search .wp-block-post-template{display:grid!important;grid-template-columns:1fr;gap:20px!important}
body.blog .wp-block-post-template>li,body.archive .wp-block-post-template>li,body.search .wp-block-post-template>li{list-style:none;border:1px solid var(--line);border-radius:4px;padding:26px;box-shadow:0 8px 18px rgba(17,42,70,.04);transition:box-shadow .18s ease,transform .18s ease}
body.blog .wp-block-post-template>li:hover,body.archive .wp-block-post-template>li:hover,body.search .wp-block-post-template>li:hover{box-shadow:0 14px 28px rgba(17,42,70,.1);transform:translateY(-2px)}
body.blog .wp-block-post-title,body.archive .wp-block-post-title,body.search .wp-block-post-title{display:block!important;font-size:24px!important;line-height:1.3!important;margin:0 0 10px!important}
body.blog .wp-block-post-title a,body.archive .wp-block-post-title a,body.search .wp-block-post-title a{color:var(--ink);text-decoration:none}
body.blog .wp-block-post-title a:hover,body.archive .wp-block-post-title a:hover{color:var(--blue)}
body.blog .wp-block-post-date,body.archive .wp-block-post-date{color:var(--muted);font-size:14px}
body.blog .wp-block-post-excerpt__excerpt,body.archive .wp-block-post-excerpt__excerpt{color:#42515f;font-size:16px;line-height:1.7}
body.blog .wp-block-post-featured-image,body.archive .wp-block-post-featured-image{margin:0 0 16px}
body.blog .wp-block-post-featured-image img,body.archive .wp-block-post-featured-image img{border-radius:4px}
body.blog .wp-block-query-pagination,body.archive .wp-block-query-pagination{margin-top:36px;display:flex;gap:14px}
body.blog .wp-block-query-pagination a,body.archive .wp-block-query-pagination a{color:var(--blue);font-weight:700}
body.blog h1.hepu-blog-title,body.archive h1.hepu-blog-title{font-size:42px;margin:0 0 12px}
.hepu-blog-intro{color:#42515f;font-size:17px;margin:0 0 40px;max-width:720px}

/* ---- single post ---- */
body.single-post .wp-block-post-title{display:block!important;font-size:40px!important;line-height:1.2!important;margin:0 0 14px!important;font-weight:800}
body.single-post .wp-block-post-date{color:var(--muted);font-size:14px;margin-bottom:34px;display:block}
body.single-post .wp-block-post-featured-image{margin:0 0 34px}
body.single-post .wp-block-post-featured-image img{border-radius:4px;width:100%}
body.single-post .wp-block-post-content{font-size:17px;line-height:1.8;color:#2c3a47}
body.single-post .wp-block-post-content h2{font-size:28px;line-height:1.3;margin:44px 0 16px;color:var(--ink)}
body.single-post .wp-block-post-content h3{font-size:21px;margin:32px 0 12px;color:var(--ink)}
body.single-post .wp-block-post-content p{margin:0 0 18px}
body.single-post .wp-block-post-content ul,body.single-post .wp-block-post-content ol{margin:0 0 18px;padding-left:24px}
body.single-post .wp-block-post-content li{margin-bottom:8px}
body.single-post .wp-block-post-content a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
body.single-post .wp-block-post-content img{border-radius:4px;max-width:100%;height:auto}
body.single-post .wp-block-post-content blockquote{margin:24px 0;padding:16px 22px;border-left:4px solid var(--blue);background:var(--soft);color:#33414f}
body.single-post .wp-block-post-terms,body.single-post .wp-block-post-navigation-link{margin-top:40px}
body.single-post .wp-block-post-terms a{color:var(--blue)}

/* ---- FAQ block (articles) ---- */
.hepu-faq{margin:40px 0 28px;padding:28px;border:1px solid var(--line);border-radius:4px;background:var(--soft)}
.hepu-faq>h2{margin:0 0 18px!important;font-size:24px!important}
.hepu-faq__item{padding:16px 0;border-top:1px solid var(--line)}
.hepu-faq__item:first-of-type{border-top:0;padding-top:0}
.hepu-faq__item h3{margin:0 0 8px!important;font-size:17px!important;color:var(--ink)}
.hepu-faq__item p{margin:0!important;color:#42515f;font-size:15px}

/* ---- recent posts (home shortcode) ---- */
.hepu-posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hepu-post-card{background:#fff;border:1px solid var(--line);border-radius:4px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 18px rgba(17,42,70,.04);transition:box-shadow .18s ease,transform .18s ease}
.hepu-post-card:hover{box-shadow:0 14px 28px rgba(17,42,70,.1);transform:translateY(-2px)}
.hepu-post-card__image{display:block;aspect-ratio:16/9;background:#f8fafc;overflow:hidden}
.hepu-post-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.hepu-post-card__body{padding:20px;display:flex;flex-direction:column;gap:10px}
.hepu-post-card__body strong{font-size:18px;line-height:1.35;color:var(--ink)}
.hepu-post-card__body em{font-style:normal;color:var(--muted);font-size:14px;line-height:1.6}
.hepu-post-card__date{font-size:13px;color:var(--muted)}
@media(max-width:900px){.hepu-posts-grid{grid-template-columns:1fr}}

/* ---- responsive ---- */
@media(max-width:900px){
.hepu-site ul.products,.woocommerce ul.products,.hepu-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.hepu-about,.hepu-contact{grid-template-columns:1fr;gap:30px}
.hepu-hero{min-height:520px}
.hepu-section__head{display:block}
.hepu-section__head h2{margin-top:8px}
.hepu-factory-gallery,.hepu-factory-gallery--page{grid-template-columns:repeat(2,minmax(0,1fr))}
.hepu-about-detail{grid-template-columns:1fr}
.hepu-slide:after{background:rgba(255,255,255,.74)}
body.woocommerce-shop .wc-block-product-template,body.post-type-archive-product .wc-block-product-template,body.tax-product_cat .wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
.hepu-site ul.products,.woocommerce ul.products,.hepu-category-grid{grid-template-columns:1fr!important}
.hepu-category-card{padding:18px}
.hepu-hero h1{font-size:30px!important;line-height:1.18;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.hepu-subtitle{font-size:20px}
.hepu-section,.hepu-about,.hepu-contact{width:calc(100% - 32px);padding-top:54px;padding-bottom:54px}
.hepu-hero__inner{width:calc(100% - 32px)}
.hepu-eyebrow{font-size:11px;letter-spacing:.04em;line-height:1.35;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.hepu-actions{gap:10px}
.hepu-button{min-height:48px;padding:0 22px}
.hepu-hero{min-height:500px;background-position:center top}
.hepu-factory-gallery,.hepu-factory-gallery--page{grid-template-columns:1fr}
.hepu-factory-gallery img{height:230px}
.hepu-subhero h1{font-size:38px}
.hepu-shop-hero{padding:40px 0 34px}
.hepu-shop-hero h1{font-size:34px}
.hepu-shop-hero p:last-child{font-size:15px}
body.woocommerce-shop .wc-block-product-template,body.post-type-archive-product .wc-block-product-template,body.tax-product_cat .wc-block-product-template{grid-template-columns:1fr!important}
body.woocommerce-shop .wp-site-blocks,body.post-type-archive-product .wp-site-blocks,body.tax-product_cat .wp-site-blocks,body.single-product .wp-site-blocks{padding-top:132px!important}
body.single-post .wp-block-post-title{font-size:30px!important}
}
