@import url("https://mattajirs.com/fonts.css");

:root{--red:#d92550;--navy:#172239;--cream:#faf7f5;--muted:#737581;--border:#ebe9eb}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:135px}body{margin:0;color:var(--navy);background:#fff;font-family:'DM Sans',Arial,'Helvetica Neue',sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4286c9;outline-offset:3px}.wrap{max-width:1320px;padding:0 32px;margin:auto}.topline{background:var(--navy);color:white;text-align:center;font-size:11px;letter-spacing:.3px;padding:10px 32px}.topline span{float:right;opacity:.7}header{position:sticky;top:0;background:white;z-index:20;box-shadow:0 2px 6px #14203508}.head{display:flex;align-items:center;gap:27px;height:94px}.logo{display:flex;align-items:center;font-size:27px;letter-spacing:-1.3px;font-weight:800;white-space:nowrap}.mark{font-size:45px;color:var(--red);font-weight:900;line-height:1;margin-right:8px;letter-spacing:-8px;padding-right:5px}.dot{color:var(--red)}.logo small{display:block;font-weight:500;font-size:10px;letter-spacing:.25px;color:#737581;margin-top:3px}#search{display:flex;flex:1;background:#f6f6f8;border:1px solid #eee;border-radius:9px;height:46px;margin-left:20px}#search input{min-width:0;flex:1;border:0;background:transparent;padding:12px 18px;outline:none}#search button{border:0;background:var(--red);border-radius:7px;color:white;font-size:26px;width:48px;margin:3px}.headbtn{background:none;border:0;display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:24px;color:var(--navy);padding:0}.headbtn span{font-size:12px}.headbtn b{background:var(--red);color:white;border-radius:50%;width:19px;height:19px;font-size:11px;padding-top:2px}nav{height:49px;display:flex;gap:33px;align-items:center;font-size:12px;border-top:1px solid #f2f2f2}nav a{height:100%;display:flex;align-items:center}nav .active{border-bottom:3px solid var(--red);font-weight:700}.create-link{margin-left:auto;font-weight:700;color:var(--red);gap:10px}.create-link span{font-size:9px;border-radius:4px;padding:4px 7px;background:#fff0f3}.introline{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin:22px 0 16px}.hero{display:grid;grid-template-columns:1fr 305px;gap:18px}.hero-main{border-radius:16px;min-height:390px;background:#f8e9e8;position:relative;overflow:hidden;display:flex}.hero-copy{padding:39px 0 34px 34px;width:58%;z-index:2}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px}.hero h1{font-family:Manrope,Arial,Helvetica,sans-serif;letter-spacing:-1.8px;font-size:37px;line-height:1.2;margin:17px 0}.hero h1 em{font-style:normal;color:var(--red)}.hero p{font-size:12px;line-height:1.8;color:#6c5d64}.btn{border:0;border-radius:7px;padding:13px 20px;display:inline-flex;align-items:center;gap:30px;font-weight:700;font-size:12px}.dark{background:var(--navy);color:white;margin-top:13px}.hero-caption{font-size:10px;color:#897b81;margin-top:20px}.hero-photo{position:absolute;right:0;width:45%;height:100%;border-radius:80px 0 0 0;overflow:hidden}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:55% center}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f8e9e8 0%,transparent 30%)}.photo-label{position:absolute;bottom:37px;right:15px;z-index:2;background:#fffef3ee;border-radius:8px;padding:13px 15px;transform:rotate(-4deg)}.photo-label b,.photo-label span{display:block;font-size:12px}.photo-label span{font-size:10px;margin-top:6px}.hero-dots{position:absolute;bottom:16px;left:36px;display:flex;gap:5px}.hero-dots>*{width:5px;height:5px;background:#c8b4b8;border-radius:20px}.hero-dots b{width:20px;background:var(--red)}.hero-side{display:grid;gap:16px;grid-template-rows:1fr 1fr}.side-shop,.side-create{padding:24px;border-radius:14px;overflow:hidden;position:relative}.side-shop{background:#f0f1fb}.side-create{background:#18243d;color:white}.hero-side h2{font-size:21px;line-height:1.3;letter-spacing:-.6px;margin:12px 0}.hero-side a{font-size:11px;font-weight:700}.shopmarks{display:flex;gap:9px;margin:14px 0}.shopmarks b{background:white;border-radius:7px;font-size:11px;padding:11px 9px;box-shadow:0 2px 6px #00000005}.shopmarks b:first-child{color:#d47322}.shopmarks b:nth-child(2){color:#af6c92}.shopmarks span{color:#daa956}.side-create .eyebrow{color:#bfc9e0}.spark{position:absolute;right:24px;top:52px;font-size:76px;color:#ef96ac}.benefits{display:flex;justify-content:space-between;border-bottom:1px solid var(--border);padding:22px 0;font-size:11px;color:#686e7a;gap:15px}.benefits b{color:var(--red);font-size:18px;margin-right:7px}section{margin-bottom:32px}.hero{margin-bottom:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:34px 0 20px}.section-head h2{font-family:Manrope,Arial,Helvetica,sans-serif;font-size:23px;letter-spacing:-.8px;margin:8px 0 0}.section-head a{font-size:12px;font-weight:700}.categories{display:flex;gap:25px;justify-content:space-between;overflow-x:auto;padding:0 0 8px}.category{background:none;border:0;min-width:108px;padding:0;color:var(--navy);font-size:12px;font-weight:700;text-align:center}.category img{width:100px;height:100px;border-radius:50%;object-fit:cover;display:block;margin:0 auto 11px;transition:.25s}.category:hover img{transform:scale(1.05)}.red{color:var(--red)}.pill{display:inline-block;font-size:10px;font-family:'DM Sans',sans-serif;letter-spacing:0;font-weight:600;background:#f4f1f4;padding:6px 10px;border-radius:5px;vertical-align:middle}.sort-label{font-size:11px;white-space:nowrap}select{background:white;border:1px solid var(--border);border-radius:6px;padding:9px;font-size:11px;color:var(--navy)}.filters{display:flex;gap:8px;overflow:auto}.filters button{border:1px solid var(--border);background:white;border-radius:30px;padding:8px 15px;font-size:11px;white-space:nowrap}.filters button.selected{background:var(--navy);color:white;border-color:var(--navy)}.demo-note{color:#898994;font-size:10px;line-height:1.6;margin:13px 0}.products{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.product{min-width:0;position:relative}.product-image{background:#f6f5f4;position:relative;border-radius:11px;overflow:hidden;aspect-ratio:1/1.08}.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.product-image:hover img{transform:scale(1.04)}.product-image .view{padding:0;border:0;width:100%;height:100%;display:block}.discount{position:absolute;left:10px;top:10px;border-radius:4px;padding:5px 7px;color:var(--red);background:white;font-size:10px;font-weight:800;pointer-events:none}.heart{position:absolute;right:8px;top:8px;border:0;background:#ffffffec;border-radius:50%;font-size:20px;width:30px;height:30px;color:var(--navy)}.heart.saved{color:var(--red)}.seller{font-size:10px;color:var(--muted);margin-top:13px}.product h3{font-weight:500;font-size:13px;margin:6px 0 9px;line-height:1.5}.price{font-size:17px;font-weight:800;color:var(--navy)}del{font-size:11px;color:#999;margin-left:8px;font-weight:400}.add{width:28px;height:28px;border-radius:7px;background:var(--red);color:white;border:0;float:right;font-size:20px}.product .tag{font-size:9px;color:#778279;margin-top:8px}.brand-strip{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:38px}.brand-strip>span{font-size:10px;color:var(--muted);max-width:185px;line-height:1.8}.brand-strip>b{font-size:24px;letter-spacing:-1px}.brand-strip b span{display:block;text-align:center;font-size:10px;letter-spacing:3px}.brand-strip .oz{font-family:Georgia,serif}.sewar{color:#b7849c}.brand-strip a{display:block;color:var(--red);font-weight:700}.section-sub{font-size:12px;color:var(--muted);margin-top:-9px}.stores{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:22px}.store{border:1px solid var(--border);border-radius:12px;overflow:hidden}.store-cover{height:165px;position:relative}.store-cover img{height:100%;width:100%;object-fit:cover}.store-badge{position:absolute;bottom:-19px;left:20px;border:4px solid white;border-radius:9px;background:#fff;padding:13px;font-weight:800;box-shadow:0 2px 10px #0001}.store-body{padding:29px 20px 19px}.store-top{display:flex;align-items:center;justify-content:space-between}.store h3{font-size:18px;margin:6px 0}.store p{font-size:12px;color:var(--muted);line-height:1.7}.store button{border:0;background:none;color:var(--red);font-weight:700;padding:6px 0;font-size:12px}.builder{margin-top:45px;background:#f5e8ed;border-radius:18px;display:grid;grid-template-columns:1.15fr 1fr;overflow:hidden;min-height:400px}.builder-copy{padding:43px 45px}.builder h2{font-size:39px;letter-spacing:-1.6px;line-height:1.16;margin:16px 0}.builder h2 em{color:var(--red);font-style:normal}.builder p{font-size:13px;line-height:1.8;color:#77707b}.feature-row{display:flex;gap:16px;font-size:11px;margin:21px 0}.primary{color:white;background:var(--red)}.builder small{display:block;color:var(--muted);font-size:10px;margin-top:13px}.phone-zone{position:relative;display:flex;align-items:flex-end;justify-content:center;background:radial-gradient(ellipse at center,#f1becd88,transparent 70%)}.phone{border:7px solid var(--navy);border-bottom:0;border-radius:36px 36px 0 0;background:white;width:225px;padding:28px 15px 24px;transform:rotate(8deg) translateY(14px);box-shadow:15px 5px 25px #29182818;position:relative}.notch{position:absolute;top:7px;left:76px;width:64px;height:12px;background:var(--navy);border-radius:10px}.phone-brand{color:var(--red);font-weight:900;font-size:21px}.phone-brand b{font-size:15px;color:var(--navy)}.phone small{font-size:7px}.phone h3{font-size:22px;letter-spacing:-.7px;line-height:1.2}.stepbar{display:flex;align-items:center;margin:17px 0}.stepbar b,.stepbar span{border-radius:50%;padding:5px 9px;background:#f4f4f6;font-size:9px}.stepbar b{background:var(--red);color:white}.stepbar i{height:1px;flex:1;background:#eee}.phone label{display:block;font-size:10px;font-weight:700;margin:15px 0 7px}.mini-options{display:flex;gap:7px}.mini-options b{border:1px solid #eee;flex:1;border-radius:6px;padding:11px;font-size:10px;text-align:center;line-height:1.8}.mini-options .selected{border-color:var(--red);color:var(--red);background:#fff2f5}.mini-input{padding:10px;font-size:9px;border:1px solid #eee;border-radius:5px;color:#999}.swatches{display:flex;gap:9px;margin:15px 0}.swatches i{width:16px;height:16px;border-radius:50%;background:var(--red)}.swatches i:nth-child(2){background:var(--navy)}.swatches i:nth-child(3){background:#ffe4ec}.swatches i:nth-child(4){background:#bfc6dc}.phone-cta{background:var(--red);padding:11px;border-radius:5px;color:white;font-size:10px}.floating{position:absolute;z-index:3;background:white;border-radius:10px;padding:13px 18px;box-shadow:0 8px 30px #25203512}.float-one{top:57px;left:9px;font-size:10px;transform:rotate(-7deg)}.float-two{bottom:49px;right:5px;transform:rotate(-5deg)}.float-two b{font-size:23px;color:var(--red);display:block}.float-two span{font-size:10px}.packs{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.pack{border:1px solid var(--border);padding:23px;border-radius:10px}.pack.featured{border-color:var(--red);background:#fffafb}.pack h3{font-size:16px;margin:0 0 12px}.pack strong{font-size:26px;letter-spacing:-1px}.pack strong small{font-size:11px}.pack p{font-size:11px;line-height:1.8;color:var(--muted);min-height:40px}.pack button{width:100%;border:1px solid #e8d6dd;background:white;border-radius:6px;padding:10px;color:var(--red);font-size:11px;font-weight:700}.muted{font-size:11px;color:var(--muted)}.partner-bar{padding:23px;background:#f5f6f9;border-radius:10px;margin-top:23px;display:flex;align-items:center;gap:20px}.partner-bar b{font-size:13px;max-width:250px}.partner-bar p{font-size:11px;color:var(--muted);flex:1}.partner-bar button{background:var(--navy);color:white;border:0;border-radius:7px;padding:12px;font-size:11px}footer{background:#172239;color:white;padding:38px 0 18px;margin-top:50px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:35px}.footer-grid p{font-size:11px;line-height:1.9;color:#bfc5d2}.footer-grid>div>a:not(.logo){display:block;font-size:12px;margin-top:13px;color:#d9dde5}.footer-grid b{font-size:12px}.footnote{margin-top:30px;padding-top:19px;border-top:1px solid #ffffff14;font-size:10px;color:#a5adbf;display:flex;justify-content:space-between}.mobile-nav{display:none}dialog{border:0;border-radius:18px;padding:32px;max-width:640px;width:calc(100% - 28px);max-height:88vh;color:var(--navy);box-shadow:0 20px 100px #0003}dialog::backdrop{background:#0d183a88;backdrop-filter:blur(4px)}.close{position:absolute;right:13px;top:10px;background:#f2f2f5;border:0;border-radius:50%;width:30px;height:30px;font-size:22px}.detail{display:grid;grid-template-columns:1fr 1fr;gap:24px}.detail>img{width:100%;border-radius:10px}.detail p{line-height:1.8;font-size:13px;color:var(--muted)}.detail h2{font-size:23px}.dialog-note{background:#f9f3f5;padding:12px;font-size:11px;line-height:1.7;border-radius:7px}.cart-row{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid var(--border)}.cart-row img{width:52px;height:60px;object-fit:cover;border-radius:6px}.cart-row>div{flex:1}.cart-row p{margin:4px 0;font-size:12px}.quantity{display:flex;align-items:center;gap:8px}.quantity button{background:#f4f4f6;border:0;border-radius:5px;padding:5px 9px}.total{display:flex;justify-content:space-between;font-weight:800;font-size:21px;margin:25px 0}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.formgrid label{font-size:12px;display:flex;flex-direction:column;gap:7px}.formgrid input,.formgrid select,.formgrid textarea{border:1px solid #dedee7;border-radius:6px;padding:11px;width:100%;font-size:13px}.formgrid .full{grid-column:1/-1}.formgrid textarea{height:80px;resize:vertical}.empty{text-align:center;padding:35px;color:var(--muted)}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);opacity:0;background:var(--navy);color:white;padding:14px 22px;border-radius:10px;z-index:100;font-size:13px;transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1450px){.hero-main{min-height:430px}.hero-copy{padding-top:49px}.hero h1{font-size:41px}}@media(max-width:1100px){.head{gap:18px}.headbtn span{display:none}.hero{grid-template-columns:1fr 250px}.hero h1{font-size:31px}.hero-copy{padding-left:24px}nav{gap:23px}.categories{gap:15px}.category{min-width:98px}.category img{width:86px;height:86px}.products{grid-template-columns:repeat(4,1fr)}.hero-side h2{font-size:19px}.side-shop,.side-create{padding:20px}.benefits{font-size:10px}.builder-copy{padding:36px}.float-one{left:-10px}.packs{gap:10px}.pack{padding:18px}}
@media(max-width:760px){.wrap{padding:0 16px}.topline{padding:8px 12px;font-size:9px}.topline span{display:none}.head{height:auto;padding-top:14px;padding-bottom:12px;flex-wrap:wrap;gap:14px}.logo{font-size:24px;flex:1}.mark{font-size:35px}.logo small{font-size:8px}#search{order:4;flex-basis:100%;margin:0;height:42px}#search input{font-size:12px;padding:10px 13px}.headbtn{font-size:24px}.headbtn span{display:none}nav{height:44px;overflow:auto;gap:24px;white-space:nowrap;font-size:11px}.create-link{margin-left:0}.create-link span{display:none}.introline{margin:16px 0 12px;font-size:9px}.introline>span:first-child{max-width:220px}.hero{display:block}.hero-main{min-height:330px;border-radius:12px}.hero-copy{padding:27px 0 24px 20px;width:67%}.hero h1{font-size:28px;letter-spacing:-1.2px;line-height:1.22;margin:15px 0}.hero .eyebrow{font-size:8px;letter-spacing:1.2px}.hero p{font-size:10px;max-width:190px}.hero p br{display:none}.hero-photo{width:43%;border-radius:70px 0 0 0}.hero-photo img{object-position:58% center}.hero-photo:after{background:linear-gradient(90deg,#f8e9e8,transparent 60%)}.photo-label{display:none}.hero .btn{font-size:11px;padding:12px 15px;margin-top:8px;gap:17px}.hero-caption{font-size:8px;margin-top:14px}.hero-dots{left:20px;bottom:11px}.hero-side{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:10px;margin-top:12px}.hero-side>div{min-height:158px;padding:17px 14px;border-radius:10px}.hero-side h2{font-size:16px;letter-spacing:-.5px;margin:10px 0}.hero-side .eyebrow{font-size:7px;letter-spacing:.6px}.hero-side a{font-size:9px}.shopmarks{gap:4px;margin:10px 0}.shopmarks b{font-size:8px;padding:7px 5px}.spark{font-size:40px;right:10px;top:70px;opacity:.7}.benefits{display:grid;grid-template-columns:1fr 1fr;gap:13px;font-size:9px;padding:17px 0}.benefits b{font-size:14px;margin-right:3px}.section-head{margin:26px 0 17px;gap:10px;align-items:flex-end}.eyebrow{font-size:8px;letter-spacing:1.2px}.section-head h2{font-size:20px;line-height:1.3;letter-spacing:-.6px}.section-head a{font-size:10px;min-width:71px}.categories{gap:15px;margin-right:-16px}.category{min-width:73px;font-size:10px}.category img{width:73px;height:73px}.sort-label{font-size:0}.sort-label select{max-width:112px;font-size:9px;padding:8px}.products{grid-template-columns:repeat(2,1fr);gap:23px 13px}.demo-note{font-size:9px}.product h3{font-size:12px}.price{font-size:16px}.seller{margin-top:10px}.product .tag{font-size:8px}.discount{font-size:9px;left:7px;top:7px}.heart{width:27px;height:27px;font-size:18px}.brand-strip{flex-wrap:wrap;gap:21px;padding:20px 0;margin-top:25px;justify-content:space-around}.brand-strip>span:first-child{width:100%;max-width:100%;text-align:center;font-size:8px}.brand-strip>span:last-child{display:none}.brand-strip>b{font-size:21px}.section-sub{font-size:11px;line-height:1.7}.stores{grid-template-columns:1fr;gap:18px}.store-cover{height:165px}.store-body{padding:25px 17px 15px}.store p{margin:7px 0}.store h3{font-size:17px}.builder{grid-template-columns:1fr;margin-top:28px;min-height:unset}.builder-copy{padding:29px 24px 15px}.builder h2{font-size:34px}.builder p{font-size:12px}.feature-row{font-size:10px;gap:14px}.phone-zone{height:330px;overflow:hidden}.phone{width:208px;transform:rotate(8deg) translateY(56px)}.float-one{left:13px;top:48px;font-size:9px;padding:12px}.float-two{bottom:38px;right:12px;padding:12px}.float-two b{font-size:21px}.packs{grid-template-columns:1fr 1fr;gap:12px}.pack{padding:17px}.pack strong{font-size:23px}.pack h3{font-size:14px}.pack p{font-size:10px}.pack button{font-size:10px}.section-head>.muted{font-size:9px;max-width:90px;text-align:right}.partner-bar{display:block;padding:20px}.partner-bar b{font-size:13px}.partner-bar p{line-height:1.7}.footer-grid{grid-template-columns:1fr 1fr;gap:25px}.footer-grid>div:first-child{grid-column:1/-1}.footer-grid p{font-size:10px}.footnote{font-size:9px;display:block;line-height:1.8}.footnote span{display:block}footer{padding-bottom:85px;margin-top:30px}.mobile-nav{display:flex;position:fixed;bottom:0;width:100%;justify-content:space-around;background:#fffffff5;backdrop-filter:blur(10px);border-top:1px solid var(--border);padding:9px 0 max(9px,env(safe-area-inset-bottom));z-index:25}.mobile-nav a,.mobile-nav button{display:flex;flex-direction:column;align-items:center;font-size:20px;color:var(--navy);gap:4px;border:0;background:none;padding:0}.mobile-nav span{font-size:9px}.mobile-nav a:first-child{color:var(--red)}dialog{padding:28px 20px}.detail{grid-template-columns:1fr}.detail>img{max-height:220px;object-fit:cover}.detail h2{margin-top:0}.formgrid{grid-template-columns:1fr}.formgrid .full{grid-column:auto}.cart-row{gap:9px}.quantity{gap:4px}.cart-row img{width:42px;height:48px}.cart-row p{font-size:10px}#toast{bottom:80px;width:max-content;max-width:90%;font-size:11px}html{scroll-padding-top:175px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.product-image{background:#fff;border:1px solid #f0edf0}.product-image img{object-fit:contain;padding:8px}.product h3{min-height:58px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.price{font-size:15px}.no-photo{height:100%;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f6eef1;color:var(--red);font-size:50px;font-weight:800}.no-photo span{font-size:11px;color:var(--navy)}#detailImage img{width:100%;height:280px;object-fit:contain}.gallery{display:flex;overflow:auto;gap:7px;margin-top:12px}.gallery button{border:1px solid #ddd;border-radius:5px;background:white;padding:0;flex:0 0 48px;height:55px}.gallery img{width:100%;height:100%;object-fit:contain}.official-description{margin-top:25px;border-top:1px solid #eee;padding-top:15px}.official-description summary{cursor:pointer;font-weight:700}.official-description div{white-space:pre-line;font-size:12px;line-height:1.9;margin-top:14px;overflow-wrap:anywhere}.detail select{max-width:100%;white-space:normal;margin-top:8px}.source-link{color:var(--red);font-size:12px;text-decoration:underline}button:disabled{opacity:.45;cursor:not-allowed}.cart-row>b,.cart-row>div{min-width:0}.cart-row b{font-size:12px;overflow-wrap:anywhere}.cart-row>.no-photo{min-height:50px;width:50px;font-size:22px}.cart-row>.no-photo span{display:none}
/* Mattajirs WooCommerce V2 — buttons and shipping cards, preserving original identity. */
.mtj-remove { border:0; background:transparent; color:#d92550; font:inherit; padding:4px 0; text-decoration:underline; cursor:pointer; }
.mtj-shipping-option { display:flex; gap:12px; align-items:center; border:1px solid #dedee6; border-radius:10px; margin:10px 0; padding:14px 12px; cursor:pointer; }
.mtj-shipping-option input { accent-color:#d92550; }
.mtj-shipping-option span { flex:1; }
.mtj-shipping-option b { white-space:nowrap; }
.mtj-agree { display:flex; gap:10px; align-items:start; margin:16px 0; font-size:13px; line-height:1.5; }
.mtj-agree input { margin-top:3px; accent-color:#d92550; }
.mtj-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
button:disabled { opacity:0.55; cursor:not-allowed!important; }
/* Prevent anchored section titles from being hidden behind the sticky header. */
section[id] { scroll-margin-top:165px; }

/* V3.7 — Fiches produits: isolation de la galerie et des titres longs */
dialog:has(.detail){width:min(960px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;overflow-y:auto;overflow-x:hidden;padding:clamp(16px,2.6vw,32px)}
#modalBody:has(.detail){min-width:0;max-width:100%;overflow-x:hidden}
.detail{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(14px,3vw,30px);min-width:0;max-width:100%;align-items:start}
.detail>div,.detail h2,.detail p,.detail label{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
.detail h2{line-height:1.28;font-size:clamp(18px,2vw,26px);margin:10px 0 16px;overflow-wrap:anywhere}
#detailImage{width:100%;min-width:0;max-width:100%;background:#fafafa}
#detailImage img{display:block;width:100%;max-width:100%;height:320px;object-fit:contain}
.detail .gallery{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;display:flex;flex-wrap:nowrap;gap:8px;padding:8px 0;scrollbar-width:thin;overscroll-behavior-x:contain}
.detail .gallery button{min-width:64px;flex:0 0 64px;height:68px;overflow:hidden}
.detail .gallery img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}
.detail select{display:block;width:100%;max-width:100%;min-width:0;padding:10px 12px;line-height:1.4}
.detail .source-link{display:inline-block;max-width:100%;overflow-wrap:anywhere}
@media(max-width:760px){dialog:has(.detail){width:calc(100vw - 18px);max-width:calc(100vw - 18px);max-height:94dvh;padding:22px 16px;overflow-x:hidden}.detail{grid-template-columns:minmax(0,1fr);gap:18px}#detailImage img{height:260px}.detail .gallery button{min-width:56px;flex-basis:56px;height:58px}.detail h2{font-size:21px}}
