
.language-bar{display:flex;justify-content:center;padding:12px 16px;position:relative;z-index:5}.language-switch{--language-index:1;position:relative;display:grid;grid-template-columns:1fr 1fr;width:280px;max-width:100%;padding:4px;border-radius:99px;background:#e7e4df;color:#25221e;box-shadow:inset 0 1px 3px #00000012;isolation:isolate;touch-action:pan-y}.language-thumb{position:absolute;left:4px;top:4px;bottom:4px;width:calc(50% - 4px);border-radius:99px;background:#fff;box-shadow:0 2px 8px #0002;transform:translateX(calc(var(--language-index)*100%));transition:transform .28s cubic-bezier(.22,.8,.25,1);pointer-events:none;z-index:-1}.language-switch button{border:0;background:transparent!important;box-shadow:none;color:#736d64;font:500 15px/1.2 Arial,sans-serif;min-height:40px;padding:10px 12px;border-radius:99px;cursor:pointer;white-space:nowrap}.language-switch button[aria-checked=true]{color:#24211e;font-weight:700}.language-switch button:focus-visible{outline:2px solid #91622f;outline-offset:1px}.home .language-bar{position:absolute;top:76px;left:0;right:0;padding:0 16px}.home .language-switch{background:#e8dfd1e8;backdrop-filter:blur(10px)}html[lang=uz] .floor-options strong{font-size:14px}html[lang=uz] .sweetness-switch button{font-size:13px}@media(prefers-reduced-motion:reduce){.language-thumb{transition:none}}

/* Homepage liquid-glass language control. */
.home .language-switch{background:linear-gradient(135deg,#ffffff45,#ffffff12 48%,#ffffff30);border:1px solid #ffffff80;backdrop-filter:blur(18px) saturate(155%);-webkit-backdrop-filter:blur(18px) saturate(155%);box-shadow:inset 0 1px 0 #ffffffa6,inset 0 -1px 0 #ffffff35,0 8px 28px #24160c24;color:#261d16}
.home .language-thumb{background:linear-gradient(145deg,#ffffffa8,#ffffff40 48%,#ffffff70);border:1px solid #ffffffb0;box-shadow:inset 0 1px 2px #fffffff2,inset 0 -1px 2px #ffffff80,0 3px 12px #2e1c1626;backdrop-filter:blur(7px) saturate(140%);-webkit-backdrop-filter:blur(7px) saturate(140%);transition:transform .48s cubic-bezier(.22,1,.36,1)}
.home .language-switch button{color:#30261f;text-shadow:0 1px 3px #ffffff75}
.home .language-switch button[aria-checked=true]{color:#1d1712}
.home .language-switch button:focus-visible{outline:2px solid #38291c;outline-offset:1px}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.home .language-switch{background:#e8dfd1e8}.home .language-thumb{background:#fff9}}
@media(prefers-reduced-motion:reduce){.home .language-thumb{transition:none}}

/* Editorial grocery-receipt cart: photographic surround, coral display type, thermal-paper details. */
body.receipt-page{background:linear-gradient(135deg,#2d1a167a,#ec8aa12e 48%,#233d2f6b),repeating-linear-gradient(93deg,#ffffff08 0 1px,transparent 1px 3px),url('/home-collage-four-v1.webp') center/cover no-repeat}
.receipt-page>header,.receipt-page>.notice{display:none}
.receipt-page main{width:min(100%,760px);padding:42px 18px 96px}
.receipt-page footer{color:#fff;text-shadow:0 2px 8px #000;margin-top:24px}
.receipt-page .flow-back{position:relative;z-index:3;margin:0 auto 24px 0;background:#fff4;color:#fff;border-color:#fff8;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.receiptflow{max-width:570px;padding-top:0}
.receipt{width:min(100%,520px);margin:0 auto 34px;padding:54px 44px 34px;transform:none;background:#f4f0e6;background-image:linear-gradient(90deg,#00000005,transparent 15%,#ffffff70 47%,transparent 78%,#00000005),repeating-linear-gradient(0deg,#00000003 0 1px,transparent 1px 3px);border:0;box-shadow:0 24px 55px #160e0a70;color:#181714}
.receipt:before,.receipt:after{height:16px;background:linear-gradient(135deg,#f4f0e6 25%,transparent 25%) -8px 0/16px 16px,linear-gradient(225deg,#f4f0e6 25%,transparent 25%) -8px 0/16px 16px}
.receipt:before{top:-16px}.receipt:after{bottom:-16px}
.receipt-tape{display:none}
.receiptbrand{display:flex;flex-direction:column;align-items:center;margin:0 0 12px;color:#f16050;font-family:Impact,'Arial Black',Arial,sans-serif;font-size:clamp(64px,15vw,102px);font-weight:900;line-height:.72;letter-spacing:-4px;text-align:center;transform:none;text-shadow:1px 1px 0 #bd4a3e22}
.receiptbrand span{display:block}
.receiptshop{margin:10px 18px 34px 0;color:#426a9a;font-family:'Comic Sans MS','Bradley Hand',cursive;font-size:19px;font-weight:700;font-style:italic;line-height:1.05;letter-spacing:-.3px;text-align:right;transform:rotate(-5deg)}
.receiptrule{margin:21px 0;border-top:1px solid #37342e}
.receiptitem{padding:16px 0 18px 36px;border-bottom:1px solid #c9c3b7;font-family:'Courier New',monospace}
.receipt-number{top:14px;color:#b9b2a6;font-family:'Courier New',monospace;font-size:17px;font-weight:700;letter-spacing:0}
.receiptitem>.row:first-of-type>strong:first-child{font-size:17px;font-weight:500;letter-spacing:.3px}
.receiptamount{font-family:'Courier New',monospace;font-size:18px;font-weight:700;letter-spacing:0}
.receiptunit{color:#565149;font-size:12px}
.ingredients{margin:9px 0 14px;color:#605b52;font-size:13px}
.receipt .stepper button{background:#e7e0d4;border-color:#aba397;color:#211f1b}
.receipt .remove{color:#87584f;font:12px 'Courier New',monospace}
.receipttotal>strong:first-child{font-family:Impact,'Arial Black',sans-serif;font-size:34px;font-style:normal;text-transform:uppercase;letter-spacing:-1px}
.receipttotal>strong:last-child{font-family:'Courier New',monospace;font-size:27px;font-weight:700;letter-spacing:-1px}
.receipt-add-actions{grid-template-columns:1fr 1fr;gap:8px;margin:24px 0 14px}
.receipt-add-actions button{min-height:48px;border-radius:3px;font-size:13px}
.receipt-add-actions .primary{background:#f16050;border-color:#f16050;color:#fff}
.receipt-add-actions .secondary{background:transparent;border:1px solid #2c2924;color:#2c2924}
.receipt-promo{margin:16px 0 6px;padding:16px 0;border:0;border-top:1px solid #c9c3b7;border-bottom:1px solid #c9c3b7;background:transparent;color:#211f1b}
.receipt-promo label{font:700 14px 'Courier New',monospace;text-transform:uppercase}
.receipt-promo .promo-controls{margin-top:10px}
.receipt-promo input{background:#fffaf1;border:1px solid #a8a095;border-radius:2px;color:#211f1b;font-family:'Courier New',monospace}
.receipt-promo .secondary{background:#282520;border-color:#282520;border-radius:2px;color:#fff}
.receipt-barcode{width:220px;height:58px;margin-top:28px}
.receipt-signature{font-size:12px;letter-spacing:4px}
.receiptcaption{color:#716b61;font-family:'Courier New',monospace;font-size:11px;text-transform:uppercase}
.receiptactions{width:min(100%,520px);margin:auto}
.receiptactions .primary{min-height:58px;border:1px solid #fff8;background:#181614e8;box-shadow:0 10px 26px #0005;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
@media(max-width:760px){.receipt-page main{padding:28px 14px 90px}.receipt-page .flow-back{margin-left:4px}.receipt{padding:43px 20px 27px}.receiptbrand{font-size:clamp(62px,20vw,88px)}.receiptshop{margin-right:8px;font-size:17px}.receiptitem{padding-left:29px}.receiptitem>.row:first-of-type>strong:first-child{font-size:15px}.receiptamount{font-size:16px}.receipt-add-actions{grid-template-columns:1fr}.receipt-barcode{width:190px}.receipttotal>strong:first-child{font-size:29px}.receipttotal>strong:last-child{font-size:23px}}

/* Keep the receipt-page collage locked to the viewport on every mobile browser. */
body.receipt-page{position:relative;isolation:isolate;background:#4e3426!important}
/* Stable large viewport prevents cover resizing when mobile browser bars collapse. */
body.receipt-page::before{content:"";position:fixed;top:0;left:0;right:0;height:100vh;height:100lvh;z-index:0;pointer-events:none;background:linear-gradient(135deg,#2d1a167a,#ec8aa12e 48%,#233d2f6b),repeating-linear-gradient(93deg,#ffffff08 0 1px,transparent 1px 3px),url('/home-collage-four-v1.webp') center/cover no-repeat;transform:translate3d(0,0,0);backface-visibility:hidden;transition:none;animation:none}
body.receipt-page>main,body.receipt-page>footer,body.receipt-page>.basketfloat,body.receipt-page>.toast{position:relative;z-index:1}
.receiptbrand{letter-spacing:2.5px}
@media(max-width:760px){.receiptbrand{letter-spacing:1.5px}}

/* Coffee constructor: make the section name the primary page heading. */
#builder>.eyebrow{
  margin:0 0 7px;
  color:#2949dd;
  font-size:clamp(36px,5vw,54px);
  font-weight:900;
  line-height:.95;
  letter-spacing:-1.7px;
  text-transform:uppercase;
}
#builder>h1{
  margin:0 0 18px;
  font-size:clamp(24px,3vw,34px);
  line-height:1.06;
  letter-spacing:-.8px;
}
@media(max-width:760px){
  #builder>.eyebrow{margin-bottom:6px;font-size:clamp(28px,8.2vw,34px);line-height:.97;letter-spacing:-1px}
  #builder>h1{margin:0 0 13px;font-size:22px;line-height:1.08}
}

/* Cart title stays on one line at every supported width. */
.receiptbrand{white-space:nowrap}
.receiptbrand span{display:inline}
@media(max-width:760px){.receiptbrand{font-size:clamp(25px,8.7vw,39px);letter-spacing:.5px}}

/* Homepage categories: one consistent dark treatment with a light press state. */
.home .pill{
  color:#fff;
  background:#24211e;
  border-color:#24211e;
  box-shadow:0 6px 28px #20130d55;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.home .pill:hover{background:#3b3530;border-color:#3b3530}
.home .pill:active{
  color:#24211e;
  background:#f3ece0;
  border-color:#fff;
  transform:scale(.97);
}
