/* MADELZA — mobile first responsive corrections (applied last) */
html{max-width:100%;scroll-padding-top:88px}
body{min-width:0;max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%}
img,video,svg{max-width:100%}
main,section,article,aside,.products,.storefront,.footer-links{min-width:0}
input,select,textarea,button{max-width:100%;box-sizing:border-box}
input,select,textarea{font-size:16px}
header{box-sizing:border-box}
.mz-header-nav{min-width:0;flex-shrink:1;display:flex!important}
.mz-actions{flex:0 0 auto}
.mz-menu-wrap{position:relative}
.mz-dropdown{max-height:min(78vh,640px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
.mz-dropdown a{min-height:42px;gap:8px}
.mz-global-cart aside,.cart-drawer{box-sizing:border-box;max-width:100vw;overscroll-behavior:contain}
.category,.product-card,.cat-copy,.detail-copy,.figure-form,.contact-form-wrap,.legal-main{min-width:0}
.detail-image img{max-width:100%;height:auto}
@media(max-width:850px){
  header{display:flex!important;align-items:center;justify-content:space-between;gap:8px!important;height:68px!important;padding:0 4%!important}
  header .brand{flex:0 0 auto;font-size:clamp(20px,3vw,26px)}
  header nav.mz-header-nav{display:flex!important;margin-left:auto;gap:clamp(8px,2vw,18px);align-items:center;min-width:0}
  header .mz-header-nav a{font-size:12px;line-height:1.3;white-space:nowrap}
  header .mz-actions{gap:7px;margin-left:2px}
  header .mz-icon-btn{min-width:42px;height:42px}
  header .mz-cart-trigger .mz-cart-label{display:none}
  header .mz-cart-trigger{padding:0 9px}
  header .mz-hamburger{padding:0 9px}
  .announcement{font-size:9px;letter-spacing:1px;padding:0 12px;text-align:center}
  .premium-home .hero{display:flex;flex-direction:column;min-height:0}
  .premium-home .hero-content{min-height:auto!important;padding:64px 6% 48px!important}
  .premium-home .hero h1{font-size:clamp(38px,7.5vw,66px)!important;letter-spacing:-2.1px!important;line-height:1.08;overflow-wrap:normal}
  .premium-home .hero-content>p{max-width:580px;line-height:1.7}
  .hero-actions{display:flex;flex-wrap:wrap;gap:12px}
  .hero-actions .btn{max-width:none}
  .premium-home .hero-art,.premium-home .hero-showroom{width:100%;height:340px!important;min-height:340px!important;max-height:340px!important}
  .premium-home .hero-showroom{object-fit:cover;object-position:center}
  .premium-home .intro{padding:58px 6% 23px;grid-template-columns:1fr;gap:14px}
  .premium-home .intro h2{font-size:clamp(29px,4.4vw,42px);letter-spacing:-1.4px}
  .premium-home .categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:15px 6% 60px}
  .premium-home .category{height:275px;min-height:275px}
  .premium-home .category .cat-art{height:100%!important;position:absolute;inset:0}
  .premium-home .category .cat-copy{left:15px;right:12px;bottom:15px}
  .premium-home .cat-copy h3{font-size:19px;letter-spacing:-.5px}
  .premium-home .cat-copy small{font-size:9px;line-height:1.4}
  .premium-home .luxury-showcase{grid-template-columns:1fr;min-height:0}
  .premium-home .luxury-showcase>img{height:320px;min-height:320px;max-height:320px}
  .premium-home .luxury-showcase>div{padding:42px 7% 52px;min-width:0}
  .premium-home .luxury-showcase h2{font-size:clamp(29px,4.8vw,42px);letter-spacing:-1.3px}
  .mz-figure-feature{grid-template-columns:1fr}
  .mz-figure-feature .mz-figure-text{padding:52px 7%}
  .mz-figure-feature h2{font-size:clamp(30px,4.8vw,46px);letter-spacing:-1.3px}
  .mz-figure-feature img{height:325px;min-height:325px}
  .featured,.storefront{padding-left:6%;padding-right:6%}
  .featured .section-top{align-items:center;gap:18px}
  .featured .section-top h2{font-size:clamp(27px,4vw,39px);letter-spacing:-1.2px}
  .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
  .product-card .product-name,.product-card .product-price{overflow-wrap:anywhere}
  .product-visual{height:clamp(165px,24vw,230px)}
  .custom{grid-template-columns:1fr}
  .custom-left{min-height:0;padding:58px 7%}
  .custom h2{font-size:clamp(33px,5.5vw,52px);letter-spacing:-1.5px}
  .custom-right{height:315px;min-height:315px}
  .premium-home .wholesale-banner{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:54px 7%}
  .premium-home .wholesale-banner .btn{margin-top:5px}
  .features{grid-template-columns:1fr;gap:22px;padding:58px 7%}
  .about{padding:72px 7%}
  .about h2{font-size:clamp(31px,5vw,52px);letter-spacing:-1.4px}
  .shop-head,.special-top{padding:60px 6% 35px}
  .shop-head h1,.special-top h1{font-size:clamp(34px,6vw,53px);letter-spacing:-1.6px}
  .storebar{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px}
  .storebar #search{grid-column:1/-1;width:100%;min-width:0}
  .storebar #sort{max-width:100%;min-width:0}
  .storebar #count{text-align:right}
  .collection-switcher{padding:15px 6%}
  .switcher-links{max-width:100%;scrollbar-width:thin}
  .detail-layout{grid-template-columns:1fr;gap:28px;padding:30px 6% 75px}
  .detail-image{min-height:310px;max-height:430px}
  .detail-image img{max-height:430px}
  .detail-copy h1{font-size:clamp(31px,5vw,46px);letter-spacing:-1.2px}
  .quantity-controls{flex-wrap:wrap}
  .special-content{grid-template-columns:1fr;gap:24px;padding:44px 6% 65px}
  .special-help{padding-right:0}
  .special-content form{padding:20px;min-width:0}
  .special-content .file-fields{grid-template-columns:1fr}
  .wholesale-quote{padding:55px 6%}
  .wholesale-quote form{padding:20px}
  .corporate-hero,.about-intro,.contact-layout,.mz-figure-page .figure-banner,.mz-figure-page .figure-main{grid-template-columns:1fr;gap:24px}
  .corporate-head,.contact-hero{padding:60px 7%}
  .corporate-hero img{height:325px;min-height:325px;object-fit:cover}
  .corporate-hero h1{font-size:clamp(33px,5.7vw,50px);letter-spacing:-1.6px}
  .corporate-section,.contact-layout{padding:55px 6%}
  .corporate-services{grid-template-columns:1fr;margin:0 6% 65px}
  .corporate-services article{padding:27px}
  .corporate-cta{display:block;padding:60px 7%}
  .contact-hero h1{font-size:clamp(45px,7vw,67px);letter-spacing:-2px}
  .contact-form-wrap{padding:26px;min-width:0}
  .mz-figure-page .figure-banner{padding:54px 7%;gap:24px}
  .mz-figure-page .figure-banner h1{font-size:clamp(34px,5.7vw,50px);letter-spacing:-1.5px}
  .mz-figure-page .figure-banner img{height:310px;object-fit:cover}
  .mz-figure-page .figure-main{padding:52px 6%}
  .mz-figure-page .figure-form{padding:24px;min-width:0}
  .mz-legal-layout{grid-template-columns:1fr;padding:35px 6% 70px}
  .mz-legal-layout aside{position:static;max-width:100%}
  .legal-main{grid-template-columns:1fr;padding:35px 6% 75px}
  .legal-index{position:static}
  .legal-table{display:block;max-width:100%;overflow-x:auto}
  .footer-links{margin:35px 0;gap:12px 20px}
  footer{padding:48px 6% 20px}
  .footer-head strong{font-size:33px}
  .footer-bottom{overflow-wrap:anywhere}
  .mz-global-cart aside,.cart-drawer{padding:24px 20px}
}
@media(max-width:520px){
  .announcement{height:28px;font-size:8px;letter-spacing:.7px}
  header{height:62px!important;gap:5px!important;padding:0 3.5%!important}
  header .brand{font-size:clamp(19px,5vw,23px);letter-spacing:-1.5px}
  header nav.mz-header-nav{gap:9px!important}
  header .mz-header-nav a{font-size:10px!important}
  header .mz-actions{gap:5px;margin-left:0}
  header .mz-icon-btn{height:38px;min-width:37px}
  header .mz-cart-trigger{padding:0 7px}
  header .mz-hamburger{padding:0 7px}
  .mz-dropdown{position:fixed;top:90px;right:8px;left:8px;width:auto;max-height:calc(100dvh - 106px);padding:11px}
  .mz-dropdown a{font-size:13px;padding:11px 12px}
  .premium-home .hero-content{padding:48px 6% 37px!important}
  .premium-home .hero h1{font-size:clamp(33px,8.6vw,44px)!important;letter-spacing:-1.7px!important;margin:24px 0 16px;line-height:1.08}
  .premium-home .eyebrow{font-size:9px;letter-spacing:1.3px}
  .premium-home .hero-content>p{font-size:13px}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%;max-width:100%;text-align:center}
  .hero-notes{gap:10px!important;margin-top:31px!important}
  .hero-notes span{font-size:9px}
  .premium-home .hero-art,.premium-home .hero-showroom{height:260px!important;min-height:260px!important;max-height:260px!important}
  .premium-home .art-label{bottom:10px;right:10px;font-size:8px;letter-spacing:1px}
  .premium-home .intro{padding:47px 6% 17px}
  .premium-home .intro h2{font-size:29px;letter-spacing:-1px}
  .premium-home .categories{gap:10px;padding:12px 5% 52px}
  .premium-home .category{height:215px!important;min-height:215px!important}
  .premium-home .cat-copy{left:10px!important;right:8px!important;bottom:11px!important}
  .premium-home .cat-copy small{font-size:8px;letter-spacing:.6px}
  .premium-home .cat-copy h3{font-size:16px;letter-spacing:-.35px;line-height:1.15}
  .premium-home .cat-copy span{font-size:10px}
  .premium-home .luxury-showcase>img{height:250px;min-height:250px}
  .premium-home .luxury-showcase>div{padding:37px 6% 45px}
  .premium-home .luxury-showcase h2{font-size:30px;letter-spacing:-1px;line-height:1.16}
  .mz-figure-feature .mz-figure-text{padding:42px 6%}
  .mz-figure-feature h2{font-size:clamp(29px,8vw,36px)}
  .mz-figure-feature img{height:240px!important;min-height:240px!important}
  .mz-figure-feature .mz-figure-steps{gap:8px}
  .mz-figure-feature .mz-figure-steps span{font-size:9px;padding:8px}
  .mz-figure-feature .mz-figure-button{width:100%;text-align:center;padding:15px}
  .featured .section-top{display:flex;align-items:start;flex-wrap:wrap}
  .featured .section-top h2{font-size:26px}
  .featured .under-link{font-size:11px}
  .products{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-visual{height:155px!important}
  .product-card{min-width:0}
  .product-name{font-size:12px!important;line-height:1.4}
  .product-price{font-size:12px}
  .custom-left{padding:47px 6%}
  .custom h2{font-size:33px;letter-spacing:-1.3px}
  .custom-right{height:235px;min-height:235px}
  .tech-label{left:12px;right:12px;bottom:12px;font-size:8px;letter-spacing:1px}
  .premium-home .wholesale-banner{padding:42px 6%}
  .premium-home .wholesale-banner h2{font-size:29px}
  .features{padding:45px 6%}
  .about{padding:60px 6%}
  .about h2{font-size:32px;letter-spacing:-1.2px}
  .shop-head h1,.special-top h1{font-size:clamp(32px,8vw,43px)}
  .storebar{gap:9px}
  .storebar select,.storebar input{width:100%;min-width:0}
  .detail-image{min-height:250px}
  .detail-copy button{max-width:100%}
  .special-content form,.wholesale-quote form,.mz-figure-page .figure-form{padding:17px}
  .mz-figure-page .figure-banner h1{font-size:clamp(32px,8vw,42px);letter-spacing:-1.2px}
  .mz-figure-page .figure-banner img{height:225px}
  .mz-figure-page .figure-info h2{font-size:30px}
  .contact-form-wrap{padding:17px}
  .contact-fields{grid-template-columns:1fr}
  .contact-hero h1{font-size:45px}
  .legal-hero,.mz-legal-hero{padding:46px 6%}
  .legal-hero h1,.mz-legal-hero h1{font-size:35px;letter-spacing:-1px}
  .legal-table td,.legal-table th{padding:9px}
  .mz-legal-layout article dl{grid-template-columns:1fr}
  .footer-head strong{font-size:29px}
  .footer-links{gap:13px 16px}
  .mz-global-cart aside,.cart-drawer{padding:19px 16px}
  .mz-global-cart h2,.cart-drawer h2{font-size:27px}
  .mz-photo-previews{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:370px){
  header .brand{font-size:18px}
  header nav.mz-header-nav{gap:6px!important}
  header .mz-header-nav a{font-size:9px!important}
  header .mz-actions{gap:3px}
  header .mz-icon-btn{height:35px;min-width:34px}
  .mz-dropdown{top:86px}
  .premium-home .hero h1{font-size:32px!important}
  .premium-home .category{height:190px!important;min-height:190px!important}
  .premium-home .cat-copy h3{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.premium-home .category:hover,.premium-home .category:hover img{transform:none}}
/* MADELZA horizontal official logo */
header .mz-image-brand{display:flex;align-items:center;justify-content:flex-start;flex:0 1 auto;width:235px;max-width:34vw;height:60px;min-width:0;overflow:hidden}header .mz-image-brand img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}header .mz-image-brand:hover{opacity:.9}@media(max-width:850px){header .mz-image-brand{width:166px;max-width:28vw;height:51px}}@media(max-width:520px){header .mz-image-brand{width:135px;max-width:31vw;height:46px}}@media(max-width:370px){header .mz-image-brand{width:112px;max-width:30vw;height:42px}}

/* MADELZA official footer logo */
footer .footer-head .mz-footer-logo{display:flex;align-items:center;justify-content:flex-start;width:min(355px,100%);height:110px;max-width:100%;flex:none;overflow:hidden}footer .footer-head .mz-footer-logo img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}footer .footer-head .mz-footer-logo:hover{opacity:.9}@media(max-width:850px){footer .footer-head .mz-footer-logo{width:min(290px,100%);height:95px}}@media(max-width:520px){footer .footer-head .mz-footer-logo{width:min(265px,100%);height:88px}}

/* MADELZA product photography: show full item instead of cropping */
.products .product-card .product-visual, .storefront .product-card .product-visual{width:100%;height:auto!important;aspect-ratio:1 / 1;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#efe7de}
.products .product-card .product-visual img, .storefront .product-card .product-visual img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center center}
.products .product-card{min-width:0;overflow:visible}
.products .product-card .product-name{line-height:1.45;overflow-wrap:anywhere}
@media(max-width:520px){.products .product-card .product-visual,.storefront .product-card .product-visual{height:auto!important;aspect-ratio:1 / 1}.products .product-card .product-visual img{object-fit:contain!important}}

/* Full product imagery in detail gallery */
.detail-layout .detail-image{overflow:hidden;min-width:0;aspect-ratio:1/1;height:auto;max-height:none;background:#efe5db;padding:clamp(10px,2vw,26px);display:flex;align-items:center;justify-content:center}.detail-layout .detail-image img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center}.detail-layout .mz-no-photo{color:#71685f;font-size:13px;text-align:center}@media(max-width:850px){.detail-layout .detail-image{min-height:250px;height:auto;max-height:none;aspect-ratio:1/1}}

/* MADELZA transparent-cutout gallery presentation */
.products .product-card .product-visual,.storefront .product-card .product-visual{background:#f6f3ef!important;border:1px solid #eee9e3;border-radius:8px;padding:clamp(7px,1.15vw,16px)!important;aspect-ratio:1/1;box-sizing:border-box;overflow:hidden}.products .product-card .product-visual img,.storefront .product-card .product-visual img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}.detail-layout .detail-image{background:#f6f3ef!important;border-radius:9px;border:1px solid #eee9e3;padding:clamp(15px,2.5vw,28px)}@media(max-width:520px){.products .product-card .product-visual,.storefront .product-card .product-visual{padding:8px!important}}

/* MADELZA homepage hero CTA visibility */
.hero .hero-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:stretch}
.hero .hero-actions .btn{min-height:58px;min-width:225px;box-sizing:border-box;align-items:center;justify-content:space-between;gap:24px;padding:17px 24px;border-radius:9px;font-size:14px;font-weight:800;letter-spacing:.1px;line-height:1.3;text-decoration:none;box-shadow:0 10px 28px rgba(0,0,0,.28);transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease,border-color .2s ease}
.hero .hero-actions .btn.primary{background:#e89a35!important;color:#171314!important;border:2px solid #e89a35!important;box-shadow:0 9px 28px rgba(232,154,53,.23)}
.hero .hero-actions .btn.primary:hover{background:#ffb65c!important;border-color:#ffb65c!important;box-shadow:0 12px 32px rgba(232,154,53,.34);transform:translateY(-2px)}
.hero .hero-actions .btn.secondary{background:rgba(255,255,255,.12)!important;color:#fff!important;border:2px solid #f3dfc4!important;box-shadow:0 9px 24px rgba(0,0,0,.22)}
.hero .hero-actions .btn.secondary:hover{background:rgba(255,255,255,.21)!important;border-color:#fff!important;transform:translateY(-2px)}
.hero .hero-actions .btn span{font-size:19px;font-weight:900;line-height:1;flex:0 0 auto}
.hero .hero-actions .btn:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:520px){.hero .hero-actions{gap:12px}.hero .hero-actions .btn{width:100%;max-width:none!important;min-width:0;min-height:54px;padding:14px 18px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.hero .hero-actions .btn{transition:none}.hero .hero-actions .btn:hover{transform:none}}

/* MADELZA audit fix: mobile category cards + safe customer inquiries */
@media(max-width:520px){.premium-home .categories{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important;padding:16px 5% 52px!important}.premium-home .categories .category{display:block;width:100%;min-width:0;min-height:300px!important;height:300px!important;border-radius:12px;overflow:hidden;position:relative}.premium-home .categories .cat-art img{width:100%;height:100%;object-fit:cover;object-position:center}.premium-home .categories .cat-copy{left:22px!important;right:20px!important;bottom:20px!important}.premium-home .categories .cat-copy h3{font-size:clamp(23px,6vw,30px)!important;line-height:1.14!important;overflow-wrap:break-word}.premium-home .categories .cat-copy small{font-size:10px!important;letter-spacing:1.3px!important}.premium-home .categories .cat-copy span{font-size:13px!important}}
@media(min-width:521px) and (max-width:850px){.premium-home .categories{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-home .categories .cat-copy h3{font-size:clamp(18px,3vw,23px);overflow-wrap:break-word}}
.mz-empty-collection{grid-column:1/-1;background:#f6f3ef;border:1px solid #e6dfd4;border-radius:12px;padding:clamp(26px,5vw,56px);text-align:center}.mz-empty-collection h2{font-size:clamp(23px,4vw,32px);margin:0 0 13px}.mz-empty-collection p{line-height:1.7;color:#625c57;margin:0 auto 22px;max-width:560px}.mz-empty-collection .btn{background:#242020;color:#fff;text-decoration:none;border-radius:7px;min-height:48px;align-items:center;justify-content:center}
.mz-request-quote{display:inline-flex;align-items:center;justify-content:center;background:#e89a35;color:#171314!important;text-decoration:none;border-radius:8px;padding:15px 21px;min-height:48px;font-weight:800;margin:15px 0;box-sizing:border-box}.mz-request-quote:hover{background:#ffb65c}.mz-request-note{font-size:13px;color:#655b51;line-height:1.6}
