/* Meat Momtaz — single responsive foundation for every route and device.
   Content and functionality stay the same; only layout adapts to available space. */
:root{
 --mm-page-gutter:clamp(14px,3.2vw,30px);
 --mm-content-max:1200px;
 --mm-control-height:44px;
}
*,*::before,*::after{box-sizing:border-box}
html{
 width:100%;max-width:100%;min-width:0;
 -webkit-text-size-adjust:100%;text-size-adjust:100%;
 scroll-padding-top:88px;overflow-x:hidden;overflow-x:clip;
}
body{
 width:100%;max-width:100%;min-width:0;margin:0;
 overflow-x:hidden;overflow-x:clip;overflow-wrap:anywhere;
}
img,picture,video,canvas,svg,iframe{max-width:100%}
img,video{height:auto}
button,input,select,textarea{max-width:100%;font:inherit}
input,select,textarea{min-width:0}
button,a,input,select,textarea{touch-action:manipulation}
button{cursor:pointer}
:where(main,header,footer,section,article,aside,nav,form,figure,fieldset){min-width:0;max-width:100%}
:where(.wrap){width:min(calc(100% - var(--mm-page-gutter)*2),var(--mm-content-max));margin-inline:auto}
:where(p,h1,h2,h3,h4,li,label,a,button,small,strong,span){min-width:0;overflow-wrap:anywhere}
h1{font-size:clamp(1.8rem,4vw,3.4rem);line-height:1.35}
h2{font-size:clamp(1.35rem,2.7vw,2rem);line-height:1.45}
h3{font-size:clamp(1.05rem,2vw,1.35rem);line-height:1.5}
:where(.btn,button,[type=button],[type=submit],[type=reset]){min-height:var(--mm-control-height)}
:where(input,select,textarea){min-height:44px;font-size:16px}
:where(textarea){resize:vertical}
:where(table){display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse}
:where(pre,code){max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap}
:where(iframe,video){display:block}
:where([hidden]){display:none!important}
:focus-visible{outline:3px solid #c49a58;outline-offset:3px}
html[dir=ltr] body{text-align:left}
html[dir=rtl] body{text-align:initial}

/* Language and theme controls: one shared component, never fixed over content. */
.mm-global-tools{
 display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
 gap:8px;min-width:0;max-width:100%;
}
.mm-global-tools button{
 display:inline-flex;align-items:center;justify-content:center;
 min-width:44px;min-height:42px;max-width:100%;
 padding:7px 13px;border:1px solid #c9a86f;border-radius:11px;
 background:#211c15;color:#f0d59e;font-family:inherit;
 font-size:12px;font-weight:700;line-height:1.4;white-space:normal;
}
.mm-global-tools button:focus-visible{outline:3px solid #c49a58;outline-offset:3px}
.mm-global-tools-nav{flex:0 1 auto;margin-inline-start:auto}
.mm-global-tools-inline{
 width:100%;justify-content:flex-start;margin:-8px 0 22px;
 padding:0;position:relative;
}
html[dir=ltr] .mm-global-tools-inline{justify-content:flex-start}
html[data-theme=dark] .mm-global-tools button{background:#30251f;color:#fff0d6;border-color:#745a3d}

/* Header/navigation: keep every route and control available at every width. */
@media(max-width:980px){
 .nav,.header .nav{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:10px;padding-block:10px;
 }
 .nav>.brand,.nav .brand{
  flex:0 1 auto;max-width:100%;min-width:0;
 }
 .navlinks,.links{
  display:flex!important;flex:1 1 100%;width:100%;min-width:0;
  flex-wrap:wrap;justify-content:center;align-items:center;
  gap:7px 16px;padding:4px 0;
 }
 .nav-actions{
  display:flex!important;flex:1 1 100%;width:100%;max-width:100%;
  min-width:0;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;
 }
 .nav-actions .account-link,header .account-link{display:inline-flex!important}
 .nav-actions .utility-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:auto!important;min-width:44px;max-width:100%;min-height:42px;padding:7px 12px;
 }
 .nav-actions .utility-btn span{display:inline!important}
 .nav>.btn,.header .nav>.btn{display:inline-flex!important}
 .menu-toggle,.mobile-panel,.mobile-menu{display:none!important}
 .mm-global-tools-nav{flex:0 1 auto;margin-inline:auto}
}
@media(max-width:640px){
 :root{--mm-page-gutter:14px}
 .nav,.header .nav{gap:9px}
 .nav>.brand,.nav .brand{flex:1 1 100%;justify-content:center}
 .navlinks,.links{gap:6px 12px;font-size:12px}
 .navlinks a,.links a{padding:5px 3px}
 .nav-actions{gap:8px}
 .nav-actions .account-link{flex:1 1 100%;justify-content:center}
 .nav-actions .btn,.nav-actions .utility-btn{min-height:42px}
 .mm-global-tools-nav{width:100%;justify-content:center;margin:0}
 .mm-global-tools-inline{justify-content:center;margin:0 0 20px}
 .mm-global-tools button{flex:0 1 auto}
}

/* Fluid content grids — no information is hidden at smaller widths. */
.hero-grid,.about-grid,.contact-grid,.contact-layout{min-width:0}
.catalog-grid,.catalog-cards,.products{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.parts-sections{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.parts-list{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.form-grid,.club-grid{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.catalog-card,.product,.parts-card,.faq-card,.category-contact,.contact-card,.step{min-width:0;max-width:100%}
@media(max-width:980px){
 .hero-grid,.about-grid,.contact-grid,.contact-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,3vw,30px)}
 .catalog-grid,.catalog-cards,.products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .category-page{width:min(calc(100% - 2*var(--mm-page-gutter)),960px)}
}
@media(max-width:640px){
 .hero-grid,.about-grid,.contact-grid,.contact-layout{grid-template-columns:minmax(0,1fr)}
 .parts-sections,.steps,.form-grid,.club-grid{grid-template-columns:minmax(0,1fr)}
 .form-grid .full,.club-field.full{grid-column:auto}
 .category-page{padding-block:22px 56px}
 .category-actions{display:flex;flex-wrap:wrap;gap:9px}
 .category-actions .btn{flex:1 1 100%;width:100%;justify-content:center}
 .order-form{width:100%;padding:clamp(14px,4vw,22px)}
 .form-footer{flex-wrap:wrap}
 .form-footer>*{flex:1 1 100%;min-width:0}
 .mm-dialog{width:min(100%,560px);max-width:calc(100vw - 28px);max-height:88vh;max-height:88dvh;overflow:auto}
 .club-wrap,.account-wrap{width:100%;max-width:100%;padding-inline:14px}
 .club-card,.account-card{width:100%;min-width:0;max-width:100%}
 section{scroll-margin-top:76px}
}
@media(max-width:380px){
 .catalog-grid,.catalog-cards,.products,.parts-list{grid-template-columns:minmax(0,1fr)}
 .catalog-card,.product,.parts-card,.faq-card,.category-contact{min-width:0}
 .btn,.category-actions .btn{white-space:normal}
 .club-card,.account-card{padding:20px 15px}
 .club-captcha,.account-captcha{gap:8px;padding:10px}
 .club-captcha img,.account-captcha img{width:min(150px,100%);height:54px;flex:0 1 150px}
 .club-captcha input,.account-captcha input{width:82px;flex:0 1 82px}
}

/* Forms, captcha and dialogs adapt without shrinking text or controls. */
.club-wrap,.account-wrap,.order-form{min-width:0}
.club-grid,.account-grid,.form-grid{min-width:0}
.club-field,.account-field,.form-grid label{min-width:0}
.club-field input,.account-field input,.club-captcha input,.account-captcha input,
.form-grid input,.form-grid select,.form-grid textarea{
 width:100%;max-width:100%;min-width:0;font-size:16px;
}
.club-captcha,.account-captcha{
 display:flex;align-items:center;flex-wrap:wrap;gap:10px;
 width:100%;max-width:100%;min-width:0;
}
.club-captcha img,.account-captcha img{
 display:block;width:180px;max-width:100%;height:64px;
 flex:0 1 180px;object-fit:contain;image-rendering:auto;
}
.club-captcha input,.account-captcha input{width:92px;max-width:100%;flex:0 1 92px}
.club-card,.account-card,.order-form,.mm-dialog{min-width:0;max-width:100%}
.account-links,.form-footer{min-width:0;flex-wrap:wrap}
.account-links>*{min-width:0;max-width:100%}
.mobile-cta{
 max-width:calc(100vw - 24px);
 padding-bottom:env(safe-area-inset-bottom);
}
.mm-fab{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}

/* Consistent theme surface tokens across all routes. */
html[data-theme=dark] body{background-color:#171311;color:#fff8ef}
html[data-theme=dark] .header,html[data-theme=dark] header,html[data-theme=dark] footer,
html[data-theme=dark] .product,html[data-theme=dark] .catalog-card,
html[data-theme=dark] .step,html[data-theme=dark] .faq details,
html[data-theme=dark] .parts-card,html[data-theme=dark] .faq-card,
html[data-theme=dark] .category-contact,html[data-theme=dark] .order-form,
html[data-theme=dark] .club-card,html[data-theme=dark] .account-card{
 background-color:#241c19;color:#fff8ef;border-color:#574638;
}
html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{
 background:#171311;color:#fff8ef;border-color:#695544;
}
html[data-theme=dark] p,html[data-theme=dark] small,html[data-theme=dark] label,
html[data-theme=dark] .muted,html[data-theme=dark] .category-lead,
html[data-theme=dark] .parts-list li,html[data-theme=dark] .faq-card p{color:#e4d8cc}
html[data-theme=dark] .btn-primary,html[data-theme=dark] .account-btn{color:#21170d}
html[data-theme=light] body{color:#211d1d}

/* Accessibility, orientation changes and reduced-motion preferences. */
@media(orientation:landscape) and (max-height:500px){
 .mm-dialog{max-height:calc(100dvh - 20px);overflow:auto}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{
  scroll-behavior:auto!important;animation-duration:.01ms!important;
  animation-iteration-count:1!important;transition-duration:.01ms!important;
 }
}


/* Homepage premium header: clean brand/control grouping; scrolls with the document. */
.home-page>header{
 position:relative!important;top:auto!important;z-index:20;
 background:linear-gradient(112deg,#100f0d 0%,#211b13 48%,#15120e 100%)!important;
 border-bottom:1px solid rgba(218,184,112,.58)!important;
 box-shadow:0 10px 28px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.045);
 backdrop-filter:none!important;
}
.home-page>header .nav{
 min-height:104px;display:flex!important;flex-wrap:nowrap!important;
 align-items:center;justify-content:space-between;gap:clamp(14px,3vw,34px);
 padding-block:14px;
}
.home-page>header .brand{
 display:flex;flex:1 1 auto;align-items:center;justify-content:flex-start;
 max-width:none;min-width:0;gap:15px;color:#fff8e9;
}
.home-page>header .brand img{
 width:58px;height:58px;flex:0 0 58px;object-fit:contain;
 border:1px solid rgba(222,190,122,.48);border-radius:16px;
 box-shadow:0 7px 22px rgba(0,0,0,.35),0 0 0 4px rgba(214,176,101,.07);
}
.home-page>header .brand-copy{display:grid;gap:1px;min-width:0}
.home-page>header .brand strong{font-size:clamp(17px,2vw,22px);line-height:1.35;color:#f8e8c5}
.home-page>header .brand small{
 color:#d5b77b;font-size:10px;letter-spacing:2.6px;
 text-align:inherit;line-height:1.5;
}
.home-page>header .brand-welcome{
 display:flex;flex-wrap:wrap;align-items:center;gap:0 .42em;
 margin-top:5px;color:#e8dfd0;font-size:clamp(11px,1.25vw,13px);
 font-weight:600;line-height:1.7;text-shadow:none;
}
.home-page>header .brand-welcome b{
 margin:0;color:#e4c27b;font-weight:900;
}
.home-page>header .nav-actions{
 display:flex!important;flex:0 0 auto!important;width:auto!important;
 align-items:center;justify-content:flex-end;gap:10px;
}
.home-page>header .nav-actions .utility-btn{
 display:inline-flex!important;width:auto!important;min-width:76px;
 min-height:44px;padding:8px 14px;gap:8px;
 border:1px solid rgba(214,180,111,.58);border-radius:13px;
 background:linear-gradient(145deg,#33291b,#17130e);color:#f0d69e;
 box-shadow:0 6px 18px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.07);
}
.home-page>header .nav-actions .utility-btn span{display:inline!important}
.home-page>header .nav-actions .utility-btn:hover{
 border-color:#f0d28f;background:linear-gradient(145deg,#40311d,#21190f);
}
html[dir=ltr] .home-page>header .brand-welcome{justify-content:flex-start}
@media(max-width:640px){
 .home-page>header .nav{
  min-height:0;flex-wrap:wrap!important;gap:12px;
  padding-block:13px;
 }
 .home-page>header .brand{
  flex:1 1 100%;justify-content:center;gap:11px;
 }
 .home-page>header .brand img{width:49px;height:49px;flex-basis:49px;border-radius:13px}
 .home-page>header .brand-copy{justify-items:center;text-align:center}
 .home-page>header .brand strong{font-size:17px}
 .home-page>header .brand small{font-size:9px;letter-spacing:2.2px}
 .home-page>header .brand-welcome{justify-content:center;font-size:11px;gap:0 .34em}
 .home-page>header .nav-actions{
  flex:0 1 auto!important;width:auto!important;margin-inline:auto;
  justify-content:center;gap:9px;
 }
 .home-page>header .nav-actions .utility-btn{
  min-width:82px;width:auto!important;min-height:42px;padding:7px 13px;
 }
}
@media(max-width:360px){
 .home-page>header .brand-welcome{font-size:10px}
 .home-page>header .nav-actions .utility-btn{min-width:76px;padding-inline:10px}
}


/* Unified luxury identity header across every route. */
.mm-site-header{
 position:relative;z-index:30;width:100%;
 background:linear-gradient(112deg,#100f0d 0%,#211b13 48%,#15120e 100%);
 border-bottom:1px solid rgba(218,184,112,.58);
 box-shadow:0 9px 26px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.045);
}
.mm-site-header-inner{
 width:min(calc(100% - 36px),1200px);min-height:82px;margin-inline:auto;
 display:flex;align-items:center;justify-content:space-between;gap:18px;
}
.mm-site-brand{display:flex;align-items:center;gap:13px;min-width:0;color:#fff4df;text-decoration:none}
.mm-site-brand img{
 width:49px;height:49px;flex:0 0 49px;object-fit:contain;
 border:1px solid rgba(222,190,122,.5);border-radius:14px;
 box-shadow:0 6px 19px #0006,0 0 0 4px #d6b06512;
}
.mm-site-brand span{display:grid;gap:1px}
.mm-site-brand strong{font-size:19px;font-weight:900;line-height:1.35;color:#f8e8c5}
.mm-site-brand small{font-size:9px;letter-spacing:2.6px;color:#d5b77b;direction:ltr}
.mm-site-home-link{
 display:inline-flex;align-items:center;justify-content:center;min-height:40px;
 padding:7px 16px;border:1px solid rgba(214,180,111,.5);border-radius:12px;
 background:linear-gradient(145deg,#33291b,#17130e);color:#f0d69e;
 font-size:12px;font-weight:800;text-decoration:none;
}
.mm-site-home-link:hover{border-color:#f0d28f;background:#40311d}
.home-page>header .nav{direction:rtl}
.home-page>header .brand{margin-inline-end:auto}
.home-page>header .nav-actions{margin-inline-start:auto}
.home-page>header .brand-welcome{direction:rtl}
@media(max-width:640px){
 .mm-site-header-inner{width:calc(100% - 28px);min-height:70px}
 .mm-site-brand{gap:10px}
 .mm-site-brand img{width:43px;height:43px;flex-basis:43px}
 .mm-site-brand strong{font-size:17px}
 .mm-site-home-link{min-height:38px;padding-inline:12px}
 .home-page>header .nav{direction:rtl}
}
