@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css");
@font-face{font-family:Vazirmatn;src:local("Vazirmatn"),local("Vazir"),local("Vazir FD");font-display:swap}
:root{
  --brand-red:#C62828;--brand-green:#178A55;
  --bg:#f3f5f1;--shell:rgba(247,249,246,.76);--card:#fff;--card-soft:#fbfcfa;
  --ink:#202723;--muted:#737e77;--line:#e3e9e4;--line-strong:#d8e0da;
  --shadow:0 10px 28px rgba(31,44,36,.075);--shadow-hover:0 16px 34px rgba(31,44,36,.11);
  --dock:rgba(255,255,255,.94)
}
html[data-theme="dark"]{
  --bg:var(--dark-bg,#202924);--shell:rgba(33,43,38,.84);--card:#2a352f;--card-soft:#26312b;
  --ink:#f2f5f3;--muted:#adb8b1;--line:#3a4740;--line-strong:#46554d;
  --shadow:0 12px 30px rgba(9,14,11,.18);--shadow-hover:0 18px 40px rgba(9,14,11,.24);
  --dock:rgba(42,53,47,.96);color-scheme:dark
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;overflow-x:hidden;background-color:var(--bg);background-image:url('restaurant-pattern-light.svg');background-size:280px 280px;background-repeat:repeat;color:var(--ink);font-family:Vazirmatn,Vazir,Tahoma,Arial,sans-serif;font-size:14px;line-height:1.75;transition:background-color .25s ease,color .25s ease}
html[data-theme="dark"] body{background-image:url('restaurant-pattern-dark.svg')}
body.sheet-open{overflow:hidden}
a{text-decoration:none;color:inherit}img{display:block;max-width:100%}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}
.ambient{position:fixed;z-index:-1;filter:blur(105px);border-radius:50%;pointer-events:none;opacity:.055}.ambient-red{width:300px;height:300px;background:var(--brand-red);right:-150px;top:120px;animation:blobFloat 14s ease-in-out infinite}.ambient-green{width:280px;height:280px;background:var(--brand-green);left:-150px;top:54vh;animation:blobFloat 16s ease-in-out infinite reverse}html[data-theme="dark"] .ambient{opacity:.045}
.site-shell{width:min(100%,1180px);min-height:100vh;margin:auto;background:var(--shell);border-inline:1px solid rgba(255,255,255,.5);box-shadow:0 0 42px rgba(31,44,36,.045);transition:background .25s ease,border-color .25s ease;overflow:hidden}.compact{max-width:900px}.has-bottom-dock{padding-bottom:78px}html[data-theme="dark"] .site-shell{border-color:rgba(255,255,255,.035)}
.glass-bar,.glass-panel,.glass-card,.glass-footer,.glass-callbar,.glass-input{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);-webkit-backdrop-filter:none;backdrop-filter:none}

/* Header */
.site-header{height:164px;padding:15px 16px 16px;display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:30;border-radius:0 0 24px 24px;background:color-mix(in srgb,var(--card) 94%,transparent);border:0;border-bottom:1px solid var(--line);box-shadow:0 7px 22px rgba(30,42,35,.055)}
.brand{position:relative;z-index:2;min-width:0}.brand-centered{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px}.brand img{width:102px;height:102px;object-fit:contain;animation:brandFloat 5s ease-in-out infinite}.brand-mark{width:96px;height:96px;border-radius:28px;background:linear-gradient(145deg,var(--brand-red),#a51f1f);color:#fff;display:grid;place-items:center;font-size:45px;font-weight:900;box-shadow:0 11px 25px rgba(198,40,40,.18);animation:brandFloat 5s ease-in-out infinite}.brand-copy{display:flex;flex-direction:column;align-items:center;line-height:1.3}.brand-copy strong{font-size:18px;color:var(--ink)}.brand-copy small{font-size:10px;color:var(--muted);max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.back-btn{position:absolute;right:14px;top:50%;transform:translateY(-50%);z-index:3;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:27px;color:var(--brand-red);background:var(--card-soft);border:1px solid var(--line);box-shadow:none}

/* Hero */
.banner-wrap{padding:14px 14px 4px}.banner-glass{padding:5px;border:1px solid var(--line);border-radius:22px;background:var(--card);box-shadow:var(--shadow);position:relative;overflow:hidden}.banner-glass::after{content:"";position:absolute;top:0;bottom:0;left:-50%;width:30%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.24),transparent);transform:skewX(-18deg);animation:shineSlide 8.5s ease-in-out infinite;pointer-events:none}html[data-theme="dark"] .banner-glass::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent)}.main-banner{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:17px;background:var(--card-soft)}

/* Category landing */
.category-section{padding:20px 14px 34px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:15px}.section-head-plain{padding:7px 3px 4px;background:transparent;border:0;box-shadow:none}.section-head span{font-size:10px;color:var(--brand-green);font-weight:900}.section-head h1{font-size:23px;margin:2px 0 0;line-height:1.4;color:var(--ink)}.section-head p{display:none;margin:0;color:var(--muted);font-size:11px;max-width:420px}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-card{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;position:relative;box-shadow:var(--shadow);animation:riseIn .48s ease both;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.category-card:active{transform:scale(.988)}.category-card:nth-child(2){animation-delay:.035s}.category-card:nth-child(3){animation-delay:.07s}.category-card:nth-child(4){animation-delay:.105s}.category-card:nth-child(5){animation-delay:.14s}.category-card:nth-child(6){animation-delay:.175s}.category-media{aspect-ratio:1.14;overflow:hidden;background:var(--card-soft);position:relative}.category-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.category-fallback{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,color-mix(in srgb,var(--brand-red) 7%,var(--card-soft)),var(--card-soft) 54%,color-mix(in srgb,var(--brand-green) 7%,var(--card-soft)))}.category-fallback svg{width:54px;height:54px;fill:none;stroke:var(--brand-red);stroke-width:2}.category-content{padding:11px 12px 12px;display:flex;justify-content:space-between;align-items:flex-end;gap:8px;border-top:3px solid var(--brand-green);background:var(--card)}.category-content h2{font-size:14px;margin:0;color:var(--ink)}.category-content span,.category-content p{display:block;font-size:8.5px;color:var(--muted);margin:2px 0 0;line-height:1.55;max-width:125px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-content b{font-size:9px;color:var(--brand-red);white-space:nowrap}.category-content i{font-style:normal;font-size:18px;line-height:.5}

/* Product category page */
.category-top .brand img{width:90px;height:90px}.category-top .brand-mark{width:86px;height:86px;font-size:40px}.category-title{margin:15px 14px 10px;border-radius:17px;padding:12px 13px;display:flex;align-items:center;gap:12px;background:var(--card);border:1px solid var(--line);border-bottom:3px solid var(--brand-green);box-shadow:var(--shadow);animation:riseIn .42s ease both}.category-title>span{width:58px;height:58px;border-radius:15px;background:var(--card-soft);display:grid;place-items:center;overflow:hidden;flex:0 0 auto}.category-title>span img{width:100%;height:100%;object-fit:cover}.category-title svg{width:31px;height:31px;fill:none;stroke:var(--brand-red);stroke-width:2}.category-title h1{font-size:19px;margin:0;color:var(--ink)}.category-title p{margin:2px 0 0;color:var(--green,var(--brand-green));font-size:9px;font-weight:700}.menu-tools{padding:4px 14px 12px}.search-box{height:48px;border-radius:14px;display:flex;align-items:center;padding:0 13px;gap:9px;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}.search-box svg{width:19px;height:19px;fill:none;stroke:var(--brand-green);stroke-width:2}.search-box input{border:0;outline:0;background:transparent;width:100%;color:var(--ink)}.search-box input::placeholder{color:var(--muted)}
.food-list{padding:0 14px 30px;display:grid;gap:11px}.food-card{display:grid;grid-template-columns:132px 1fr;border:1px solid var(--line);border-bottom:3px solid var(--brand-green);border-radius:18px;overflow:hidden;min-height:142px;background:var(--card);box-shadow:var(--shadow);animation:riseIn .48s ease both;transition:transform .22s ease,box-shadow .22s ease}.food-card.unavailable{opacity:.56}.food-card:nth-child(2){animation-delay:.03s}.food-card:nth-child(3){animation-delay:.06s}.food-card:nth-child(4){animation-delay:.09s}.food-card:nth-child(5){animation-delay:.12s}.food-card:nth-child(6){animation-delay:.15s}.food-thumb{position:relative;background:var(--card-soft);min-height:100%;border-left:1px solid var(--line)}.food-thumb>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.food-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(145deg,color-mix(in srgb,var(--brand-red) 6%,var(--card-soft)),var(--card-soft),color-mix(in srgb,var(--brand-green) 6%,var(--card-soft)))}.food-placeholder svg{width:48px;height:48px;fill:none;stroke:var(--brand-red);stroke-width:2}.food-badge{position:absolute;top:9px;right:9px;background:var(--brand-red);color:#fff;padding:4px 7px;border-radius:7px;font-size:8px;z-index:2}.food-body{padding:14px 13px 12px;min-width:0;background:var(--card)}.food-title-row{display:flex;align-items:center;gap:7px}.food-title-row h2{font-size:14.5px;margin:0;line-height:1.45;color:var(--ink)}.sold{font-size:8px;background:color-mix(in srgb,var(--muted) 12%,transparent);color:var(--muted);padding:2px 6px;border-radius:7px}.food-body p{font-size:10px;color:var(--muted);margin:6px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.price-row{display:flex;align-items:center;gap:8px}.price-row strong{color:var(--brand-green);font-size:14px}.price-row strong small{font-size:8px}.price-row del{font-size:9.5px;color:var(--muted)}.empty-box{margin:0 14px 20px;padding:17px;border:1px solid var(--line);border-radius:14px;text-align:center;color:var(--muted);background:var(--card);box-shadow:var(--shadow)}

/* Home footer (fully configurable from admin) */
.site-footer{margin:0 14px 18px;display:flex;justify-content:space-between;align-items:center;gap:15px;animation:riseIn .55s ease both}.site-footer strong{font-size:13px;color:var(--footer-text,var(--ink))}.site-footer p{font-size:9px;color:var(--footer-muted,var(--muted));margin:4px 0 0}.site-footer>a{color:var(--footer-link,var(--brand-red));font-size:10px;font-weight:900}.site-footer.footer-layout-column{flex-direction:column;align-items:stretch}.site-footer.footer-layout-column>a{align-self:flex-start}.site-footer.footer-align-center{text-align:center;justify-content:center}.site-footer.footer-align-center>div{width:100%;text-align:center}.site-footer.footer-align-center.footer-layout-row{flex-direction:column;align-items:center}.site-footer.footer-align-center>a{align-self:center}.site-footer.footer-align-left{text-align:left;direction:ltr}.site-footer.footer-align-left>div{direction:rtl;text-align:left}.site-footer.footer-align-left.footer-layout-row{flex-direction:row-reverse}.site-footer.footer-align-left.footer-layout-column>a{align-self:flex-end}.site-footer.footer-align-right{text-align:right}html[data-theme="dark"] .site-footer.footer-follow-theme{--footer-text:#f2f5f3!important;--footer-muted:#adb8b1!important;--footer-link:var(--brand-red)!important;background:#2a352f!important;border-color:#3a4740!important;color:#f2f5f3!important}

/* Compact bottom actions */
.bottom-dock{position:fixed;z-index:60;left:50%;transform:translate3d(-50%,0,0);bottom:max(5px,env(safe-area-inset-bottom));width:min(calc(100% - 20px),352px);border-radius:17px;padding:5px;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:var(--dock);border:1px solid var(--line);box-shadow:0 10px 30px rgba(26,38,31,.13);animation:dockIn .5s ease both;transition:transform .32s cubic-bezier(.22,.61,.36,1),opacity .24s ease,filter .24s ease,box-shadow .2s ease;will-change:transform,opacity,filter;filter:blur(0);touch-action:manipulation}.bottom-dock.is-scroll-hidden{transform:translate3d(-50%,calc(100% + 22px),0);opacity:0;pointer-events:none}.bottom-dock.is-scroll-visible{transform:translate3d(-50%,0,0);opacity:1}.bottom-dock.no-contact{grid-template-columns:1fr 1fr;width:min(calc(100% - 26px),260px)}.dock-btn{border:0;background:transparent;border-radius:12px;min-height:45px;padding:4px 5px;display:flex;align-items:center;justify-content:center;gap:5px;color:var(--muted);font-weight:800;font-size:8px}.dock-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.dock-btn.primary-dock{background:color-mix(in srgb,var(--brand-green) 10%,var(--card));color:var(--brand-green);border:1px solid color-mix(in srgb,var(--brand-green) 22%,var(--line));box-shadow:none}.lang-glyph{font-size:11px;font-weight:950;color:var(--brand-red);min-width:22px}.icon-sun{display:none}html[data-theme="dark"] .icon-moon{display:none}html[data-theme="dark"] .icon-sun{display:block}.contact-trigger svg{stroke:currentColor}

/* Contact chooser */
.contact-sheet[hidden]{display:none}.contact-sheet{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-end;justify-content:center}.sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(19,25,22,.32);opacity:0;transition:opacity .2s ease;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.sheet-card{position:relative;width:min(100%,520px);background:var(--card);border:1px solid var(--line);border-radius:23px 23px 0 0;padding:9px 13px max(16px,env(safe-area-inset-bottom));box-shadow:0 -16px 52px rgba(14,21,17,.18);transform:translateY(105%);transition:transform .23s cubic-bezier(.2,.8,.2,1)}.contact-sheet.is-open .sheet-backdrop{opacity:1}.contact-sheet.is-open .sheet-card{transform:translateY(0)}.sheet-handle{width:38px;height:4px;border-radius:999px;background:var(--line-strong);margin:0 auto 9px}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 10px}.sheet-head small{font-size:8px;color:var(--brand-green);font-weight:900}.sheet-head h2{font-size:16px;margin:2px 0 0}.sheet-close{width:34px;height:34px;border:1px solid var(--line);border-radius:11px;background:var(--card-soft);font-size:21px;color:var(--muted)}.contact-list{display:grid;gap:7px}.contact-option{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;padding:8px 9px;border:1px solid var(--line);border-radius:14px;background:var(--card-soft)}.contact-icon{width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--brand-green) 10%,var(--card));display:grid;place-items:center;color:var(--brand-green)}.contact-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.contact-option strong{display:block;font-size:10px}.contact-option small{display:block;font-size:9px;color:var(--muted);margin-top:1px}.contact-option>b{font-size:20px;color:var(--brand-red)}

@keyframes riseIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes dockIn{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes brandFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes shineSlide{0%{left:-50%}45%,100%{left:145%}}
@keyframes blobFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(10px,-8px,0)}}

@media(min-width:700px){.bottom-dock,.bottom-dock.is-scroll-hidden,.bottom-dock.is-scroll-visible{transform:translate3d(-50%,0,0)!important;opacity:1!important;pointer-events:auto!important}body{padding:20px;background-size:320px 320px}.site-shell{border-radius:28px}.site-header{height:176px;border-radius:0 0 26px 26px}.brand img{width:112px;height:112px}.brand-mark{width:106px;height:106px;font-size:49px}.brand-copy strong{font-size:20px}.brand-copy small{font-size:11px}.banner-wrap{padding:22px 24px 5px}.banner-glass{padding:6px;border-radius:25px}.main-banner{aspect-ratio:21/8;border-radius:19px}.category-section{padding:28px 24px 38px}.section-head p{display:block}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.category-content h2{font-size:16px}.food-list{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:24px}.menu-tools{padding-inline:24px}.category-title{margin-inline:24px}.food-card{grid-template-columns:152px 1fr;min-height:152px}.site-footer{margin-inline:24px}.bottom-dock{bottom:18px}.sheet-card{border-radius:23px;margin-bottom:12px}}
@media(min-width:1000px){.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-card:hover,.food-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:var(--line-strong)}.category-card:hover .category-media img{transform:scale(1.035)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* v9 UX polish: clearer wallpaper without returning to the busy v7 look */
:root{
  --shell:rgba(247,249,246,.66);
  --card:rgba(255,255,255,.92);
  --card-soft:rgba(249,251,249,.86);
  --dock:rgba(255,255,255,.95);
  --shadow:0 10px 26px rgba(31,44,36,.07);
  --shadow-hover:0 17px 38px rgba(31,44,36,.115)
}
html[data-theme="dark"]{
  --shell:rgba(33,44,38,.82);
  --card:rgba(43,56,49,.93);
  --card-soft:rgba(38,50,44,.91);
  --dock:rgba(43,56,49,.96)
}
body{background-size:260px 260px;background-position:0 0;background-attachment:fixed}
.site-shell{box-shadow:0 0 42px rgba(31,44,36,.055);-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px)}
.glass-bar,.glass-panel,.glass-card,.glass-footer,.glass-callbar,.glass-input{backdrop-filter:blur(7px) saturate(1.03);-webkit-backdrop-filter:blur(7px) saturate(1.03)}

.site-header{box-shadow:0 8px 24px rgba(30,42,35,.07)}
.banner-glass{box-shadow:0 12px 30px rgba(31,44,36,.08)}
.section-head h1{letter-spacing:-.25px}.section-head span{letter-spacing:-.1px}
.category-grid{gap:13px}.category-card{border-radius:19px;box-shadow:0 8px 23px rgba(31,44,36,.065)}
.category-card::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 1px 0 rgba(255,255,255,.55);pointer-events:none}
.category-content{min-height:65px;border-top-width:3px}.category-content h2{font-weight:900}.category-content b{display:inline-flex;align-items:center;gap:3px;padding:5px 7px;border-radius:8px;background:color-mix(in srgb,var(--brand-red) 7%,transparent)}
.category-card:active,.food-card:active{transform:scale(.985)}
.category-card:focus-visible,.dock-btn:focus-visible,.contact-option:focus-visible,.back-btn:focus-visible{outline:3px solid color-mix(in srgb,var(--brand-green) 24%,transparent);outline-offset:2px}

.category-title{box-shadow:0 9px 24px rgba(31,44,36,.07)}
.search-box{min-height:50px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.search-box:focus-within{border-color:color-mix(in srgb,var(--brand-green) 42%,var(--line));box-shadow:0 0 0 4px color-mix(in srgb,var(--brand-green) 8%,transparent),var(--shadow)}
.food-list{gap:12px}.food-card{box-shadow:0 8px 23px rgba(31,44,36,.065)}.food-title-row h2{font-weight:900}.price-row strong{font-size:14px;font-weight:950}

.bottom-dock{box-shadow:0 12px 34px rgba(26,38,31,.15);padding:4px;width:min(calc(100% - 28px),338px)}
.dock-btn{min-height:43px;border-radius:11px;transition:background .18s ease,color .18s ease,transform .14s ease}.dock-btn:active{transform:scale(.965)}.dock-btn:hover{background:color-mix(in srgb,var(--ink) 4%,transparent)}
.dock-btn.primary-dock{background:color-mix(in srgb,var(--brand-green) 9%,var(--card));border-color:color-mix(in srgb,var(--brand-green) 20%,var(--line))}
.contact-option{min-height:58px;transition:transform .16s ease,border-color .16s ease,background .16s ease}.contact-option:active{transform:scale(.985)}.contact-option:hover{border-color:color-mix(in srgb,var(--brand-green) 30%,var(--line));background:color-mix(in srgb,var(--brand-green) 4%,var(--card-soft))}
.sheet-card{padding-top:10px}.sheet-head{padding-bottom:12px}
html[data-theme="dark"] .category-card::after{box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
html[data-theme="dark"] .category-content b{background:color-mix(in srgb,var(--brand-red) 12%,transparent)}

@media(max-width:420px){
  .site-header{height:154px}.brand img{width:94px;height:94px}.brand-mark{width:90px;height:90px}.brand-copy strong{font-size:17px}
  .banner-wrap{padding-inline:11px}.category-section{padding-inline:11px}.category-grid{gap:10px}
  .category-content{padding:10px}.category-content h2{font-size:13px}.category-content b{font-size:8px;padding:4px 6px}
  .food-list,.menu-tools{padding-inline:11px}.category-title{margin-inline:11px}
}
@media(min-width:700px){body{background-size:300px 300px}}


/* v10: stronger mobile wallpaper + automatic discount UI */
body{background-size:235px 235px}
.site-shell{background:rgba(247,249,246,.58)}
html[data-theme="dark"] .site-shell{background:rgba(33,44,38,.76)}
.smart-discount-card{border-color:color-mix(in srgb,var(--brand-red) 24%,var(--line))}
.smart-discount-card .category-content{border-top-color:var(--brand-red)}
.smart-discount-card .category-content b{background:color-mix(in srgb,var(--brand-red) 10%,transparent);color:var(--brand-red)}

.food-badge{box-shadow:0 5px 14px rgba(198,40,40,.16);font-weight:900}
@media(max-width:699px){
  body{background-size:215px 215px;background-position:8px 8px}
  .site-shell{background:rgba(247,249,246,.52)}
  html[data-theme="dark"] .site-shell{background:rgba(33,44,38,.72)}
  .category-section{padding-bottom:38px}
}
@media(min-width:700px){body{background-size:285px 285px}}

/* v11 social follow box */
.social-follow-card{margin:0 14px 18px;padding:16px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--card) 92%,transparent);box-shadow:var(--shadow);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:14px}
.social-follow-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--brand-green) 0%,color-mix(in srgb,var(--brand-green) 50%,var(--brand-red) 50%) 50%,var(--brand-red) 100%)}
.social-follow-copy{min-width:0}.social-kicker{display:block;color:var(--brand-green);font-size:8px;font-weight:950;margin-bottom:2px}.social-follow-copy h2{margin:0;font-size:15px;line-height:1.5;color:var(--ink)}.social-follow-copy p{margin:3px 0 0;font-size:9px;color:var(--muted)}
.social-links{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.social-link{min-height:39px;padding:7px 10px;border:1px solid var(--line);border-radius:11px;background:var(--card-soft);display:inline-flex;align-items:center;gap:6px;font-size:8.5px;font-weight:900;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.social-link:hover{transform:translateY(-2px);border-color:var(--line-strong);box-shadow:var(--shadow)}.social-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.social-link .fill-dot{fill:currentColor;stroke:none}.social-instagram{color:#b22d54}.social-telegram{color:#2279a8}.social-whatsapp{color:var(--brand-green)}.social-aparat{color:var(--brand-red)}
html[data-theme="dark"] .social-follow-card{background:color-mix(in srgb,var(--card) 90%,transparent)}html[data-theme="dark"] .social-link{background:var(--card-soft)}
@media(max-width:620px){.social-follow-card{margin-inline:12px;padding:14px;align-items:flex-start;flex-direction:column}.social-links{justify-content:flex-start;width:100%}.social-link{flex:1 1 calc(50% - 4px);justify-content:center;min-width:0}.social-follow-copy h2{font-size:14px}}

/* v12 social brands */
.social-link{min-width:92px;min-height:44px;padding:7px 11px;border-radius:13px;position:relative;overflow:hidden}.social-link::after{content:"";position:absolute;inset:auto 8px 0;height:2px;border-radius:999px;background:currentColor;opacity:.22}.social-link svg{width:20px;height:20px;flex:0 0 auto}.social-brand-icon{width:26px;height:26px;object-fit:contain;border-radius:8px;flex:0 0 auto;box-shadow:0 4px 10px rgba(20,30,24,.08)}.social-rubika{color:#5b64e8;background:color-mix(in srgb,#6671ed 7%,var(--card-soft))}.social-eitaa{color:#d97716;background:color-mix(in srgb,#f28c28 8%,var(--card-soft))}.social-rubika::after{background:linear-gradient(90deg,#7b61ff,#3b82f6,#21c7a8);opacity:.5}.social-eitaa::after{background:#f28c28;opacity:.55}
.social-baleh{color:#16c6a1;background:color-mix(in srgb,#16c6a1 9%,var(--card-soft))}.social-baleh::after{background:#16c6a1;opacity:.55}
@media(max-width:620px){.social-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.social-link{width:100%;min-height:48px;padding:8px 10px}.social-brand-icon{width:28px;height:28px}}

/* v14: larger product imagery + exact social PNG assets */
.social-brand-icon{width:30px;height:30px;object-fit:contain;object-position:center;background:transparent!important;box-shadow:none!important;border-radius:9px}
@media(max-width:390px){.food-card{grid-template-columns:124px 1fr;min-height:136px}.food-body{padding:12px 11px 10px}.food-title-row h2{font-size:13.5px}.food-placeholder svg{width:44px;height:44px}}
@media(min-width:391px) and (max-width:699px){.food-card{grid-template-columns:136px 1fr;min-height:146px}}


/* v17: robust desktop dock + desktop interaction layer */
.bottom-dock{
  isolation:isolate;
  pointer-events:auto;
  user-select:none;
  -webkit-user-select:none;
}
.bottom-dock .dock-btn{
  position:relative;
  z-index:2;
  pointer-events:auto;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.contact-sheet{isolation:isolate}

@media(min-width:700px){
  .has-bottom-dock{padding-bottom:96px}
  .bottom-dock,
  .bottom-dock.is-scroll-hidden,
  .bottom-dock.is-scroll-visible{
    z-index:9990!important;
    left:50%!important;
    bottom:22px!important;
    width:min(430px,calc(100vw - 48px))!important;
    min-height:62px;
    padding:6px!important;
    gap:6px;
    border-radius:20px;
    transform:translate3d(-50%,0,0)!important;
    opacity:1!important;
    pointer-events:auto!important;
    animation:none!important;
    will-change:auto;
    box-shadow:0 16px 46px rgba(24,34,28,.17),0 0 0 1px rgba(255,255,255,.35) inset;
  }
  .bottom-dock.no-contact{width:min(330px,calc(100vw - 48px))!important}
  .dock-btn{
    min-height:50px;
    padding:7px 12px;
    gap:8px;
    border:1px solid transparent;
    border-radius:14px;
    font-size:10px;
    font-weight:900;
    transition:background .16s ease,border-color .16s ease,color .16s ease,transform .14s ease,box-shadow .16s ease;
  }
  .dock-btn svg{width:20px;height:20px}
  .lang-glyph{font-size:12px;min-width:25px}
  .dock-btn:hover{
    background:color-mix(in srgb,var(--brand-green) 7%,var(--card));
    border-color:color-mix(in srgb,var(--brand-green) 18%,var(--line));
    color:var(--ink);
    transform:translateY(-1px);
  }
  .dock-btn:active{transform:translateY(0) scale(.98)}
  .dock-btn.primary-dock{
    background:color-mix(in srgb,var(--brand-green) 11%,var(--card));
    border-color:color-mix(in srgb,var(--brand-green) 28%,var(--line));
    color:var(--brand-green);
  }
  .dock-btn.primary-dock:hover{
    background:color-mix(in srgb,var(--brand-green) 16%,var(--card));
    box-shadow:0 7px 18px color-mix(in srgb,var(--brand-green) 12%,transparent);
  }
  .contact-sheet{
    z-index:10000;
    align-items:center;
    padding:28px;
  }
  .sheet-backdrop{background:rgba(18,25,21,.38);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
  .sheet-card{
    width:min(520px,calc(100vw - 56px));
    border-radius:24px;
    margin:0;
    padding:13px 16px 18px;
    transform:translateY(12px) scale(.97);
    opacity:0;
    transition:transform .2s cubic-bezier(.2,.8,.2,1),opacity .18s ease;
    box-shadow:0 28px 80px rgba(13,20,16,.24);
  }
  .contact-sheet.is-open .sheet-card{transform:translateY(0) scale(1);opacity:1}
  .sheet-handle{display:none}
  .sheet-head{padding:3px 2px 14px}
  .sheet-head h2{font-size:18px}
  .contact-list{gap:9px}
  .contact-option{min-height:64px;padding:10px 12px;border-radius:16px}
  .contact-option strong{font-size:11px}.contact-option small{font-size:10px}
}

@media(min-width:1200px){
  .bottom-dock,
  .bottom-dock.is-scroll-hidden,
  .bottom-dock.is-scroll-visible{width:450px!important}
  .bottom-dock.no-contact{width:350px!important}
}


/* v20: deliberately slower, staged dock hide/show motion */
.bottom-dock.is-scroll-hidden{
  transform:translate3d(-50%,calc(100% + 34px),0)!important;
  opacity:0!important;
  filter:blur(3px);
  pointer-events:none!important;
  transition:
    transform 1.02s cubic-bezier(.33,1,.68,1),
    opacity .78s cubic-bezier(.4,0,.2,1) .10s,
    filter .66s ease .08s,
    box-shadow .55s ease!important;
}
.bottom-dock.is-scroll-visible{
  transform:translate3d(-50%,0,0)!important;
  opacity:1!important;
  filter:blur(0);
  pointer-events:auto!important;
  transition:
    transform .52s cubic-bezier(.16,1,.3,1),
    opacity .42s ease-out,
    filter .36s ease-out,
    box-shadow .32s ease!important;
}
@media(min-width:700px){
  .bottom-dock.is-scroll-hidden{
    transform:translate3d(-50%,calc(100% + 52px),0)!important;
    opacity:0!important;
    filter:blur(2.6px);
    pointer-events:none!important;
  }
  .bottom-dock.is-scroll-visible{
    transform:translate3d(-50%,0,0)!important;
    opacity:1!important;
    filter:blur(0);
    pointer-events:auto!important;
  }
}


/* v22: taller dock + faster graceful fade + slider-ready hero */
.has-bottom-dock{padding-bottom:96px}
.bottom-dock{
  min-height:70px;
  width:min(calc(100% - 18px),370px);
  padding:7px;
  gap:6px;
  border-radius:20px;
}
.bottom-dock.no-contact{width:min(calc(100% - 18px),290px)}
.bottom-dock .dock-btn{min-height:56px;border-radius:14px;font-size:9px;gap:7px;padding:7px 8px}
.bottom-dock .dock-btn svg{width:20px;height:20px}
.bottom-dock.is-scroll-hidden{
  transform:translate3d(-50%,calc(100% + 40px),0)!important;
  opacity:0!important;
  filter:blur(2.2px);
  pointer-events:none!important;
  transition:
    transform .76s cubic-bezier(.32,.72,.2,1),
    opacity .56s cubic-bezier(.4,0,.2,1) .05s,
    filter .48s ease .04s,
    box-shadow .38s ease!important;
}
.bottom-dock.is-scroll-visible{
  transform:translate3d(-50%,0,0)!important;
  opacity:1!important;
  filter:blur(0);
  pointer-events:auto!important;
  transition:
    transform .42s cubic-bezier(.16,1,.3,1),
    opacity .34s ease-out,
    filter .28s ease-out,
    box-shadow .28s ease!important;
}

.hero-banner{position:relative;isolation:isolate}
.hero-track{position:relative;width:100%;overflow:hidden;border-radius:17px;touch-action:pan-y pinch-zoom}
.hero-slide{margin:0;position:absolute;inset:0;opacity:0;visibility:hidden;transform:translateX(2.2%);transition:opacity .48s ease,transform .58s cubic-bezier(.2,.8,.2,1),visibility 0s linear .58s;pointer-events:none}
.hero-slide.is-active{position:relative;opacity:1;visibility:visible;transform:translateX(0);transition:opacity .48s ease,transform .58s cubic-bezier(.2,.8,.2,1);pointer-events:auto}
.hero-slide .main-banner{width:100%;height:100%;margin:0}
.hero-nav{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:34px;height:42px;border:1px solid rgba(255,255,255,.62);border-radius:12px;background:rgba(24,34,28,.34);color:#fff;display:grid;place-items:center;font:700 25px/1 Tahoma,sans-serif;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .18s ease,transform .18s ease}
.hero-nav:hover{background:rgba(24,34,28,.5)}.hero-nav:active{transform:translateY(-50%) scale(.94)}
.hero-prev{right:12px}.hero-next{left:12px}
.hero-dots{position:absolute;z-index:5;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:6px;padding:5px 7px;border-radius:999px;background:rgba(18,26,21,.24);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hero-dot{width:6px;height:6px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.55);transition:width .25s ease,background .25s ease;cursor:pointer}.hero-dot.is-active{width:18px;background:#fff}
.hero-banner.is-single .hero-track{pointer-events:none}

@media(max-width:699px){
  .site-shell.has-bottom-dock{padding-bottom:102px}
  .bottom-dock{bottom:max(6px,env(safe-area-inset-bottom))}
  .hero-nav{width:31px;height:38px;font-size:22px;opacity:.9}.hero-prev{right:8px}.hero-next{left:8px}.hero-dots{bottom:8px}
}
@media(min-width:700px){
  .has-bottom-dock{padding-bottom:112px}
  .bottom-dock{min-height:76px!important;padding:8px!important;gap:7px!important;width:min(460px,calc(100vw - 48px))!important}
  .bottom-dock.no-contact{width:min(360px,calc(100vw - 48px))!important}
  .bottom-dock .dock-btn{min-height:58px!important;padding:8px 13px!important;font-size:10px!important}
  .bottom-dock.is-scroll-hidden{transform:translate3d(-50%,calc(100% + 62px),0)!important}
  .hero-track{border-radius:19px}
}
@media(min-width:1200px){.bottom-dock{width:470px!important}.bottom-dock.no-contact{width:370px!important}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none!important}.hero-nav,.hero-dot{transition:none!important}}

/* v24: top category rail, category sizing presets, linked hero and 4-control dock */
.hero-slide-link{display:block;width:100%;height:100%;cursor:pointer}.hero-slide-link:focus-visible{outline:3px solid color-mix(in srgb,var(--brand-green) 55%,#fff);outline-offset:-4px;border-radius:17px}.hero-banner.is-single .hero-track{pointer-events:auto}

.quick-category-nav{margin:12px 14px 4px;padding:0;position:relative}.quick-category-scroll{display:flex;gap:8px;overflow-x:auto;padding:3px 1px 8px;scrollbar-width:none;overscroll-behavior-inline:contain;scroll-snap-type:x proximity}.quick-category-scroll::-webkit-scrollbar{display:none}.quick-category-item{flex:0 0 auto;min-height:52px;padding:7px 11px 7px 8px;border:1px solid var(--line);border-radius:15px;background:var(--card);box-shadow:var(--shadow);display:inline-flex;align-items:center;gap:8px;color:var(--ink);font-size:10px;font-weight:900;scroll-snap-align:start;transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease}.quick-category-item:active{transform:scale(.975)}.quick-category-item.is-active{border-color:color-mix(in srgb,var(--brand-green) 55%,var(--line));background:color-mix(in srgb,var(--brand-green) 8%,var(--card));color:var(--brand-green)}.quick-category-icon{width:36px;height:36px;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:color-mix(in srgb,var(--brand-green) 6%,var(--card-soft));border:1px solid var(--line);flex:0 0 auto}.quick-category-icon img{width:100%;height:100%;object-fit:cover}.quick-category-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}.quick-category-item>b{min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:var(--brand-red);color:#fff;font-size:7px}.discount-nav-item{border-color:color-mix(in srgb,var(--brand-red) 25%,var(--line));color:var(--brand-red)}.discount-nav-item .quick-category-icon{background:color-mix(in srgb,var(--brand-red) 7%,var(--card-soft))}.category-page-nav{margin-top:12px;margin-bottom:5px}
html[data-theme="dark"] .quick-category-item{background:var(--card);border-color:var(--line)}html[data-theme="dark"] .quick-category-item.is-active{background:color-mix(in srgb,var(--brand-green) 13%,var(--card))}

/* Three size presets. Card visual language stays unchanged; only footprint changes. */
.category-size-compact .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.category-size-compact .category-card{border-radius:16px}.category-size-compact .category-media{aspect-ratio:.78}.category-size-compact .category-content{padding:8px 8px 9px;min-height:78px;flex-direction:column;align-items:stretch;gap:4px}.category-size-compact .category-content h2{font-size:11px;line-height:1.45}.category-size-compact .category-content span,.category-size-compact .category-content p{font-size:7px;max-width:100%}.category-size-compact .category-content b{font-size:7.5px;align-self:flex-start}.category-size-compact .category-fallback svg{width:42px;height:42px}
.category-size-default .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-size-large .category-grid{grid-template-columns:1fr;gap:14px}.category-size-large .category-media{aspect-ratio:1.45}.category-size-large .category-content{padding:14px 15px}.category-size-large .category-content h2{font-size:16px}

/* Dynamic dock: separators like segmented mobile controls, preserving the existing icons. */
.bottom-dock{grid-template-columns:repeat(var(--dock-count,3),minmax(0,1fr))!important;width:min(calc(100% - 16px),420px)!important;gap:0!important;padding:7px!important}.bottom-dock .dock-btn{position:relative;min-width:0!important;padding-inline:9px!important}.bottom-dock .dock-btn+ .dock-btn::before{content:"";position:absolute;inset-inline-start:0;top:13px;bottom:13px;width:1px;background:var(--line-strong);opacity:.8;pointer-events:none}.bottom-dock .dock-btn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.location-trigger{color:var(--brand-red)}.location-trigger svg,.map-icon svg{stroke:currentColor}.map-option .map-icon{background:color-mix(in srgb,var(--brand-red) 7%,var(--card));color:var(--brand-red)}

@media(max-width:370px){.bottom-dock{width:calc(100% - 10px)!important;padding-inline:4px!important}.bottom-dock .dock-btn{padding-inline:5px!important;font-size:8px!important}.bottom-dock .dock-btn svg{width:18px!important;height:18px!important}.category-size-compact .category-grid{gap:6px}.category-size-compact .category-content{padding-inline:6px}}
@media(min-width:700px){.quick-category-nav{margin-inline:24px}.quick-category-item{min-height:58px;padding:8px 14px 8px 9px;font-size:11px}.quick-category-icon{width:40px;height:40px}.category-size-compact .category-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.category-size-default .category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.category-size-large .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.category-size-compact .category-content h2{font-size:12px}.bottom-dock{width:min(520px,calc(100vw - 48px))!important;gap:0!important}.bottom-dock .dock-btn{font-size:10px!important}.bottom-dock.is-scroll-hidden{transform:translate3d(-50%,calc(100% + 62px),0)!important;opacity:0!important;pointer-events:none!important}.bottom-dock.is-scroll-visible{transform:translate3d(-50%,0,0)!important;opacity:1!important;pointer-events:auto!important}.location-sheet .sheet-card{max-width:480px}}
@media(min-width:1000px){.category-size-compact .category-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.category-size-default .category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-size-large .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.map-option.is-disabled{opacity:.55;cursor:not-allowed}.map-option.is-disabled>b{opacity:.25}.map-option.is-disabled:hover{transform:none;border-color:var(--line);background:var(--card-soft)}


/* v25: homepage fit + direct text location */
.location-link{color:var(--brand-red);font-weight:950;text-decoration:none}.location-link.dock-text-only{letter-spacing:0}.location-link.dock-text-only span{font-size:9px;font-weight:950;overflow:visible;text-overflow:clip}.location-link.dock-text-only::after{content:"";position:absolute;inset:auto 22% 9px;height:2px;border-radius:99px;background:linear-gradient(90deg,var(--brand-green),var(--brand-red));opacity:.45}
@media(max-width:699px){
  .home-category-section{padding:12px 10px 25px}.home-category-section .section-head{margin-bottom:9px;padding-inline:2px}.home-category-section .section-head h1{font-size:21px}.home-category-section .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.home-category-section .category-card{border-radius:14px}.home-category-section .category-media{aspect-ratio:1.35!important}.home-category-section .category-content{min-height:55px!important;padding:7px 7px 8px!important;gap:3px!important}.home-category-section .category-content h2{font-size:10px!important;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-category-section .category-content span,.home-category-section .category-content p{font-size:6.5px!important;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-category-section .category-content b{font-size:7px!important;padding:3px 5px!important}.home-category-section .category-content i{font-size:14px}.home-category-section .category-fallback svg{width:36px!important;height:36px!important}
  .bottom-dock .location-link{order:99}
}
@media(max-width:370px){.home-category-section{padding-inline:7px}.home-category-section .category-grid{gap:5px!important}.home-category-section .category-content{padding-inline:5px!important}.home-category-section .category-content h2{font-size:9px!important}.home-category-section .category-content b{font-size:6.5px!important}}
@media(min-width:700px){.bottom-dock .location-link{order:99}.home-category-section.category-size-compact .category-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}}


/* v26: mobile-first proportional home layout + dock order/readability */
.bottom-dock{direction:ltr}
.bottom-dock .dock-btn{direction:rtl}
.bottom-dock .theme-toggle svg{stroke:var(--brand-red)!important;color:var(--brand-red)!important}
.location-link.dock-text-only::after{display:none!important}
.location-link.dock-text-only{color:var(--ink);font-weight:800;line-height:1.45;text-align:right;justify-content:flex-start!important}
.location-link.dock-text-only span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:7.4px!important;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:34px}
.bottom-dock.dock-count-4{grid-template-columns:1.05fr .72fr .72fr 1.55fr!important}
.bottom-dock .contact-trigger{order:1}.bottom-dock .language-dock{order:2}.bottom-dock .theme-toggle{order:3}.bottom-dock .location-link{order:4}
.bottom-dock .dock-btn+ .dock-btn::before{top:12px;bottom:12px}

@media(max-width:699px){
  /* Give vertical space back to the actual menu instead of crushing its cards. */
  .home-page .site-header{height:118px!important;padding:8px 14px 9px!important;border-radius:0 0 20px 20px}
  .home-page .brand-centered{gap:3px}
  .home-page .brand img{width:70px!important;height:70px!important}
  .home-page .brand-mark{width:68px!important;height:68px!important;border-radius:21px!important;font-size:33px!important}
  .home-page .brand-copy strong{font-size:15px!important}
  .home-page .brand-copy small{font-size:8px!important;max-width:230px}
  .home-page .banner-wrap{padding:8px 10px 2px!important}
  .home-page .banner-glass{padding:4px!important;border-radius:18px!important}
  .home-page .hero-track{border-radius:14px!important}
  .home-page .main-banner{aspect-ratio:2.12!important;border-radius:14px!important;object-fit:cover}
  .home-page .hero-dots{bottom:5px!important;padding:4px 6px!important}
  .home-page .hero-nav{width:28px!important;height:34px!important;font-size:19px!important}

  .home-category-section{padding:9px 10px 22px!important}
  .home-category-section .section-head{margin-bottom:8px!important;padding:2px 2px 3px!important}
  .home-category-section .section-head span{font-size:9px!important}
  .home-category-section .section-head h1{font-size:20px!important}

  /* Compact remains the small preset, but uses 2 broad rectangular columns rather than 3 squeezed tiles. */
  .home-category-section.category-size-compact .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .home-category-section.category-size-compact .category-card{border-radius:15px!important}
  .home-category-section.category-size-compact .category-media{aspect-ratio:2.05!important}
  .home-category-section.category-size-compact .category-content{min-height:50px!important;padding:7px 9px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
  .home-category-section.category-size-compact .category-content>div{min-width:0;text-align:right}
  .home-category-section.category-size-compact .category-content h2{font-size:11.5px!important;line-height:1.35!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .home-category-section.category-size-compact .category-content span,.home-category-section.category-size-compact .category-content p{font-size:7px!important;line-height:1.35!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .home-category-section.category-size-compact .category-content b{font-size:7.5px!important;padding:4px 6px!important;align-self:center!important;flex:0 0 auto;margin:0!important;order:2}
  .home-category-section.category-size-compact .category-content i{font-size:14px!important}
  .home-category-section.category-size-compact .category-fallback svg{width:39px!important;height:39px!important}

  .bottom-dock{width:calc(100% - 14px)!important;max-width:430px!important;padding:6px!important}
  .bottom-dock .dock-btn{padding-inline:7px!important;min-height:56px!important}
  .bottom-dock.dock-count-4 .contact-trigger span{font-size:8px}
}

@media(max-width:370px){
  .home-page .site-header{height:110px!important}.home-page .brand img{width:64px!important;height:64px!important}.home-page .brand-mark{width:62px!important;height:62px!important}
  .home-page .main-banner{aspect-ratio:2.2!important}
  .home-category-section.category-size-compact .category-grid{gap:6px!important}
  .home-category-section.category-size-compact .category-content{padding-inline:7px!important}
  .home-category-section.category-size-compact .category-content h2{font-size:10.5px!important}
  .location-link.dock-text-only span{font-size:6.8px!important}
}

@media(min-width:700px){
  .bottom-dock.dock-count-4{grid-template-columns:1fr .72fr .72fr 1.5fr!important}
  .location-link.dock-text-only span{font-size:8.5px!important;max-height:38px}
}


/* v27: three-up mobile categories, strict two-line location and no sticky tap state */
.bottom-dock .dock-btn,
.bottom-dock .dock-btn *{-webkit-tap-highlight-color:transparent}
.bottom-dock .dock-btn{user-select:none;-webkit-user-select:none}
.location-link.dock-text-only{align-items:center!important;justify-content:flex-start!important;padding-inline:8px!important}
.location-link .location-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:1px!important;width:100%;min-width:0;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-align:right!important;line-height:1.35!important}
.location-link .location-copy b,.location-link .location-copy small{display:block!important;width:100%;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:var(--ink);font-weight:850}
.location-link .location-copy b{font-size:8px!important}
.location-link .location-copy small{font-size:7.5px!important;color:var(--muted);font-weight:750}

@media(max-width:699px){
  /* Keep all six categories visible as 3 x 2, but make every card shorter and landscape-like. */
  .home-category-section.category-size-compact .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .home-category-section.category-size-compact .category-card{border-radius:14px!important;min-width:0!important}
  .home-category-section.category-size-compact .category-media{aspect-ratio:2.32!important;min-height:0!important}
  .home-category-section.category-size-compact .category-content{min-height:43px!important;padding:5px 6px 6px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:4px!important}
  .home-category-section.category-size-compact .category-content>div{min-width:0!important;flex:1 1 auto!important}
  .home-category-section.category-size-compact .category-content h2{font-size:9.2px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .home-category-section.category-size-compact .category-content span,.home-category-section.category-size-compact .category-content p{font-size:6.2px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .home-category-section.category-size-compact .category-content b{font-size:6.7px!important;padding:3px 5px!important;min-width:0!important;flex:0 0 auto!important;align-self:center!important;margin:0!important}
  .home-category-section.category-size-compact .category-content i{font-size:12px!important}
  .home-category-section.category-size-compact .category-fallback svg{width:31px!important;height:31px!important}
  .bottom-dock.dock-count-4{grid-template-columns:1.06fr .68fr .68fr 1.58fr!important}
  .location-link .location-copy b{font-size:7.8px!important}
  .location-link .location-copy small{font-size:7.2px!important}
}

@media(max-width:370px){
  .home-category-section.category-size-compact .category-grid{gap:5px!important}
  .home-category-section.category-size-compact .category-media{aspect-ratio:2.45!important}
  .home-category-section.category-size-compact .category-content{padding-inline:5px!important;min-height:41px!important}
  .home-category-section.category-size-compact .category-content h2{font-size:8.5px!important}
  .home-category-section.category-size-compact .category-content b{font-size:6.2px!important;padding:3px 4px!important}
  .location-link .location-copy b{font-size:7.1px!important}
  .location-link .location-copy small{font-size:6.7px!important}
}

/* Touch browsers can keep :hover after a tap; neutralize it on coarse/no-hover devices. */
@media(hover:none), (pointer:coarse){
  .bottom-dock .dock-btn:hover:not(.primary-dock){background:transparent!important;color:var(--muted)!important;transform:none!important}
  .bottom-dock .theme-toggle:hover svg{stroke:var(--brand-red)!important;color:var(--brand-red)!important}
  .bottom-dock .language-dock:hover .lang-glyph{color:var(--brand-red)!important}
  .bottom-dock .location-link:hover{background:transparent!important;color:var(--ink)!important}
  .bottom-dock .dock-btn:active{transform:scale(.97)!important}
}


/* v28: portrait three-column category cards + compact readable location dock */
@media(max-width:699px){
  /* Three columns stay, but cards are intentionally portrait: narrow width, taller vertical body. */
  .home-category-section.category-size-compact .category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    align-items:stretch!important;
  }
  .home-category-section.category-size-compact .category-card{
    border-radius:15px!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .home-category-section.category-size-compact .category-media{
    aspect-ratio:.82!important;
    min-height:0!important;
    flex:0 0 auto!important;
  }
  .home-category-section.category-size-compact .category-content{
    min-height:58px!important;
    padding:7px 7px 8px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:space-between!important;
    gap:5px!important;
  }
  .home-category-section.category-size-compact .category-content>div{
    width:100%!important;
    min-width:0!important;
    text-align:right!important;
  }
  .home-category-section.category-size-compact .category-content h2{
    font-size:10.2px!important;
    line-height:1.45!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .home-category-section.category-size-compact .category-content span,
  .home-category-section.category-size-compact .category-content p{
    font-size:6.8px!important;
    line-height:1.35!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    max-width:100%!important;
  }
  .home-category-section.category-size-compact .category-content b{
    align-self:flex-start!important;
    margin:0!important;
    padding:4px 6px!important;
    font-size:7px!important;
    line-height:1!important;
    min-height:22px!important;
    order:initial!important;
  }
  .home-category-section.category-size-compact .category-content i{font-size:13px!important}
  .home-category-section.category-size-compact .category-fallback svg{width:38px!important;height:38px!important}

  /* Dock: less dead space, identical typography on both address lines. */
  .bottom-dock{
    width:calc(100% - 14px)!important;
    max-width:410px!important;
    padding:5px!important;
    gap:3px!important;
  }
  .bottom-dock.dock-count-4{
    grid-template-columns:1.16fr .61fr .61fr 1.22fr!important;
  }
  .bottom-dock .dock-btn{
    min-height:54px!important;
    padding:5px 5px!important;
  }
  .location-link.dock-text-only{
    padding:4px 4px!important;
    justify-content:center!important;
    align-items:center!important;
    min-width:0!important;
  }
  .location-link .location-copy{
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    gap:1px!important;
    text-align:center!important;
    line-height:1.45!important;
    font-family:Vazirmatn,Vazir,Tahoma,Arial,sans-serif!important;
  }
  .location-link .location-line{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    color:var(--ink)!important;
    font-family:inherit!important;
    font-size:8.6px!important;
    font-weight:800!important;
    line-height:1.45!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

@media(max-width:370px){
  .home-category-section.category-size-compact .category-grid{gap:6px!important}
  .home-category-section.category-size-compact .category-media{aspect-ratio:.78!important}
  .home-category-section.category-size-compact .category-content{min-height:55px!important;padding:6px!important}
  .home-category-section.category-size-compact .category-content h2{font-size:9.4px!important}
  .home-category-section.category-size-compact .category-content b{font-size:6.5px!important;padding:4px 5px!important}
  .bottom-dock.dock-count-4{grid-template-columns:1.12fr .58fr .58fr 1.26fr!important}
  .location-link .location-line{font-size:8px!important}
}

@media(min-width:700px){
  .location-link .location-copy{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:1px!important;
    font-family:Vazirmatn,Vazir,Tahoma,Arial,sans-serif!important;
  }
  .location-link .location-line{
    display:block!important;
    color:var(--ink)!important;
    font-family:inherit!important;
    font-size:9px!important;
    font-weight:800!important;
    line-height:1.45!important;
    white-space:nowrap!important;
  }
}


/* v29: configurable location typography without changing dock geometry + view button fixed left */
.location-link .location-copy{
  font-family:var(--location-font-family,Vazirmatn,Vazir,Tahoma,Arial,sans-serif)!important;
}
.location-link .location-line{
  font-family:inherit!important;
  font-size:var(--location-font-size,9px)!important;
  line-height:1.38!important;
}
.bottom-dock .location-link{
  min-height:58px!important;
  height:58px!important;
  overflow:hidden!important;
}
.bottom-dock{
  min-height:68px!important;
}
/* Keep category action on visual left in RTL on every viewport. */
.category-content b{
  margin-right:auto!important;
  margin-left:0!important;
}
@media(max-width:699px){
  .home-category-section.category-size-compact .category-content b{
    align-self:flex-end!important;
    margin-right:0!important;
    margin-left:auto!important;
  }
  .bottom-dock .location-link{height:58px!important;min-height:58px!important}
}
@media(min-width:700px){
  .category-content b{margin-right:auto!important;margin-left:0!important}
}


/* v30: readable 12px location + physical-left category action */
.location-link .location-line{
  font-size:var(--location-font-size,12px)!important;
  line-height:1.35!important;
  font-weight:800!important;
}
/* Keep the location control geometry stable even with the larger text. */
.bottom-dock .location-link{
  height:62px!important;
  min-height:62px!important;
  padding-block:5px!important;
}
.bottom-dock{min-height:72px!important;}
.location-link .location-copy{gap:1px!important;}

/* Force the action to the physical LEFT, independent of RTL flex semantics. */
.home-category-section .category-content{
  position:relative!important;
  padding-bottom:36px!important;
}
.home-category-section .category-content b{
  position:absolute!important;
  left:7px!important;
  right:auto!important;
  bottom:7px!important;
  margin:0!important;
  align-self:auto!important;
}
@media(max-width:370px){
  .location-link .location-line{font-size:var(--location-font-size,12px)!important;}
  .home-category-section .category-content b{left:5px!important;bottom:6px!important;}
}
@media(min-width:700px){
  .home-category-section .category-content b{left:10px!important;right:auto!important;bottom:9px!important;}
}


/* v31: roomier location cell, smaller contact label, stable segmented dock */
.bottom-dock{
  width:min(calc(100% - 10px),460px)!important;
  min-height:78px!important;
  padding:6px!important;
  align-items:stretch!important;
}
.bottom-dock.dock-count-4{
  grid-template-columns:.86fr .56fr .56fr 2.05fr!important;
}
.bottom-dock .dock-btn{
  min-height:64px!important;
  height:64px!important;
  padding:5px 7px!important;
}
.bottom-dock .contact-trigger{
  min-width:0!important;
  gap:4px!important;
  padding-inline:5px!important;
  border-radius:12px!important;
}
.bottom-dock .contact-trigger span{
  font-size:7.2px!important;
  line-height:1.25!important;
  max-width:58px!important;
  white-space:normal!important;
  text-align:center!important;
}
.bottom-dock .contact-trigger svg{
  width:17px!important;
  height:17px!important;
  flex:0 0 auto!important;
}
/* Explicit physical separator between contact and the rest. */
.bottom-dock .contact-trigger::after{
  content:"";
  position:absolute;
  right:-2px;
  top:12px;
  bottom:12px;
  width:1px;
  background:var(--line-strong);
  opacity:.9;
  pointer-events:none;
}
.bottom-dock .location-link{
  width:100%!important;
  min-width:0!important;
  height:64px!important;
  min-height:64px!important;
  padding:5px 9px!important;
  overflow:visible!important;
  justify-content:stretch!important;
  align-items:center!important;
  background:transparent!important;
}
.bottom-dock .location-link .location-copy{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:2px!important;
  text-align:right!important;
  overflow:visible!important;
}
.bottom-dock .location-link .location-line{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  font-size:var(--location-font-size,12px)!important;
  font-family:var(--location-font-family,Vazirmatn,Vazir,Tahoma,Arial,sans-serif)!important;
  font-weight:800!important;
  line-height:1.45!important;
  letter-spacing:0!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-align:right!important;
  color:var(--ink)!important;
}
.bottom-dock .location-no-link{
  cursor:default!important;
  user-select:text!important;
}
.bottom-dock .location-no-link:active{transform:none!important}

@media(max-width:370px){
  .bottom-dock{width:calc(100% - 6px)!important;padding:5px!important}
  .bottom-dock.dock-count-4{grid-template-columns:.82fr .52fr .52fr 2.14fr!important}
  .bottom-dock .dock-btn{padding-inline:4px!important}
  .bottom-dock .contact-trigger span{font-size:6.8px!important;max-width:50px!important}
  .bottom-dock .location-link{padding-inline:6px!important}
}
@media(min-width:700px){
  .bottom-dock{width:min(620px,calc(100vw - 48px))!important;min-height:82px!important}
  .bottom-dock.dock-count-4{grid-template-columns:.9fr .58fr .58fr 2.2fr!important}
  .bottom-dock .dock-btn{min-height:68px!important;height:68px!important}
  .bottom-dock .location-link{height:68px!important;min-height:68px!important;padding-inline:12px!important}
  .bottom-dock .contact-trigger span{font-size:8px!important;max-width:72px!important}
}

/* v31.1: adaptive column balance whether contact exists or not */
.bottom-dock.has-location.has-contact.dock-count-4{grid-template-columns:.86fr .56fr .56fr 2.05fr!important}
.bottom-dock.has-location:not(.has-contact).dock-count-3{grid-template-columns:.58fr .58fr 2.2fr!important}
.bottom-dock.has-location.dock-count-2{grid-template-columns:.72fr 2.28fr!important}
.bottom-dock.has-location.dock-count-1{grid-template-columns:1fr!important}
@media(max-width:370px){
  .bottom-dock.has-location.has-contact.dock-count-4{grid-template-columns:.82fr .52fr .52fr 2.14fr!important}
  .bottom-dock.has-location:not(.has-contact).dock-count-3{grid-template-columns:.54fr .54fr 2.28fr!important}
}
@media(min-width:700px){
  .bottom-dock.has-location.has-contact.dock-count-4{grid-template-columns:.9fr .58fr .58fr 2.2fr!important}
  .bottom-dock.has-location:not(.has-contact).dock-count-3{grid-template-columns:.62fr .62fr 2.36fr!important}
}

/* v32: final balanced dock proportions */
.bottom-dock{
  width:min(calc(100% - 10px),470px)!important;
  min-height:74px!important;
  padding:5px 6px!important;
  gap:0!important;
  align-items:center!important;
}
.bottom-dock.has-location.has-contact.dock-count-4{
  grid-template-columns:.92fr .70fr .70fr 1.58fr!important;
}
.bottom-dock .dock-btn{
  min-height:62px!important;
  height:62px!important;
  padding:4px 6px!important;
  border-radius:12px!important;
  margin:0!important;
}

/* Give theme/language enough visual weight and keep them aligned. */
.bottom-dock .language-dock,
.bottom-dock .theme-toggle{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  min-width:0!important;
}
.bottom-dock .language-dock .lang-glyph{
  font-size:13px!important;
  line-height:1!important;
  min-width:0!important;
}
.bottom-dock .language-dock>span:last-child,
.bottom-dock .theme-toggle>span{
  font-size:8px!important;
  line-height:1.15!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.bottom-dock .theme-toggle svg{
  width:19px!important;
  height:19px!important;
  flex:0 0 auto!important;
}

/* Contact stays compact, with a real separator on its physical right side. */
.bottom-dock .contact-trigger{
  position:relative!important;
  gap:5px!important;
  padding-inline:6px!important;
}
.bottom-dock .contact-trigger span{
  font-size:7.4px!important;
  line-height:1.2!important;
  max-width:54px!important;
}
.bottom-dock .contact-trigger svg{
  width:18px!important;
  height:18px!important;
}
.bottom-dock .contact-trigger::after{
  content:""!important;
  position:absolute!important;
  right:-1px!important;
  top:10px!important;
  bottom:10px!important;
  width:1px!important;
  background:var(--line-strong)!important;
  opacity:1!important;
  pointer-events:none!important;
}

/* Location uses its whole cell instead of leaving a large dead area. */
.bottom-dock .location-link{
  min-width:0!important;
  width:100%!important;
  height:62px!important;
  min-height:62px!important;
  padding:4px 6px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.bottom-dock .location-link .location-copy{
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
  text-align:center!important;
  direction:rtl!important;
  overflow:hidden!important;
}
.bottom-dock .location-link .location-line{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:var(--location-font-size,12px)!important;
  font-family:var(--location-font-family,Vazirmatn,Vazir,Tahoma,Arial,sans-serif)!important;
  font-weight:850!important;
  line-height:1.32!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
  color:var(--ink)!important;
}

@media(max-width:370px){
  .bottom-dock{width:calc(100% - 6px)!important;padding:4px 5px!important}
  .bottom-dock.has-location.has-contact.dock-count-4{
    grid-template-columns:.88fr .68fr .68fr 1.70fr!important;
  }
  .bottom-dock .dock-btn{height:60px!important;min-height:60px!important;padding-inline:4px!important}
  .bottom-dock .location-link{height:60px!important;min-height:60px!important;padding-inline:4px!important}
  .bottom-dock .location-link .location-line{font-size:min(var(--location-font-size,12px),11.5px)!important}
  .bottom-dock .language-dock .lang-glyph{font-size:12px!important}
  .bottom-dock .language-dock>span:last-child,.bottom-dock .theme-toggle>span{font-size:7.5px!important}
  .bottom-dock .contact-trigger span{font-size:7px!important;max-width:48px!important}
}

@media(min-width:700px){
  .bottom-dock{width:min(600px,calc(100vw - 48px))!important;min-height:78px!important;padding:6px 7px!important}
  .bottom-dock.has-location.has-contact.dock-count-4{
    grid-template-columns:1fr .76fr .76fr 1.72fr!important;
  }
  .bottom-dock .dock-btn{height:66px!important;min-height:66px!important}
  .bottom-dock .location-link{height:66px!important;min-height:66px!important;padding-inline:8px!important}
  .bottom-dock .location-link .location-line{font-size:var(--location-font-size,12px)!important}
  .bottom-dock .language-dock .lang-glyph{font-size:14px!important}
  .bottom-dock .language-dock>span:last-child,.bottom-dock .theme-toggle>span{font-size:8.5px!important}
  .bottom-dock .contact-trigger span{font-size:8px!important;max-width:64px!important}
}

/* v33 final spacing + compact balanced dock */
/* Home: remove the dead strip between hero and category heading. */
@media(max-width:699px){
  .home-page .banner-wrap{
    padding-bottom:0!important;
    margin-bottom:0!important;
  }
  .home-category-section{
    padding-top:3px!important;
    margin-top:0!important;
  }
  .home-category-section .section-head{
    margin-top:0!important;
    margin-bottom:7px!important;
    padding-top:0!important;
  }
}

/* Rebalance the four dock zones: contact, language, theme, location. */
.bottom-dock.has-location.has-contact.dock-count-4,
.bottom-dock.dock-count-4{
  grid-template-columns:.95fr .62fr .62fr 1.42fr!important;
}

/* Location gets enough room for two readable lines, but no oversized empty cell. */
.bottom-dock .location-link{
  padding-inline:7px!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.bottom-dock .location-link .location-copy{
  width:100%!important;
  max-width:100%!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:1px!important;
}
.bottom-dock .location-link .location-line{
  width:100%!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:1.35!important;
}

/* One definite separator exactly between Contact and Language. */
.bottom-dock .contact-trigger::after{display:none!important}
.bottom-dock .language-dock::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:-3px!important;
  right:auto!important;
  top:11px!important;
  bottom:11px!important;
  width:1px!important;
  background:var(--line-strong)!important;
  opacity:.95!important;
  pointer-events:none!important;
}
/* Avoid a duplicate generic separator in the same spot. */
.bottom-dock .language-dock + .dock-btn::before,
.bottom-dock .theme-toggle + .dock-btn::before{
  opacity:.72!important;
}

@media(max-width:370px){
  .bottom-dock.has-location.has-contact.dock-count-4,
  .bottom-dock.dock-count-4{
    grid-template-columns:.92fr .58fr .58fr 1.34fr!important;
  }
  .bottom-dock .location-link{padding-inline:5px!important}
}

@media(min-width:700px){
  .bottom-dock.has-location.has-contact.dock-count-4,
  .bottom-dock.dock-count-4{
    grid-template-columns:1fr .68fr .68fr 1.5fr!important;
  }
  .bottom-dock .location-link{padding-inline:10px!important}
}


/* v34: clean physical dock separators + product-page scroll-to-top */
/* Disable all legacy auto separators so every line is positioned physically. */
.bottom-dock .dock-btn + .dock-btn::before,
.bottom-dock .language-dock::before,
.bottom-dock .theme-toggle::before,
.bottom-dock .location-link::before{
  content:none!important;
  display:none!important;
}

/* Contact is intentionally framed by a separator on BOTH physical sides. */
.bottom-dock .contact-trigger::before,
.bottom-dock .contact-trigger::after,
.bottom-dock .language-dock::after,
.bottom-dock .theme-toggle::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:11px!important;
  bottom:11px!important;
  width:1px!important;
  background:var(--line-strong)!important;
  opacity:.9!important;
  pointer-events:none!important;
  z-index:3!important;
}
.bottom-dock .contact-trigger::before{left:-1px!important;right:auto!important}
.bottom-dock .contact-trigger::after{right:-1px!important;left:auto!important}
/* Physical right edges create Language|Theme and Theme|Location divisions. */
.bottom-dock .language-dock::after,
.bottom-dock .theme-toggle::after{right:-1px!important;left:auto!important}

.scroll-top-fab{
  position:fixed;
  z-index:59;
  right:14px;
  bottom:max(13px,env(safe-area-inset-bottom));
  width:48px;
  height:48px;
  padding:0;
  border:1px solid color-mix(in srgb,var(--brand-red) 34%,var(--line));
  border-radius:16px;
  background:color-mix(in srgb,var(--card) 94%,transparent);
  color:var(--brand-red);
  box-shadow:0 10px 28px rgba(24,32,40,.14);
  -webkit-backdrop-filter:blur(16px) saturate(1.12);
  backdrop-filter:blur(16px) saturate(1.12);
  display:grid;
  place-items:center;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(16px) scale(.94);
  transition:opacity .28s ease,transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s linear .32s;
}
.scroll-top-fab svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.scroll-top-fab.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
  transition:opacity .28s ease,transform .32s cubic-bezier(.2,.8,.2,1),visibility 0s;
}
.scroll-top-fab:active{transform:scale(.95)}
.scroll-top-fab:focus-visible{outline:3px solid color-mix(in srgb,var(--brand-red) 25%,transparent);outline-offset:2px}
html[data-theme="dark"] .scroll-top-fab{background:color-mix(in srgb,var(--card) 92%,transparent);box-shadow:0 12px 28px rgba(0,0,0,.24)}
@media(min-width:700px){
  .scroll-top-fab{right:24px;bottom:18px;width:50px;height:50px;border-radius:17px}
}
@media(prefers-reduced-motion:reduce){
  .scroll-top-fab{transition:none!important}
}


/* v35: home dock is always visible; category dock owns auto-hide + reliable scroll-top FAB */
.home-page .bottom-dock,
.home-page .bottom-dock.is-scroll-hidden,
.home-page .bottom-dock.is-scroll-visible{
  transform:translate3d(-50%,0,0)!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  filter:blur(0)!important;
}

/* Override old desktop rules so product/category pages can hide the dock on every viewport. */
.category-page .bottom-dock.is-scroll-hidden{
  transform:translate3d(-50%,calc(100% + 72px),0)!important;
  opacity:0!important;
  visibility:visible!important;
  pointer-events:none!important;
  filter:blur(2px)!important;
}
.category-page .bottom-dock.is-scroll-visible,
.category-page .bottom-dock:not(.is-scroll-hidden){
  transform:translate3d(-50%,0,0)!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  filter:blur(0)!important;
}

.category-page .scroll-top-fab{
  z-index:85!important;
  right:max(14px,env(safe-area-inset-right))!important;
  bottom:max(14px,env(safe-area-inset-bottom))!important;
  width:50px!important;
  height:50px!important;
  border-radius:16px!important;
  background:var(--card)!important;
  color:var(--brand-red)!important;
  border:1px solid color-mix(in srgb,var(--brand-red) 38%,var(--line))!important;
  box-shadow:0 12px 30px rgba(24,32,40,.18)!important;
}
.category-page .scroll-top-fab.is-visible{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translate3d(0,0,0) scale(1)!important;
}
@media(min-width:700px){
  .category-page .scroll-top-fab{right:24px!important;bottom:22px!important;width:54px!important;height:54px!important}
}
