/*
Theme Name: Biemor — 健康按摩电子
Theme URI: https://biemor.com
Description: Apple-inspired minimal theme for health & wellness electronics. Clean, warm, clinical aesthetic.
Version: 1.0.0
Text Domain: biemor
*/

/* ===== Biemor Theme - Apple.com inspired ===== */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",sans-serif;font-size:17px;line-height:1.47059;font-weight:400;letter-spacing:-0.022em;color:#1d1d1f;background:#fff}
img{max-width:100%;height:auto;display:block}
a{color:#2d8b6e;text-decoration:none;transition:color .2s ease}
a:hover{color:#5baf8e}

/* ===== Typography (Apple Scale) ===== */
h1,h2,h3,h4{font-weight:600;letter-spacing:-0.022em}
h1{font-size:64px;line-height:1.0625;font-weight:700}
h2{font-size:56px;line-height:1.07143}
h3{font-size:40px;line-height:1.1}
h4{font-size:28px;line-height:1.14286}
h5{font-size:21px;line-height:1.2381;font-weight:600}
@media(max-width:1068px){h1{font-size:48px}h2{font-size:40px}h3{font-size:32px}h4{font-size:24px}}
@media(max-width:734px){h1{font-size:36px}h2{font-size:32px}h3{font-size:28px}h4{font-size:21px}}

.subhead{font-size:24px;line-height:1.33337;font-weight:400;color:#6e6e73;letter-spacing:.009em}
@media(max-width:734px){.subhead{font-size:19px}}
.eyebrow{font-size:14px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#2d8b6e;margin-bottom:12px}

/* ===== Layout ===== */
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.section{padding:140px 0}
.section--tight{padding:100px 0}
.section--alt{background:#fafafa}
.section--dark{background:#1d1d1f;color:#f5f5f7}
.section--dark .subhead{color:#aeaeb2}
@media(max-width:734px){.section{padding:80px 0}.section--tight{padding:60px 0}}

/* ===== Navigation (Apple-style full-width) ===== */
.site-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,.88);backdrop-filter:saturate(180%) blur(30px);-webkit-backdrop-filter:saturate(180%) blur(30px);border-bottom:1px solid rgba(0,0,0,.08);height:48px}
.site-header .container{display:flex;align-items:center;justify-content:center;height:48px;max-width:1200px;gap:0}
.site-logo{font-size:21px;font-weight:700;letter-spacing:-0.02em;color:#1d1d1f;margin-right:auto;text-decoration:none}
.site-logo .logo-mark{display:inline-block;width:28px;height:28px;line-height:28px;text-align:center;background:#2d8b6e;color:#fff;border-radius:6px;font-size:16px;font-weight:700;margin-right:6px;vertical-align:middle}
.main-nav{display:flex;align-items:center;gap:36px;list-style:none}
.main-nav a{font-size:13px;font-weight:500;color:#1d1d1f;letter-spacing:-0.01em;opacity:.85;transition:opacity .2s}
.main-nav a:hover{opacity:1;color:#2d8b6e}
.nav-actions{display:flex;align-items:center;gap:16px;margin-left:auto}
.icon-btn{background:none;border:none;font-size:16px;cursor:pointer;padding:4px;color:#1d1d1f;opacity:.7;transition:opacity .2s}
.icon-btn:hover{opacity:1}
@media(max-width:834px){.main-nav{display:none}.site-logo{flex:1}}

/* ===== Hero Section (Apple-style) ===== */
.section--hero{background:linear-gradient(180deg,#fafafa 0%,#f0f4f2 50%,#e8efe9 100%);padding:168px 0 120px;text-align:center;overflow:hidden}
@media(max-width:734px){.section--hero{padding:120px 0 80px}}
.hero h1{margin-bottom:16px;max-width:800px;margin-left:auto;margin-right:auto}
.hero .subhead{max-width:600px;margin:0 auto 40px}
.hero__cta{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.hero__image{margin-top:80px;border-radius:28px;overflow:hidden;box-shadow:0 30px 80px rgba(45,139,110,.12);transition:transform .6s ease}
.hero__image:hover{transform:scale(1.01)}

/* ===== Buttons (Apple pill) ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 28px;border-radius:980px;font-size:17px;font-weight:500;letter-spacing:-0.022em;cursor:pointer;transition:all .3s cubic-bezier(.25,.1,.25,1);border:none;text-decoration:none;gap:6px}
.btn--primary{background:#2d8b6e;color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.btn--primary:hover{background:#1f7a5e;color:#fff;transform:scale(1.02)}
.btn--outline{border:1.5px solid #2d8b6e;color:#2d8b6e;background:transparent}
.btn--outline:hover{background:rgba(45,139,110,.06);color:#1f7a5e}
.btn--ghost{color:#2d8b6e;background:transparent;padding:12px 20px}
.btn--ghost:hover{background:rgba(45,139,110,.06)}
.btn--white{background:#fff;color:#1d1d1f;box-shadow:0 1px 2px rgba(0,0,0,.1)}
.btn--white:hover{background:#f5f5f7;transform:scale(1.02)}
.btn--large{padding:16px 36px;font-size:19px}

/* ===== Product Grid (Apple Store style) ===== */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin-top:48px}
.product-card{background:#fff;border-radius:20px;overflow:hidden;transition:all .5s cubic-bezier(.25,.1,.25,1);box-shadow:0 2px 12px rgba(0,0,0,.04);cursor:pointer;position:relative}
.product-card:hover{transform:translateY(-6px);box-shadow:0 16px 48px rgba(0,0,0,.08)}
.product-card__image{aspect-ratio:1;background:#f5f5f7;display:flex;align-items:center;justify-content:center;padding:48px}
.product-card__image img{transition:transform .6s ease}
.product-card:hover .product-card__image img{transform:scale(1.06)}
.product-card__body{padding:28px 24px}
.product-card__category{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#2d8b6e;margin-bottom:6px}
.product-card__title{font-size:17px;font-weight:600;margin-bottom:6px;color:#1d1d1f}
.product-card__price{font-size:19px;font-weight:600;color:#1d1d1f}

/* ===== Feature Section (Apple split layout) ===== */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}
.feature__content h2{margin-bottom:16px}
.feature__content p{margin-bottom:28px;color:#6e6e73;font-size:18px;line-height:1.6}
.feature__image{border-radius:24px;overflow:hidden;box-shadow:0 12px 48px rgba(0,0,0,.06);transition:transform .5s ease}
.feature__image:hover{transform:scale(1.02)}
@media(max-width:834px){.feature{grid-template-columns:1fr;gap:60px}}

/* ===== Category Tiles ===== */
.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.category-tile{position:relative;border-radius:20px;overflow:hidden;aspect-ratio:4/5;background:linear-gradient(180deg,#f5f5f7 0%,#ebebed 100%);display:flex;align-items:flex-end;padding:28px;transition:all .4s ease;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.03)}
.category-tile:hover{transform:scale(1.03);box-shadow:0 12px 40px rgba(0,0,0,.08)}
.category-tile__label{font-size:17px;font-weight:600;color:#1d1d1f;position:relative}
.category-tile__count{font-size:13px;color:#6e6e73;margin-top:4px}

/* ===== Testimonials ===== */
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px}
.testimonial-card{background:#fff;border-radius:20px;padding:36px;box-shadow:0 2px 12px rgba(0,0,0,.04);transition:all .4s ease}
.testimonial-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.06)}
.testimonial-card__stars{color:#f5a623;font-size:14px;margin-bottom:16px;letter-spacing:2px}
.testimonial-card__text{font-size:17px;line-height:1.6;color:#1d1d1f;margin-bottom:20px;font-style:normal}
.testimonial-card__author{font-size:14px;font-weight:600}
.testimonial-card__author span{color:#6e6e73;font-weight:400}

/* ===== Footer (Apple-minimal) ===== */
.site-footer{background:#1d1d1f;color:#aeaeb2;padding:60px 0 24px;font-size:12px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:60px}
.footer-col h6{color:#f5f5f7;font-size:13px;margin-bottom:16px;font-weight:600;letter-spacing:-.01em}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:8px}
.footer-col ul a{color:#aeaeb2;font-size:12px;transition:color .2s}
.footer-col ul a:hover{color:#f5f5f7}
.footer-bottom{margin-top:40px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between}
@media(max-width:734px){.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-bottom{flex-direction:column;gap:8px}}

/* ===== WooCommerce Overrides ===== */
.woocommerce ul.products li.product{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.04);transition:all .5s ease}
.woocommerce ul.products li.product:hover{transform:translateY(-6px);box-shadow:0 16px 48px rgba(0,0,0,.08)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px;font-weight:600;padding:0 24px;color:#1d1d1f}
.woocommerce ul.products li.product .price{font-size:19px;font-weight:600;padding:0 24px 20px;color:#1d1d1f}
.woocommerce ul.products li.product .button{background:#2d8b6e;color:#fff;border-radius:980px;padding:12px 28px;margin:0 24px 24px;font-weight:500;transition:all .3s ease}
.woocommerce ul.products li.product .button:hover{background:#1f7a5e;color:#fff}
.woocommerce div.product .product_title{font-size:48px;font-weight:700;letter-spacing:-0.022em}
.woocommerce div.product .single_add_to_cart_button{background:#2d8b6e;border-radius:980px;padding:16px 48px;font-size:17px;font-weight:500;float:none}
.woocommerce div.product .single_add_to_cart_button:hover{background:#1f7a5e}

/* ===== Subnav / Spec bar (Apple style) ===== */
.subnav{position:sticky;top:48px;z-index:999;background:rgba(255,255,255,.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(0,0,0,.06);height:44px;display:flex;align-items:center;justify-content:center}
.subnav ul{display:flex;gap:28px;list-style:none;font-size:13px}
.subnav a{color:#6e6e73;transition:color .2s}
.subnav a:hover{color:#1d1d1f}
.subnav a.active{color:#2d8b6e;font-weight:600}

/* ===== Specs Table (Apple) ===== */
.specs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:32px;text-align:center}
.spec-item h4{font-size:40px;color:#2d8b6e;margin-bottom:4px}
.spec-item p{font-size:14px;color:#6e6e73}

/* ===== Wholesale CTA ===== */
.wholesale-cta{background:#2d8b6e;border-radius:28px;padding:80px;text-align:center;color:#fff}
.wholesale-cta h2{color:#fff;margin-bottom:16px}
.wholesale-cta p{font-size:19px;color:rgba(255,255,255,.8);max-width:560px;margin:0 auto 32px}
.wholesale-cta .btn--white{background:#fff;color:#1d1d1f;font-weight:600}
.wholesale-cta .btn--white:hover{background:rgba(255,255,255,.9)}

/* ===== Animations ===== */
@keyframes fadeInUp{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.animate-in{animation:fadeInUp .6s cubic-bezier(.25,.1,.25,1) forwards}
.animate-in--d1{animation-delay:.1s}.animate-in--d2{animation-delay:.2s}.animate-in--d3{animation-delay:.3s}.animate-in--d4{animation-delay:.4s}.animate-in--d5{animation-delay:.5s}

/* ===== Language Switcher ===== */
.lang-switcher{display:flex;gap:8px;align-items:center}
.lang-switcher a{font-size:12px;padding:4px 10px;border-radius:6px;color:#6e6e73;transition:all .2s}
.lang-switcher a.active,.lang-switcher a:hover{background:rgba(45,139,110,.1);color:#2d8b6e}

/* ===== Utils ===== */
.text-center{text-align:center}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-48{margin-top:48px}.mt-64{margin-top:64px}
.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}.mb-48{margin-bottom:48px}.mb-64{margin-bottom:64px}
