/*
Theme Name: Moofei Manufacturer B2B — Categories Only
Theme URI: https://moofeipearls.com
Author: Moofei Pearls
Description: Minimal wholesale pearl catalogue, farm introduction, and quote inquiries. Does not change PayPal settings.
Version: 4.5.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: moofei-minimal
*/
:root{--ink:#182b3c;--blue:#28568a;--soft:#f5f6f7;--line:#e4e9ec;--muted:#637080;--max:1170px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,'Helvetica Neue',sans-serif;color:var(--ink);background:#fff;font-size:15px;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input,textarea,select{font:inherit}button{cursor:pointer}.wrap{width:min(calc(100% - 48px),var(--max));margin:auto}.bar{border-bottom:1px solid var(--line);background:#fff}.header-main{display:flex;align-items:center;min-height:85px;gap:28px}.brand img{width:134px;max-height:67px;object-fit:contain}.nav{display:flex;align-items:center;gap:30px;margin:auto}.nav a{font-size:13px;font-weight:600;color:#304356}.nav a:hover,.nav .current-menu-item a{color:var(--blue)}.header-actions{display:flex;align-items:center;gap:16px;font-size:13px}.cart-link{color:var(--blue)}.menu-toggle{display:none;background:none;border:0;font-size:26px}.hero{background:#f7f8f9}.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:435px}.hero-copy{padding:68px 48px 68px 0}.eyebrow{color:#68839b;font-size:11px;font-weight:700;letter-spacing:2.1px;text-transform:uppercase}.hero h1,.section-title,.story h2,.wholesale h2,.page-heading{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.025em;line-height:1.15}.hero h1{font-size:clamp(42px,5vw,65px);margin:17px 0 15px}.hero p{font-size:16px;color:#566473;max-width:480px}.hero-image{width:100%;height:435px;object-fit:cover;object-position:center}.btn{display:inline-block;padding:12px 23px;border:1px solid var(--blue);background:var(--blue);color:#fff;font-size:13px;font-weight:600;border-radius:2px;text-align:center}.btn:hover{background:#183c67}.btn-outline{background:transparent;color:var(--blue)}.btn-outline:hover{color:white}.btn-row{display:flex;gap:11px;flex-wrap:wrap;margin-top:26px}.features{padding:22px 0;border-bottom:1px solid var(--line)}.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature strong{display:block;font-size:13px}.feature small{display:block;color:var(--muted);font-size:12px}.section{padding:49px 0}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:18px}.section-title{font-size:32px;margin:0}.section-link{font-size:13px;color:var(--blue)}.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.tile,.product-card{border:1px solid var(--line);background:#fff}.tile img{width:100%;aspect-ratio:1.3;object-fit:cover}.tile-caption{display:flex;justify-content:space-between;padding:12px 13px;align-items:center;font-size:13px;font-weight:600}.tile:hover,.product-card:hover{box-shadow:0 6px 20px rgba(22,40,66,.07)}.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card img{width:100%;aspect-ratio:1.08;object-fit:cover;background:#f6f6f5}.product-info{padding:12px}.product-info h3{font-size:13px;font-weight:500;min-height:38px;margin:0 0 5px}.price{font-weight:700;font-size:13px;color:#244c79}.small-note{font-size:12px;color:var(--muted)}.benefits{background:#f7f9fa;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.benefit strong{display:block;font-size:13px}.benefit small{font-size:12px;color:var(--muted)}.story{padding:40px 0}.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.story-grid img{width:100%;height:300px;object-fit:cover}.story h2,.wholesale h2{font-size:34px;margin:10px 0}.story p{color:#566473}.wholesale{background:#f7f9fa;padding:32px 0;border-top:1px solid var(--line)}.wholesale-row{display:flex;justify-content:space-between;align-items:center;gap:24px}.wholesale h2{font-size:29px}.wholesale p{margin:0;color:var(--muted)}.footer{padding:43px 0 17px;border-top:1px solid var(--line)}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:32px}.footer h3{font-size:14px;margin:0 0 10px}.footer a,.footer p{display:block;font-size:12px;color:#586879;line-height:1.9;margin:0}.footer-bottom{border-top:1px solid var(--line);margin-top:28px;padding-top:13px;color:#7c8791;font-size:11px}.page-shell{padding:48px 0 65px;min-height:45vh}.page-heading{font-size:42px;margin:0 0 24px}.content{max-width:850px}.content p{color:#536171}.info-panel{background:#f7f9fa;padding:24px;border:1px solid var(--line);margin:24px 0}.form-field{display:flex;flex-direction:column;gap:6px}.form-field input,.form-field textarea,.form-field select{border:1px solid #cfd8df;background:#fff;border-radius:2px;padding:11px 12px;width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}.notice{padding:14px;margin:18px 0;border:1px solid #cdd9e4;background:#f3f8fc}.demo-tag{color:#758291;font-size:11px}.wc-wrap{padding:34px 0 70px}.woocommerce ul.products li.product .price{color:var(--blue)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--blue)}.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--blue)}.screen-reader-text{position:absolute;left:-9999px}.site-search{max-width:500px}.site-search input{border:1px solid #ccd6de;padding:12px;width:70%}.site-search button{padding:12px 16px;border:0;background:var(--blue);color:white}@media(max-width:850px){.nav{gap:12px}.category-grid{grid-template-columns:repeat(3,1fr)}.products-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.hero-grid{grid-template-columns:1fr 1fr}.hero-copy{padding:40px 15px 40px 0}.hero-image{height:390px}}@media(max-width:650px){.wrap{width:min(calc(100% - 32px),var(--max))}.header-main{min-height:70px}.brand img{width:110px}.menu-toggle{display:block;margin-left:auto}.nav{display:none;position:absolute;z-index:20;top:70px;left:0;right:0;background:white;padding:18px 24px;border-bottom:1px solid var(--line);box-shadow:0 10px 20px #0012;flex-direction:column;align-items:flex-start}.nav.open{display:flex}.header-actions{margin-left:0}.hero-grid{display:flex;flex-direction:column-reverse}.hero-image{height:230px}.hero-copy{padding:30px 0 42px}.hero h1{font-size:43px}.features-grid{grid-template-columns:1fr;gap:13px}.section{padding:36px 0}.section-title{font-size:28px}.category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.products-grid{gap:10px}.benefit-grid{grid-template-columns:repeat(2,1fr)}.story-grid{grid-template-columns:1fr}.story-grid img{height:220px}.wholesale-row{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:repeat(2,1fr);gap:25px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.page-heading{font-size:34px}}

/* B2B catalogue presentation */
.header-quote{white-space:nowrap;padding:10px 14px;font-size:12px}.quote-inline{font-size:12px;color:var(--blue);display:inline-block;margin-top:8px}.hp-field{position:absolute;left:-99999px;width:1px;height:1px;overflow:hidden}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price,.woocommerce .wc-block-components-product-price,.wc-block-grid__product-price,.wc-block-components-product-button,.wp-block-woocommerce-product-button,.woocommerce .add_to_cart_button,.woocommerce .single_add_to_cart_button,.woocommerce .quantity,.woocommerce .product .cart,.woocommerce .woocommerce-Price-amount{display:none!important}
.woocommerce ul.products li.product .button{display:none!important}.woocommerce ul.products li.product .quote-inline{color:var(--blue)!important;margin-top:10px!important}.woocommerce .woocommerce-breadcrumb{font-size:12px;color:#6c7986}.woocommerce div.product .summary .btn{margin-top:12px}.woocommerce div.product .product_meta{font-size:13px;color:#5e6c78}
@media(max-width:650px){.header-quote{font-size:11px;padding:8px 10px}.header-actions{margin-left:0}}

/* v3: restrained B2B catalogue */
:root{--ink:#27343f;--blue:#37688e;--soft:#f8f9f8;--line:#e7e9e8;--muted:#6b777f;--max:1200px}
body{font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-size:15px}
.hero{background:#fafafa}.hero-grid{min-height:390px;grid-template-columns:1fr 1.02fr}.hero-copy{padding:64px 55px 65px 0}.hero h1{font-family:inherit;font-weight:500;letter-spacing:-.045em;font-size:clamp(39px,4.3vw,57px)}
.section-title,.story h2,.wholesale h2,.page-heading{font-family:inherit;font-weight:500;letter-spacing:-.045em}
.hero-image{height:395px}.section{padding:66px 0}.section-title{font-size:28px}.eyebrow{letter-spacing:1.2px;color:#4e758e}
.btn{border-radius:3px;font-weight:500}.bar{position:relative;z-index:15}.header-main{min-height:80px}.tile,.product-card{border:1px solid #e9eaeb}.tile:hover,.product-card:hover{box-shadow:0 5px 18px #0011}
.category-grid{grid-template-columns:repeat(5,1fr);gap:14px}.tile img{aspect-ratio:1.12}.products-grid{gap:16px}.product-card img{aspect-ratio:1.15}
.feature{padding:4px 0}.story{padding:65px 0}.story-grid{gap:60px}.story-grid img{height:340px}.benefits{background:#fbfbfb}
.process{padding:65px 0;border-top:1px solid var(--line)}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.process-step{border-top:1px solid #cdd7dc;padding:19px 5px 0}.process-step b{font-size:13px;color:var(--blue);letter-spacing:.1em}.process-step h3{font-size:17px;font-weight:600;margin:12px 0 6px}.process-step p{font-size:13px;color:var(--muted);margin:0}.product-note{color:var(--muted);font-size:13px}.catalog-intro{padding-bottom:20px}.catalog-intro h1{font-size:36px;font-weight:500;letter-spacing:-.04em;margin:0 0 10px}.catalog-intro p{color:var(--muted);max-width:680px}.woocommerce .woocommerce-ordering{margin-bottom:18px}.preview-marker{font-size:12px;color:#6a7780}.contact-direct{margin:25px 0 0;font-size:13px;color:var(--muted)}
@media(max-width:850px){.hero-copy{padding:35px 20px 35px 0}.process-grid{gap:12px}.story-grid{gap:28px}}
@media(max-width:650px){.hero-copy{padding:28px 0 35px}.hero h1{font-size:39px}.hero-image{height:230px}.process-grid{grid-template-columns:1fr}.process-step{padding-top:12px}.section{padding:43px 0}.header-actions{display:none}.section-title{font-size:25px}.story{padding:40px 0}}

/* V4 – manufacturer / supplier-inspired, no retail visual cues */
:root{--ink:#172c3b;--blue:#235b86;--line:#e1e7e9;--max:1210px}
body{font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}
.bar{border-bottom:1px solid #e9eef1}.header-main{min-height:86px}.brand img{width:148px}.nav a{font-size:13px;font-weight:500}.header-quote{padding:12px 19px}
.supplier-strip{background:#143851;color:#fff;font-size:10px;letter-spacing:1.65px;padding:11px 0;font-weight:700}.supplier-strip .wrap{display:flex;justify-content:space-between}.supplier-strip span{opacity:.75}
.mfg-hero{background:#f5f7f8}.mfg-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;min-height:490px;align-items:stretch}.mfg-hero-copy{padding:76px 55px 65px 0;align-self:center}.mfg-hero h1{font-family:Arial,Helvetica,sans-serif;font-size:clamp(42px,4.6vw,62px);line-height:1.1;font-weight:600;letter-spacing:-.055em;margin:21px 0}.mfg-hero p{max-width:490px;font-size:16px;color:#536677;line-height:1.8}.mfg-hero .btn-row{margin:28px 0}.mfg-hero-note{font-size:12px;color:#70818d;padding-top:17px;border-top:1px solid #d9e0e4;max-width:460px}.mfg-hero-photo{position:relative;min-height:490px;overflow:hidden;background:#e5e8e9}.mfg-hero-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.image-label{position:absolute;bottom:16px;right:16px;padding:7px 9px;color:#2e4554;background:#ffffffda;font-size:9px;letter-spacing:1px}
.mfg-value{padding:29px 0;border-bottom:1px solid var(--line)}.mfg-value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.mfg-value-grid>div{border-left:2px solid #2c648e;padding-left:17px}.mfg-value b{display:block;color:#60849a;font-size:10px;letter-spacing:1.25px;margin-bottom:7px}.mfg-value strong{display:block;font-size:15px}.mfg-value p{margin:4px 0 0;color:#77838c;font-size:12px}
.section{padding:68px 0}.section-title{font-family:Arial,Helvetica,sans-serif;font-size:29px;font-weight:600;letter-spacing:-.04em}.section-link{font-weight:600}.tile,.product-card{border-radius:0}.tile-caption{font-size:14px}.story{background:#f6f8f9}.story h2{font-size:34px;font-weight:600}.process{background:#fff}.wholesale{background:#edf2f5}.wholesale h2{font-weight:600}.btn{font-size:13px;border-radius:2px}.btn-outline{background:#fff}
@media(max-width:850px){.mfg-hero-copy{padding:42px 24px 42px 0}.mfg-hero-photo{min-height:390px}.mfg-hero-grid{min-height:390px}}
@media(max-width:650px){.supplier-strip span{display:none}.mfg-hero-grid{display:flex;flex-direction:column-reverse}.mfg-hero-photo{min-height:230px}.mfg-hero-copy{padding:32px 0 40px}.mfg-hero h1{font-size:40px}.mfg-value-grid{grid-template-columns:1fr;gap:16px}.mfg-value{padding:24px 0}}

/* V4.1: single unified product catalogue section */
.mfg-catalogue-section .section-head{align-items:end}.catalogue-lead{color:var(--muted);font-size:14px;max-width:670px;margin:10px 0 0}.mfg-selected-products{margin-top:33px;padding-top:23px;border-top:1px solid var(--line)}.mfg-selected-head{display:flex;justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:15px}.mfg-selected-head h3{font-size:17px;font-weight:600;margin:0}.mfg-selected-head span{font-size:12px;color:var(--muted)}.mfg-catalogue-section>.wrap>.preview-marker{margin:16px 0 0}@media(max-width:650px){.mfg-catalogue-section .section-head{align-items:flex-start;flex-direction:column}.mfg-selected-head{align-items:flex-start;flex-direction:column;gap:5px}}

/* V4.2: real farm photographs */
.farm-home{background:#f8fafb}.farm-home-grid{display:grid;grid-template-columns:0.8fr 1.45fr;gap:56px;align-items:center}.farm-home-copy h2{font:600 34px/1.2 Arial,sans-serif;letter-spacing:-.04em;margin:12px 0 20px}.farm-home-copy p{color:#566473;font-size:15px;line-height:1.8}.farm-home-copy .btn{margin-top:16px}.farm-home-images{min-width:0}.farm-home-images img{display:block;width:100%;object-fit:cover}.farm-primary{height:310px}.farm-secondary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.farm-secondary img{height:155px}.farm-photo-caption{margin:12px 0 0;color:#71808e;font-size:11px;text-align:right}.farm-page{width:100%}.farm-intro{max-width:780px;margin:0 auto 28px;text-align:center}.farm-intro .page-heading{margin:11px 0 18px}.farm-intro-lead{font-size:17px;line-height:1.8;color:#52616d}.farm-banner{position:relative}.farm-banner img{width:100%;max-height:520px;object-fit:cover}.farm-banner-caption{position:absolute;bottom:15px;left:18px;background:#fff;padding:7px 12px;font-size:12px;color:#344d63}.farm-section{padding:60px 0;border-bottom:1px solid #e2e9ee}.farm-section>p{max-width:760px;color:#536574;line-height:1.85}.farm-section h2,.farm-bottom-cta h2{font-size:30px;line-height:1.2;letter-spacing:-.03em;margin:11px 0 14px}.farm-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:26px}.farm-photo-grid figure{margin:0}.farm-photo-grid img{width:100%;height:380px;object-fit:cover;object-position:center 60%;background:#edf1f3}.farm-photo-grid figcaption{font-size:12px;color:#6a7a88;margin-top:9px}.farm-bottom-cta{background:#f2f6f8;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:32px;margin-top:44px}.farm-bottom-cta p{margin:0;color:#586b79}@media(max-width:760px){.farm-home-grid{grid-template-columns:1fr;gap:24px}.farm-primary{height:240px}.farm-secondary img{height:130px}.farm-section{padding:40px 0}.farm-photo-grid{gap:12px}.farm-photo-grid img{height:250px}.farm-bottom-cta{flex-direction:column;align-items:flex-start}.farm-banner img{max-height:360px}}@media(max-width:520px){.farm-photo-grid{grid-template-columns:1fr}.farm-photo-grid img{height:310px}.farm-intro{text-align:left}.farm-home-copy h2{font-size:28px}}

/* V4.5 mixed pearl collection: natural proportions, no stretching */
.mfg-mixed-pearl-photo{background:#f0eeeb;min-height:490px;overflow:hidden}
.mfg-mixed-pearl-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:51% 50%;position:absolute;inset:0}
@media(max-width:850px){.mfg-mixed-pearl-photo{min-height:390px}}
@media(max-width:650px){.mfg-mixed-pearl-photo{min-height:250px;aspect-ratio:16/9}.mfg-mixed-pearl-photo img{object-position:center}}
