
:root{
 --mf-ink:#1c1712;--mf-espresso:#2b1b12;--mf-brown:#6d381b;--mf-copper:#b86b2b;
 --mf-gold:#d99647;--mf-cream:#f7f1e7;--mf-paper:#fffdf9;--mf-muted:#756b62;
 --mf-line:#e7ddd1;--mf-white:#fff;--mf-shadow:0 20px 60px rgba(66,40,22,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"DM Sans",sans-serif;color:var(--mf-ink);background:var(--mf-paper);overflow-x:hidden}
body.mf-no-scroll{overflow:hidden}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
svg{width:20px;height:20px;stroke:currentColor}
.mf-container{width:min(1180px,calc(100% - 40px));margin:auto}
.mf-eyebrow{font-size:12px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--mf-copper)}
h1,h2,h3,.mf-serif{font-family:"Playfair Display",serif}
.mf-section h2{font-size:clamp(34px,4.2vw,56px);line-height:1.02;margin:10px 0 16px}
.mf-copy{color:var(--mf-muted);max-width:610px;line-height:1.75}
.mf-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;padding:14px 21px!important;border-radius:999px!important;border:1px solid transparent!important;font-weight:700!important;transition:.25s;cursor:pointer;text-decoration:none!important;line-height:1.2!important}
.mf-btn-dark{background:var(--mf-espresso)!important;color:#fff!important}
.mf-btn-dark:hover{background:var(--mf-copper)!important;transform:translateY(-2px)}
.mf-btn-light{background:#fff!important;color:var(--mf-espresso)!important;border-color:rgba(255,255,255,.75)!important}
.mf-btn-outline{border-color:var(--mf-line)!important;background:transparent!important;color:var(--mf-ink)!important}
.mf-btn-outline:hover{border-color:var(--mf-copper)!important;color:var(--mf-copper)!important}
.mf-icon-btn{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--mf-line);background:#fff;cursor:pointer;transition:.2s;position:relative;padding:0;color:var(--mf-ink)}
.mf-icon-btn:hover{border-color:var(--mf-copper);color:var(--mf-copper)}
.mf-topbar{background:var(--mf-espresso);color:#f3dfca;text-align:center;padding:9px 15px;font-size:12px;letter-spacing:.5px}
.mf-header{position:sticky;top:0;z-index:90;background:rgba(255,253,249,.9);backdrop-filter:blur(15px);border-bottom:1px solid rgba(231,221,209,.75)}
.mf-nav{min-height:84px;display:grid;grid-template-columns:170px 1fr auto;align-items:center;gap:28px}
.mf-brand img,.mf-brand .custom-logo{height:68px;width:auto;object-fit:contain}
.mf-menu{list-style:none;padding:0;margin:0;display:flex;justify-content:center;gap:27px;font-size:14px;font-weight:600;align-items:center}
.mf-menu li{margin:0}
.mf-menu a{position:relative;display:block;padding:10px 0}
.mf-menu a:after{content:"";position:absolute;left:0;right:100%;bottom:3px;height:2px;background:var(--mf-copper);transition:.25s}
.mf-menu a:hover:after,.mf-menu .current-menu-item>a:after{right:0}
.mf-nav-actions{display:flex;align-items:center;gap:9px}
.mf-cart-count{position:absolute;right:-4px;top:-5px;background:var(--mf-copper);color:#fff;min-width:18px;height:18px;padding:0 4px;border-radius:999px;display:grid;place-items:center;font-size:10px;font-weight:700}
.mf-mobile-toggle{display:none}
.mf-search-panel{max-height:0;overflow:hidden;transition:.3s;background:#fff;border-top:1px solid transparent}
.mf-search-panel.is-open{max-height:130px;border-top-color:var(--mf-line)}
.mf-search-panel .mf-container{padding:18px 0}
.mf-search-form{display:flex;gap:10px}
.mf-search-field{flex:1;border:1px solid var(--mf-line);border-radius:999px;padding:13px 18px;outline:none}
.mf-search-field:focus{border-color:var(--mf-copper)}

.mf-hero{min-height:calc(100vh - 118px);position:relative;background:radial-gradient(circle at 12% 20%,rgba(217,150,71,.16),transparent 31%),linear-gradient(120deg,#f5ecdf 0%,#fffaf3 58%,#efe1cf 100%);overflow:hidden}
.mf-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;min-height:690px;align-items:center;gap:50px}
.mf-hero-copy h1{font-size:clamp(54px,6vw,88px);line-height:.93;letter-spacing:-2.5px;margin:14px 0 24px;max-width:720px}
.mf-hero-copy h1 span{color:var(--mf-copper);font-style:italic}
.mf-hero-copy p{font-size:17px;color:var(--mf-muted);line-height:1.75;max-width:590px}
.mf-hero-actions{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}
.mf-hero-note{margin-top:34px;color:var(--mf-muted);font-size:13px}
.mf-hero-art{height:620px;position:relative}
.mf-frame-main{position:absolute;right:7%;top:5%;width:69%;height:78%;padding:18px;background:linear-gradient(135deg,#3b1e0e,#b87332 45%,#2d160c);box-shadow:0 35px 90px rgba(56,30,13,.23);transform:rotate(2deg)}
.mf-frame-main:before{content:"";position:absolute;inset:18px;border:10px solid #e8c78d;z-index:2;pointer-events:none}
.mf-frame-main img,.mf-frame-small img{width:100%;height:100%;object-fit:cover}
.mf-frame-small{position:absolute;left:1%;bottom:2%;width:44%;height:47%;padding:12px;background:#21130b;box-shadow:var(--mf-shadow);transform:rotate(-5deg);z-index:4}
.mf-float-card{position:absolute;right:0;bottom:5%;z-index:7;background:rgba(255,255,255,.92);padding:15px 17px;border-radius:16px;box-shadow:var(--mf-shadow);backdrop-filter:blur(12px);font-size:12px}
.mf-float-card b{display:block;font-size:15px;margin-bottom:3px}.mf-float-card span{color:var(--mf-muted)}
.mf-hero-shape{position:absolute;border:1px solid rgba(184,107,43,.2);border-radius:50%;width:390px;height:390px;right:-100px;top:-90px}
.mf-hero-shape:before,.mf-hero-shape:after{content:"";position:absolute;border:inherit;border-radius:inherit;inset:35px}
.mf-hero-shape:after{inset:70px}

.mf-trust-strip{border-top:1px solid var(--mf-line);border-bottom:1px solid var(--mf-line);background:#fff}
.mf-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:18px 0}
.mf-trust-item{display:flex;justify-content:center;align-items:center;gap:10px;padding:8px 18px;border-right:1px solid var(--mf-line);font-size:13px;font-weight:600}
.mf-trust-item:last-child{border-right:0}

.mf-section{padding:105px 0}
.mf-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:42px}
.mf-category-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;grid-template-rows:290px 290px;gap:18px}
.mf-cat{position:relative;overflow:hidden;border-radius:24px;background:#eee}
.mf-cat-large{grid-row:1/3}
.mf-cat img{width:100%;height:100%;object-fit:cover;transition:.6s}
.mf-cat:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(25,16,11,.72))}
.mf-cat:hover img{transform:scale(1.06)}
.mf-cat-content{position:absolute;z-index:3;left:26px;right:26px;bottom:24px;color:#fff}
.mf-cat-content h3{font-size:26px;margin:0 0 6px}.mf-cat-content span{font-size:12px;opacity:.8}
.mf-cat-arrow{position:absolute;right:24px;bottom:24px;z-index:4;background:#fff;color:var(--mf-espresso);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;transform:translateY(8px);opacity:0;transition:.25s}
.mf-cat:hover .mf-cat-arrow{opacity:1;transform:none}

.mf-products-section{background:var(--mf-cream)}
.mf-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.mf-product-card{background:#fff;border-radius:20px;overflow:hidden;position:relative;box-shadow:0 8px 30px rgba(42,27,18,.05);transition:.3s}
.mf-product-card:hover{transform:translateY(-6px);box-shadow:var(--mf-shadow)}
.mf-product-media{height:315px;background:#eee;overflow:hidden;position:relative;display:block}
.mf-product-media img{width:100%;height:100%;object-fit:cover;transition:.5s}
.mf-product-card:hover .mf-product-media img{transform:scale(1.04)}
.mf-badge{position:absolute;z-index:2;left:14px;top:14px;background:var(--mf-espresso);color:#fff;font-size:10px;font-weight:700;padding:6px 10px;border-radius:999px;letter-spacing:1px}
.mf-product-info{padding:17px 17px 20px}
.mf-product-category,.mf-product-category a{color:var(--mf-copper);font-size:11px;text-transform:uppercase;letter-spacing:1px}
.mf-product-info h3{font-family:"DM Sans",sans-serif;font-size:15px;margin:8px 0 10px;line-height:1.4}
.mf-price{font-weight:700;margin-bottom:13px}
.mf-price del{color:#aaa;font-weight:400;font-size:13px}.mf-price ins{text-decoration:none}
.mf-add-cart{display:flex!important;width:100%;justify-content:center;background:#fff!important;color:var(--mf-ink)!important;border:1px solid var(--mf-line)!important;border-radius:12px!important;padding:11px!important;font-weight:700!important;margin:0!important}
.mf-add-cart:hover{background:var(--mf-espresso)!important;color:#fff!important;border-color:var(--mf-espresso)!important}
.mf-empty-products{background:#fff;border-radius:20px;padding:35px;text-align:center}

.mf-custom-section{background:var(--mf-espresso);color:#fff;position:relative;overflow:hidden}
.mf-custom-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px}
.mf-custom-visual{position:relative;height:560px}
.mf-custom-frame{position:absolute;inset:35px 70px 35px 30px;padding:18px;background:linear-gradient(135deg,#d08b43,#7c421e 40%,#f0b769 75%,#5a2d16);transform:rotate(-2deg);box-shadow:0 30px 90px rgba(0,0,0,.35)}
.mf-custom-frame img{width:100%;height:100%;object-fit:cover}
.mf-custom-tag{position:absolute;right:5px;bottom:55px;background:#fff;color:var(--mf-espresso);padding:16px;border-radius:16px;width:190px;box-shadow:var(--mf-shadow)}
.mf-custom-tag b{display:block;margin-bottom:5px}.mf-custom-tag span{font-size:12px;color:var(--mf-muted)}
.mf-custom-copy p{color:#cdbbaa;line-height:1.8}
.mf-steps{display:grid;gap:12px;margin:28px 0}
.mf-step{display:flex;gap:14px;align-items:flex-start}
.mf-step>span{min-width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(217,150,71,.17);color:#efb068;font-weight:700;font-size:12px}
.mf-step b{display:block;margin:4px 0}.mf-step small{color:#bca999;font-size:13px}

.mf-story-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:70px;align-items:center}
.mf-story-images{height:560px;position:relative}
.mf-story-one{position:absolute;width:67%;height:77%;left:0;top:0;border-radius:160px 160px 24px 24px;object-fit:cover}
.mf-story-two{position:absolute;width:47%;height:48%;right:0;bottom:0;border:10px solid var(--mf-paper);border-radius:24px;object-fit:cover;box-shadow:var(--mf-shadow)}
.mf-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:34px}
.mf-stats>div{padding:17px 0;border-top:1px solid var(--mf-line)}
.mf-stats b{display:block;font-family:"Playfair Display",serif;font-size:25px;color:var(--mf-copper)}.mf-stats span{font-size:12px;color:var(--mf-muted)}
.mf-newsletter{padding:70px 0;background:#d58b44;color:#28170d}
.mf-newsletter-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px}
.mf-newsletter h2{font-size:40px;margin:5px 0}
.mf-newsletter-form{display:flex;background:#fff;border-radius:999px;padding:6px}
.mf-newsletter-form input{flex:1;border:0;outline:0;padding:0 17px;min-width:0;background:transparent}

.mf-footer{background:#1f150f;color:#cdbfb4;padding:70px 0 30px}
.mf-footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr 1fr;gap:50px}
.mf-footer-logo img{height:90px;width:auto;filter:brightness(1.45)}
.mf-footer p{font-size:13px;line-height:1.8;max-width:330px}
.mf-footer h4{color:#fff;margin:0 0 18px}
.mf-footer-links{display:grid;gap:10px;font-size:13px}
.mf-footer-links a:hover{color:#fff}
.mf-footer-bottom{border-top:1px solid #3b2d25;margin-top:50px;padding-top:22px;font-size:12px;display:flex;justify-content:space-between;gap:20px}

.mf-overlay{position:fixed;inset:0;background:rgba(25,16,11,.42);z-index:110;opacity:0;visibility:hidden;transition:.25s}
.mf-overlay.is-open{opacity:1;visibility:visible}
.mf-cart-drawer{position:fixed;z-index:120;top:0;right:0;width:min(420px,100%);height:100vh;background:#fff;box-shadow:-20px 0 70px rgba(0,0,0,.15);transform:translateX(105%);transition:.35s;display:flex;flex-direction:column}
.mf-cart-drawer.is-open{transform:none}
.mf-drawer-head{padding:22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--mf-line)}
.mf-drawer-head h3{margin:0;font-size:24px}
.mf-drawer-body{padding:22px;flex:1;overflow:auto}
.mf-drawer-body .woocommerce-mini-cart{padding:0;margin:0;list-style:none}
.mf-drawer-body .woocommerce-mini-cart-item{padding:12px 0 12px 80px!important;min-height:85px;position:relative;border-bottom:1px solid var(--mf-line)}
.mf-drawer-body .woocommerce-mini-cart-item img{position:absolute;left:0;top:10px;width:65px!important;height:65px!important;object-fit:cover;border-radius:9px}
.mf-drawer-body .remove_from_cart_button{position:absolute!important;right:0;top:10px;color:var(--mf-copper)!important}
.mf-drawer-body .woocommerce-mini-cart__buttons a{display:block;text-align:center;margin:8px 0!important;border-radius:999px!important}
.mf-toast{position:fixed;left:50%;bottom:30px;z-index:150;transform:translate(-50%,30px);background:var(--mf-espresso);color:#fff;padding:12px 18px;border-radius:999px;font-size:13px;opacity:0;pointer-events:none;transition:.3s;box-shadow:var(--mf-shadow)}
.mf-toast.is-showing{opacity:1;transform:translate(-50%,0)}

.mf-reveal{opacity:0;transform:translateY(26px);transition:.75s}
.mf-reveal.is-visible{opacity:1;transform:none}

/* General content */
.mf-content-area,.mf-shop-main{padding:70px 0 100px}
.mf-page-container{max-width:980px}
.mf-page-header h1{font-size:clamp(42px,6vw,72px);margin:.2em 0 .55em}
.mf-entry-content{font-size:16px;line-height:1.8}
.mf-entry-content img{border-radius:16px}
.mf-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.mf-post-card{background:#fff;border:1px solid var(--mf-line);border-radius:18px;overflow:hidden}
.mf-post-card img{width:100%;height:240px;object-fit:cover}
.mf-post-card-content{padding:20px}
.mf-single-thumb img{width:100%;border-radius:22px;margin-bottom:30px}

/* WooCommerce archive */
.woocommerce .woocommerce-breadcrumb{color:var(--mf-muted);font-size:12px;margin-bottom:20px}
.woocommerce .woocommerce-products-header__title.page-title{font-size:clamp(42px,5vw,68px);margin:0 0 30px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px;margin:30px 0!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 30px rgba(42,27,18,.06);padding-bottom:18px;transition:.3s}
.woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:var(--mf-shadow)}
.woocommerce ul.products li.product a img{margin:0!important;width:100%;aspect-ratio:1/1.08;object-fit:cover}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:14px 16px 5px!important;font-family:"DM Sans",sans-serif!important;font-size:15px!important}
.woocommerce ul.products li.product .price{padding:0 16px;color:var(--mf-ink)!important;font-weight:700!important}
.woocommerce ul.products li.product .button{margin:10px 16px 0!important;border-radius:999px!important;background:var(--mf-espresso)!important;color:#fff!important}
.woocommerce span.onsale{background:var(--mf-copper)!important;min-width:auto!important;min-height:auto!important;line-height:1!important;padding:7px 10px!important;border-radius:999px!important;left:12px!important;top:12px!important}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:25px}
.woocommerce .woocommerce-ordering select{padding:10px 14px;border:1px solid var(--mf-line);border-radius:10px;background:#fff}

/* Product single */
.woocommerce div.product{margin-top:20px}
.woocommerce div.product div.images img{border-radius:18px}
.woocommerce div.product .product_title{font-size:clamp(34px,4vw,54px);line-height:1.05}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--mf-copper)!important;font-size:24px!important;font-weight:700}
.woocommerce div.product form.cart .button{background:var(--mf-espresso)!important;border-radius:999px!important;padding:15px 24px!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:10px 10px 0 0!important}
.woocommerce-Tabs-panel{line-height:1.7}
.woocommerce-message,.woocommerce-info{border-top-color:var(--mf-copper)!important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--mf-copper)!important}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-radius:999px}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--mf-espresso)!important}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--mf-copper)!important}

/* Cart / checkout */
.woocommerce-cart table.cart img{width:90px;border-radius:10px}
.woocommerce table.shop_table{border-color:var(--mf-line)!important;border-radius:16px!important;overflow:hidden}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout-review-order{background:#fff;padding:24px;border:1px solid var(--mf-line);border-radius:18px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.select2-container--default .select2-selection--single{border:1px solid var(--mf-line);border-radius:10px;padding:12px;background:#fff}
.select2-container--default .select2-selection--single{height:48px}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:24px;padding:0}
.woocommerce-checkout h3{font-family:"Playfair Display",serif;font-size:26px}

@media(max-width:1000px){
 .mf-menu{display:none}.mf-mobile-toggle{display:grid}
 .mf-primary-nav.is-open{display:block;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--mf-line);box-shadow:0 20px 40px rgba(0,0,0,.08)}
 .mf-primary-nav.is-open .mf-menu{display:grid;padding:18px 20px;gap:0}
 .mf-primary-nav.is-open .mf-menu a{padding:12px 0}
 .mf-nav{grid-template-columns:150px 1fr auto}
 .mf-hero-grid,.mf-custom-grid,.mf-story-grid{grid-template-columns:1fr}
 .mf-hero{padding-top:55px}.mf-hero-art{height:540px}
 .mf-category-grid{grid-template-columns:1fr 1fr;grid-template-rows:360px 260px 260px}
 .mf-cat-large{grid-column:1/3;grid-row:auto}
 .mf-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important}
 .mf-custom-grid{gap:20px}.mf-custom-visual{order:2}
 .mf-footer-grid{grid-template-columns:1fr 1fr}
 .mf-post-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
 .mf-container{width:min(100% - 28px,1180px)}
 .mf-topbar{font-size:10px}
 .mf-nav{min-height:72px;grid-template-columns:110px 1fr auto;gap:8px}
 .mf-brand img,.mf-brand .custom-logo{height:56px}
 .mf-account-link,.mf-search-toggle{display:none}
 .mf-hero-grid{min-height:auto}.mf-hero-copy h1{font-size:52px}
 .mf-hero-art{height:430px;margin-top:20px}
 .mf-frame-main{width:78%;height:75%;right:0}.mf-frame-small{width:48%;height:43%}.mf-float-card{bottom:0}
 .mf-trust-grid{grid-template-columns:1fr 1fr}
 .mf-trust-item{border-bottom:1px solid var(--mf-line);border-right:0;justify-content:flex-start}
 .mf-section{padding:75px 0}.mf-section-head{display:block}.mf-section-head>.mf-btn{margin-top:16px}
 .mf-category-grid{display:grid;grid-template-columns:1fr;grid-template-rows:none}
 .mf-cat,.mf-cat-large{grid-column:auto;height:330px;grid-row:auto}
 .mf-product-grid,.woocommerce ul.products{grid-template-columns:1fr 1fr!important;gap:10px!important}
 .mf-product-media{height:220px}.mf-product-info{padding:13px}
 .mf-custom-visual{height:430px}.mf-custom-frame{inset:20px 40px 20px 10px}
 .mf-story-images{height:440px}.mf-stats{grid-template-columns:1fr 1fr 1fr}
 .mf-newsletter-grid{grid-template-columns:1fr}.mf-newsletter-form{border-radius:18px;flex-direction:column;background:transparent;padding:0;gap:8px}
 .mf-newsletter-form input{background:#fff;border-radius:999px;padding:15px 17px}
 .mf-footer-grid{grid-template-columns:1fr}.mf-footer-bottom{flex-direction:column}
 .mf-post-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
 .mf-product-grid,.woocommerce ul.products{grid-template-columns:1fr!important}
}

/* ==========================================================
   Responsive hardening - v1.0.1
   Desktop / Tablet / Mobile
   ========================================================== */

/* Fluid media and long content protection */
html, body { max-width: 100%; }
.mf-container, .mf-entry-content, .woocommerce, .woocommerce-page { min-width: 0; }
.mf-entry-content iframe,
.mf-entry-content video,
.mf-entry-content embed,
.mf-entry-content object { max-width: 100%; }
.mf-entry-content table,
.woocommerce table.shop_table { width: 100%; }
.mf-entry-content pre { max-width: 100%; overflow-x: auto; }
.mf-entry-content, .woocommerce { overflow-wrap: anywhere; }

/* Header safety on medium-width desktops */
@media (max-width: 1180px) {
  .mf-container { width: min(100% - 36px, 1120px); }
  .mf-nav { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; }
  .mf-menu { gap: 18px; font-size: 13px; }
  .mf-brand img, .mf-brand .custom-logo { max-width: 100%; }
  .mf-hero-grid { gap: 34px; }
  .mf-product-grid, .woocommerce ul.products { gap: 16px; }
}

/* Tablet */
@media (max-width: 1000px) {
  .mf-header { position: sticky; top: 0; }
  .mf-nav { position: relative; grid-template-columns: minmax(120px, 150px) 1fr auto; }
  .mf-primary-nav { min-width: 0; }
  .mf-primary-nav.is-open { z-index: 95; max-height: calc(100vh - 110px); overflow-y: auto; }
  .mf-primary-nav.is-open .mf-menu { width: min(100% - 36px, 1120px); margin: 0 auto; }
  .mf-primary-nav.is-open .mf-menu li { width: 100%; border-bottom: 1px solid var(--mf-line); }
  .mf-primary-nav.is-open .mf-menu li:last-child { border-bottom: 0; }

  .mf-hero { min-height: auto; padding: 48px 0 28px; }
  .mf-hero-grid { min-height: 0; gap: 28px; }
  .mf-hero-copy { max-width: 760px; }
  .mf-hero-copy h1 { font-size: clamp(46px, 8vw, 70px); }
  .mf-hero-art { width: min(100%, 620px); margin: 0 auto; }

  .mf-section { padding: 82px 0; }
  .mf-section-head { align-items: flex-start; }
  .mf-category-grid { grid-template-rows: 340px 250px 250px; }
  .mf-product-media { height: 290px; }

  .mf-custom-grid, .mf-story-grid { gap: 44px; }
  .mf-custom-copy { max-width: 720px; }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary { width: 100% !important; float: none !important; }
  .woocommerce div.product div.summary { margin-top: 28px; }
  .woocommerce-cart .cart-collaterals .cart_totals { width: 100% !important; float: none !important; }
}

/* Tablet portrait / large phones */
@media (max-width: 768px) {
  .mf-container { width: min(100% - 30px, 720px); }
  .mf-topbar { padding: 8px 12px; line-height: 1.45; }
  .mf-nav { min-height: 74px; grid-template-columns: minmax(105px, 140px) 1fr auto; gap: 10px; }
  .mf-brand img, .mf-brand .custom-logo { height: 58px; max-width: 138px; }
  .mf-nav-actions { gap: 6px; }
  .mf-icon-btn { width: 40px; height: 40px; flex: 0 0 40px; }

  .mf-search-panel.is-open { max-height: 160px; }
  .mf-search-form { align-items: stretch; }

  .mf-hero { padding-top: 38px; }
  .mf-hero-copy h1 { font-size: clamp(44px, 11vw, 62px); line-height: .98; letter-spacing: -1.5px; }
  .mf-hero-copy p { font-size: 16px; }
  .mf-hero-actions { margin-top: 24px; }
  .mf-hero-art { height: 500px; }

  .mf-trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mf-trust-item { min-height: 58px; justify-content: flex-start; }

  .mf-section { padding: 68px 0; }
  .mf-section h2 { font-size: clamp(32px, 8vw, 46px); }
  .mf-section-head { margin-bottom: 30px; }
  .mf-category-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 230px 230px; gap: 14px; }
  .mf-cat-content { left: 20px; right: 20px; bottom: 20px; }
  .mf-cat-content h3 { font-size: 23px; }
  .mf-cat-arrow { opacity: 1; transform: none; right: 18px; bottom: 18px; }

  .mf-product-grid,
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .mf-product-card, .woocommerce ul.products li.product { min-width: 0; }
  .mf-product-media { height: auto; aspect-ratio: 1 / 1.08; }

  .mf-custom-visual { width: min(100%, 560px); margin: 0 auto; }
  .mf-story-images { width: min(100%, 600px); margin: 0 auto; }

  .mf-newsletter-grid { gap: 24px; }

  /* WooCommerce responsive tables */
  .woocommerce-cart-form,
  .woocommerce-checkout-review-order,
  .woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }
  .woocommerce-cart table.cart { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .woocommerce table.shop_table { font-size: 14px; }
  .woocommerce form .form-row { width: 100% !important; float: none !important; }
  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2 { width: 100% !important; float: none !important; }
  .woocommerce .col2-set .col-2 { margin-top: 24px; }
  .woocommerce-checkout #payment { padding: 0; }
}

/* Mobile */
@media (max-width: 640px) {
  .mf-container { width: calc(100% - 24px); }
  .mf-topbar .mf-container { width: 100%; }
  .mf-nav { grid-template-columns: minmax(92px, 1fr) auto; }
  .mf-brand { min-width: 0; }
  .mf-brand img, .mf-brand .custom-logo { height: 52px; max-width: 120px; }
  .mf-nav-actions { grid-column: 2; }
  .mf-cart-trigger, .mf-mobile-toggle { display: grid; }
  .mf-account-link, .mf-search-toggle { display: none; }
  .mf-icon-btn { width: 38px; height: 38px; flex-basis: 38px; }

  .mf-primary-nav.is-open { top: 100%; }
  .mf-primary-nav.is-open .mf-menu { width: calc(100% - 24px); padding: 10px 0 16px; }

  .mf-hero { padding: 32px 0 22px; }
  .mf-hero-copy h1 { font-size: clamp(40px, 13vw, 54px); letter-spacing: -1px; margin-bottom: 18px; }
  .mf-hero-copy p { line-height: 1.65; }
  .mf-hero-actions { display: grid; grid-template-columns: 1fr; }
  .mf-hero-actions .mf-btn { width: 100%; }
  .mf-hero-note { margin-top: 24px; }
  .mf-hero-art { height: 405px; width: 100%; }
  .mf-frame-main { width: 76%; height: 72%; right: 2%; padding: 12px; }
  .mf-frame-main:before { inset: 12px; border-width: 7px; }
  .mf-frame-small { width: 46%; height: 40%; left: 1%; padding: 8px; }
  .mf-float-card { right: 0; bottom: 3px; max-width: 58%; }

  .mf-trust-item { padding: 9px 8px; font-size: 12px; }

  .mf-section { padding: 58px 0; }
  .mf-section-head { margin-bottom: 24px; }
  .mf-section-head .mf-btn { width: 100%; }
  .mf-category-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .mf-cat, .mf-cat-large { height: 300px; }

  .mf-product-grid,
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 10px !important; }
  .mf-product-info { padding: 12px 10px 14px; }
  .mf-product-info h3,
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
  .mf-add-cart { font-size: 12px !important; padding: 10px 7px !important; }
  .woocommerce ul.products li.product .button { margin: 8px 10px 0 !important; font-size: 12px; text-align: center; }
  .woocommerce ul.products li.product .price { padding: 0 10px; }

  .mf-custom-visual { height: 400px; }
  .mf-custom-frame { inset: 18px 34px 18px 8px; padding: 12px; }
  .mf-custom-tag { width: 170px; right: 0; bottom: 34px; padding: 13px; }
  .mf-step { gap: 10px; }

  .mf-story-images { height: 390px; }
  .mf-stats { gap: 8px; }

  .mf-newsletter-form .mf-btn { width: 100%; }

  .mf-content-area, .mf-shop-main { padding: 44px 0 70px; }
  .woocommerce .woocommerce-products-header__title.page-title { font-size: clamp(34px, 11vw, 50px); }
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering { float: none !important; width: 100%; }
  .woocommerce .woocommerce-ordering select { width: 100%; }

  .woocommerce div.product .product_title { font-size: clamp(30px, 9vw, 42px); }
  .woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; }
  .woocommerce div.product form.cart .quantity { margin: 0 !important; }
  .woocommerce div.product form.cart .button { flex: 1 1 190px; }
  .woocommerce div.product .woocommerce-tabs ul.tabs { padding-left: 0 !important; display: flex; overflow-x: auto; white-space: nowrap; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li { flex: 0 0 auto; }

  .woocommerce-cart .cart-collaterals .cart_totals,
  .woocommerce-checkout-review-order { padding: 16px; }

  .mf-cart-drawer { width: min(92vw, 390px); }
}

/* Small mobile */
@media (max-width: 480px) {
  .mf-topbar { font-size: 9px; letter-spacing: .25px; }
  .mf-brand img, .mf-brand .custom-logo { max-width: 105px; height: 48px; }
  .mf-hero-art { height: 350px; }
  .mf-frame-main { width: 78%; height: 72%; }
  .mf-frame-small { width: 48%; height: 39%; }
  .mf-float-card { max-width: 64%; padding: 10px 12px; }
  .mf-float-card b { font-size: 13px; }

  .mf-cat, .mf-cat-large { height: 270px; border-radius: 18px; }
  .mf-cat-content h3 { font-size: 21px; padding-right: 44px; }

  .mf-product-grid,
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .mf-product-media { aspect-ratio: 1 / .92; }
  .mf-product-info { padding: 14px; }
  .mf-add-cart { font-size: 13px !important; }

  .mf-custom-visual { height: 350px; }
  .mf-custom-tag { width: 155px; }
  .mf-story-images { height: 340px; }
  .mf-stats { grid-template-columns: 1fr; }

  .mf-search-form { flex-direction: column; }
  .mf-search-form .mf-btn { width: 100%; }

  .woocommerce-cart table.cart img { width: 65px; }
  .woocommerce table.shop_table { font-size: 13px; }
}

/* Very small devices */
@media (max-width: 360px) {
  .mf-container { width: calc(100% - 18px); }
  .mf-nav { min-height: 68px; }
  .mf-brand img, .mf-brand .custom-logo { max-width: 92px; height: 44px; }
  .mf-icon-btn { width: 36px; height: 36px; flex-basis: 36px; }
  .mf-hero-copy h1 { font-size: 38px; }
  .mf-hero-art { height: 320px; }
  .mf-btn { padding-left: 16px !important; padding-right: 16px !important; }
}
