:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Noto,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bg: #ffffff;--text: #14161a;--muted: #6b7280;--border: #e6e9ef;--card: #ffffff;--shadow: 0 8px 24px rgba(20, 22, 26, .08);--red: #f54251;--red-weak: rgba(228, 37, 44, .12);--radius: 5px;--radius-sm: 12px;--bottom-bar-h: 82px}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}.screen{min-height:100vh;padding:16px 16px 20px;background:var(--bg)}.screen.withBottomBar{padding-bottom:calc(var(--bottom-bar-h) + 16px)}.content{display:flex;flex-direction:column;gap:14px}.header{position:sticky;top:0;z-index:100;display:grid;grid-template-columns:40px 1fr;align-items:center;gap:8px;padding:10px 0 14px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.headerWithTitle{grid-template-columns:40px 1fr}.logoText{text-align:left;font-weight:800;letter-spacing:.2px;font-size:18px}.headerTitle{text-align:left;font-weight:800;letter-spacing:.2px;font-size:16px}.iconButton{width:40px;height:40px;border-radius:12px;border:1px solid var(--border);background:var(--card);display:inline-flex;align-items:center;justify-content:center;color:var(--text);box-shadow:0 6px 16px #14161a0d}.iconButton:active{transform:translateY(1px)}.iconButton.danger{border-color:var(--red-weak);color:var(--red);background:#fff}.iconButtonHistory{width:auto}.logoHistory{white-space:nowrap;font-size:12px;margin-right:8px}.categoryStrip{display:flex;gap:8px;overflow-x:auto;padding:6px 2px 2px;-webkit-overflow-scrolling:touch}.categoryStrip::-webkit-scrollbar{display:none}.chip{white-space:nowrap;border-radius:999px;border:1px solid var(--border);background:#fff;padding:10px 12px;font-weight:700;font-size:13px;color:var(--text)}.chipActive{border-color:var(--red)}.productGrid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:12px;margin-top:15px}.productCard{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);padding:12px;display:flex;flex-direction:row;gap:10px;width:100%}.productImage{flex-shrink:0;height:96px;width:96px;border-radius:5px;display:block;object-fit:cover;background:radial-gradient(circle at 35% 30%,#e4252c38,#e4252c0d),linear-gradient(135deg,#14161a0d,#14161a00);border:1px solid rgba(20,22,26,.06)}.productRight{display:flex;flex-direction:column;justify-content:space-between;width:100%}.productTitle{font-size:13px;font-weight:800;line-height:1.25;min-height:34px}.productBottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.productPrice{font-weight:900;font-size:14px}.button{border-radius:5px;border:1px solid var(--border);background:#fff;color:var(--text);padding:10px 12px;font-weight:800;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button:active{transform:translateY(1px)}.buttonPrimary{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 14px 28px #e4252c38}.buttonOutline{background:#fff;border-color:var(--red);color:var(--red)}.buttonFull{width:100%}.buttonBig{padding:14px;border-radius:14px;font-size:14px}.buttonPayNow{position:relative;overflow:hidden;border-color:#b91621;background:linear-gradient(135deg,#ff646e,#e4252c 45%,#a8141d);box-shadow:0 20px 38px #e4252c52,0 0 0 1px #ffffff24 inset;animation:payment-cta-breathe 1.7s ease-in-out infinite}.buttonPayNow:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(115deg,transparent 16%,rgba(255,255,255,.34) 50%,transparent 84%);transform:translate(-130%);animation:payment-cta-sheen 2.2s ease-in-out infinite}.buttonPayNow>*{position:relative;z-index:1}.button:disabled,.cartButton:disabled{opacity:.5}.qty{display:inline-flex;align-items:center;border-radius:12px;border:1px solid var(--border);background:#fff;overflow:hidden}.qtyBtn{width:34px;height:34px;border:0;background:#fff;font-weight:900;font-size:16px;color:var(--text)}.qtyValue{width:28px;text-align:center;font-weight:900;font-size:13px}.bottomBar{position:fixed;left:0;right:0;bottom:0;z-index:20;height:var(--bottom-bar-h);padding:8px 22px;background:#ffffffeb;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between;gap:12px}.bottomBarSummary{display:flex;flex-direction:column;gap:2px}.bottomBarTotal{font-weight:900;font-size:16px}.bottomBarMeta{font-size:12px;color:var(--muted);font-weight:700}.cartButton{width:52px;height:52px;border-radius:16px;border:1px solid var(--red);background:var(--red);color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 18px 34px #e4252c38}.alertInfo{border-radius:var(--radius);border:1px solid rgba(228,37,44,.2);background:linear-gradient(180deg,#e4252c14,#e4252c08);padding:14px;display:flex;flex-direction:column;gap:12px}.alertInfoText{font-size:13px;font-weight:700;line-height:1.35}.alertInfoActions{display:flex;flex-direction:column;gap:10px}.sectionTitle{margin-top:4px;font-weight:900;font-size:14px}.emptyState{border:1px dashed var(--border);border-radius:var(--radius);padding:16px;color:var(--muted);font-weight:700}.cartList{display:flex;flex-direction:column;gap:10px}.cartRow{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);padding:12px;display:flex;flex-direction:column;gap:10px}.cartRowMain{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.cartRowTitle{font-weight:900;font-size:13px;line-height:1.25}.cartRowPrice{font-weight:900;font-size:13px;white-space:nowrap}.cartRowActions{display:flex;align-items:center;justify-content:space-between;gap:12px}.promoRow{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.input,.select,.textarea{width:100%;border-radius:14px;border:1px solid var(--border);background:#fff;padding:12px;font-size:14px;font-weight:700;outline:none}.textarea{resize:none}.input:focus,.select:focus,.textarea:focus{border-color:#e4252c8c;box-shadow:0 0 0 4px #e4252c1f}.totalsCard{border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);padding:14px;display:flex;flex-direction:column;gap:10px}.totalsRow{display:flex;align-items:center;justify-content:space-between;gap:10px}.totalsRowStrong{padding-top:6px;margin-top:2px;border-top:1px solid var(--border);font-weight:900}.totalsValue{font-weight:900}.success{color:#10b981}.muted{color:var(--muted);font-weight:700}.formCard{border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);padding:14px;display:flex;flex-direction:column;gap:12px}.paymentResumeBanner{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:center;border-radius:18px;padding:12px 14px;border:1px solid rgba(228,37,44,.18);background:radial-gradient(circle at top left,rgba(255,226,165,.8),transparent 38%),linear-gradient(135deg,#fff4e2f5,#ffebeee6);box-shadow:0 18px 34px #e4252c1a,inset 0 1px #ffffffb8}.paymentResumeIcon{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#fff0b8,#ffd3a1);color:#c63a21;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 10px 24px #c63a2129,inset 0 1px #ffffffbd}.paymentResumeText{min-width:0}.paymentResumeTitle{font-size:13px;font-weight:900;color:#8f1521;line-height:1.2}.paymentResumeMessage{margin-top:4px;font-size:12px;font-weight:700;color:#9d5561;line-height:1.35}.field{display:flex;flex-direction:column;gap:6px}.suggestField{position:relative}.suggestDropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;border-radius:16px;border:1px solid var(--border);background:#fff;box-shadow:0 18px 34px #14161a1f;overflow:hidden}.suggestOption{width:100%;border:0;background:#fff;padding:12px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left}.suggestOption+.suggestOption{border-top:1px solid var(--border)}.suggestOptionMain{font-size:13px;font-weight:800;color:var(--text)}.suggestOptionMeta,.fieldHint{font-size:12px;color:var(--muted);font-weight:700}.fieldError{font-size:12px;color:var(--red);font-weight:800;line-height:1.35}.label{font-size:12px;color:var(--muted);font-weight:800}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.radioGroup{display:flex;flex-direction:column;gap:10px}.radioOption{border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px;display:flex;align-items:center;gap:10px;font-weight:800}.radioOptionActive{border-color:#e4252ca6;background:#e4252c0f}.radioInput{accent-color:var(--red)}.counter{text-align:right;font-size:12px;color:var(--muted);font-weight:700;margin-top:6px}.consents{display:flex;flex-direction:column;gap:10px;margin:6px 0 4px}.checkboxRow{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:700;color:var(--text)}.checkbox{margin-top:2px;accent-color:var(--red)}.auth{display:flex;align-items:center;justify-content:center}.authCard{width:100%;max-width:420px;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:0 20px 40px #14161a1f;padding:18px;display:flex;flex-direction:column;gap:14px}.brand{display:flex;flex-direction:column;gap:2px}.brandTitle{font-weight:1000;letter-spacing:.2px;font-size:26px}.brandSubtitle{color:var(--muted);font-weight:800;font-size:13px}.authHint{text-align:center}.authHintSmall{font-size:12px;color:var(--muted);font-weight:500;line-height:1.35}.authError{border-radius:14px;border:1px solid rgba(228,37,44,.25);background:#e4252c14;padding:10px 12px;font-size:12px;font-weight:800;color:var(--red);line-height:1.35;word-break:break-word}.profileBanner{border-radius:14px;border:1px solid rgba(36,100,220,.25);background:#2464dc14;padding:10px 12px;font-size:12px;font-weight:700;color:var(--accent, #2464dc);line-height:1.35;word-break:break-word}.snackbarViewport{position:fixed;top:calc(env(safe-area-inset-top,0px) + 14px);left:50%;z-index:300;width:min(calc(100% - 24px),520px);transform:translate(-50%);pointer-events:none}.snackbar{pointer-events:auto;display:grid;grid-template-columns:20px minmax(0,1fr) 28px;align-items:start;gap:12px;border-radius:18px;padding:14px 14px 14px 16px;border:1px solid rgba(20,22,26,.08);background:#14161af5;color:#fff;box-shadow:0 24px 56px #14161a47,0 8px 24px #14161a29;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:snackbar-enter .22s ease-out}.snackbarToneError{background:linear-gradient(180deg,#ff747424,#ff74740a),#14161af5;border-color:#f5425157}.snackbarToneSuccess{background:linear-gradient(180deg,#4fd18d29,#4fd18d0a),#14161af5;border-color:#4fd18d52}.snackbarToneNeutral{border-color:#ffffff24}.snackbarIcon{margin-top:2px;color:#fffffff0}.snackbarContent{min-width:0}.snackbarTitle{font-size:14px;font-weight:800;line-height:1.25}.snackbarMessage{margin-top:4px;font-size:12px;font-weight:500;line-height:1.4;color:#ffffffd1;word-break:break-word}.snackbarClose{width:28px;height:28px;border:0;border-radius:10px;background:#ffffff14;color:#ffffffe0;display:inline-flex;align-items:center;justify-content:center}.snackbarClose:active{transform:translateY(1px)}@keyframes snackbar-enter{0%{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes payment-cta-breathe{0%,to{transform:translateY(0) scale(1);box-shadow:0 20px 38px #e4252c4d,0 0 0 1px #ffffff24 inset}50%{transform:translateY(-1px) scale(1.015);box-shadow:0 26px 44px #e4252c61,0 0 0 1px #ffffff2e inset,0 0 0 8px #e4252c14}}@keyframes payment-cta-sheen{0%,to{transform:translate(-130%)}55%,60%{transform:translate(130%)}}.headerWithHistory{grid-template-columns:40px 1fr 140px}.headerWithChatTitle{grid-template-columns:40px 1fr;align-items:center}.chatHeaderMeta{display:flex;flex-direction:column;gap:2px}.chatHeaderTitle{font-size:18px;font-weight:800;line-height:1.1}.chatHeaderSub{font-size:12px;color:var(--muted)}.floatingChatButton{position:fixed;right:16px;bottom:calc(env(safe-area-inset-bottom,0px) + 18px);z-index:40;display:inline-flex;align-items:center;gap:10px;border:0;border-radius:999px;background:radial-gradient(circle at top left,rgba(255,255,255,.28),transparent 42%),linear-gradient(135deg,#ff5866,#f54251 48%,#d72638);color:#fff;padding:14px 18px;box-shadow:0 22px 40px #e4252c47,0 10px 24px #14161a29}.floatingChatButtonRaised{bottom:calc(var(--bottom-bar-h) + 18px)}.floatingChatButton:active{transform:translateY(1px)}.floatingChatButtonLabel{font-size:14px;font-weight:700;letter-spacing:.01em}.chatScreen{padding-bottom:116px}.chatContent{gap:14px}.chatIntroCard{display:grid;grid-template-columns:38px 1fr;gap:12px;border:1px solid rgba(245,66,81,.16);border-radius:24px;padding:16px;background:#ffffffeb;box-shadow:0 12px 30px #14161a0d}.chatIntroIcon{width:38px;height:38px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;color:var(--red);background:#f542511f}.chatIntroTitle{font-size:15px;font-weight:800}.chatIntroText{margin-top:4px;font-size:13px;line-height:1.45;color:var(--muted)}.chatMetaBar{display:flex;gap:8px;flex-wrap:wrap}.chatMetaChip{border:1px solid var(--border);border-radius:999px;padding:8px 12px;background:#ffffffe0;font-size:12px;color:var(--muted)}.chatTimeline{display:flex;flex-direction:column;gap:12px}.chatMessageRow{display:flex;justify-content:flex-start}.chatMessageRowClient{justify-content:flex-end}.chatBubble{max-width:min(82%,420px);border-radius:22px;padding:12px 14px 10px;box-shadow:0 10px 24px #14161a0d}.chatBubbleOperator{border:1px solid var(--border);background:#fffffff5}.chatBubbleClient{background:linear-gradient(135deg,#ff626f,#f54251);color:#fff}.chatBubbleAuthor{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.72}.chatBubbleText{margin-top:6px;font-size:14px;line-height:1.45;white-space:pre-wrap}.chatBubbleTime{margin-top:8px;font-size:11px;opacity:.68}.chatComposerShell{position:fixed;left:0;right:0;bottom:0;padding:10px 16px calc(env(safe-area-inset-bottom,0px) + 10px);background:linear-gradient(180deg,#fff0,#fffffff5 32%)}.chatComposer{display:grid;grid-template-columns:1fr 52px;gap:10px;align-items:center;border:1px solid rgba(245,66,81,.16);border-radius:22px;padding:10px;background:#fffffff0;box-shadow:0 18px 40px #14161a14}.chatTextarea{width:100%;min-height:42px;max-height:110px;resize:none;border:0;outline:none;background:transparent;color:var(--text);font:inherit;padding:10px 8px 8px 10px}.chatTextarea:disabled{color:var(--muted)}.chatSendButton{width:52px;height:52px;border:0;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ff626f,#f54251);color:#fff;box-shadow:0 14px 24px #f542513d}.chatSendLabel{font-size:18px;line-height:1;font-weight:800;letter-spacing:.08em}.chatSendButton:disabled{opacity:.45;box-shadow:none}.historySummary{display:flex;flex-direction:column;gap:4px;padding:4px 2px 2px}.historySummaryTitle{font-size:13px;font-weight:800;color:var(--text)}.historySummarySub{font-size:12px;color:var(--muted)}.historyCard{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);overflow:hidden}.historyCardHeader{width:100%;border:0;background:transparent;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:12px 14px;text-align:left;color:var(--text);cursor:pointer}.historyCardHeader:active{background:#14161a0a}.historyCardHeaderMain{display:flex;flex-direction:column;gap:2px;min-width:0}.historyCardOrderId{font-size:13px;font-weight:800;color:var(--muted);letter-spacing:.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.historyCardDate{font-size:14px;font-weight:800;color:var(--text)}.historyCardTotal{font-size:15px;font-weight:900;color:var(--text);white-space:nowrap}.historyChevron{color:var(--muted);transition:transform .16s ease;flex-shrink:0}.historyChevronOpen{transform:rotate(180deg)}.historyCardBody{display:flex;flex-direction:column;gap:12px;padding:0 14px 14px;border-top:1px solid var(--border)}.historyItems{display:flex;flex-direction:column;gap:6px;padding-top:10px}.historyItemRow{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:13px;line-height:1.35}.historyItemName{color:var(--text);font-weight:600;word-break:break-word}.historyItemQty{color:var(--muted);font-weight:800;white-space:nowrap;flex-shrink:0}.historyEmptyItems{font-size:13px;color:var(--muted);font-style:italic}.historyMeta{display:flex;flex-direction:column;gap:6px;border:1px solid var(--border);border-radius:var(--radius);padding:10px 12px;background:#fafbfc}.historyMetaRow{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}.historyMetaLabel{color:var(--muted)}.historyMetaValue{font-weight:800;color:var(--text)}.historyStatusBadge{font-size:12px;font-weight:800;padding:4px 10px;border-radius:999px}.historyStatusOk{color:#0f7a3a;background:#0f7a3a1f}.historyStatusNeutral{color:#374151;background:#6b728024}.historyStatusCancelled{color:var(--red);background:var(--red-weak)}.historyRating{display:inline-flex;align-items:center;gap:2px;color:#c4cad4}.historyRatingStar{color:#c4cad4}.historyRatingStarActive{color:#f5a524}.modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:#14161a70;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modalCard{width:min(100%,560px);border:1px solid var(--border);border-radius:28px 28px 20px 20px;background:#fff;box-shadow:0 24px 60px #14161a38}.ratingModal{display:flex;flex-direction:column;gap:16px;padding:18px}.ratingModalHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ratingModalTitle{font-size:18px;font-weight:900;color:var(--text)}.ratingModalSubtitle{margin-top:4px;font-size:13px;color:var(--muted)}.ratingStars{display:flex;align-items:center;gap:8px}.ratingStarButton{width:44px;height:44px;border:0;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;color:#c4cad4;background:#f7f8fb}.ratingStarButtonActive{color:#f5a524;background:#f5a5241f}.ratingTextarea{min-height:124px;resize:vertical}.authDebug{border-radius:14px;border:1px solid var(--border);background:#fff;padding:10px 12px;display:flex;flex-direction:column;gap:8px;font-size:12px}.authDebugRow{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:800}.loading{display:flex;align-items:center;justify-content:center}.loadingSpinner{width:44px;height:44px;border-radius:999px;border:4px solid rgba(20,22,26,.1);border-top-color:var(--red);animation:spin .9s linear infinite}.profileCard{border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);padding:14px;display:flex;align-items:center;gap:12px}.profileAvatar{width:52px;height:52px;border-radius:16px;background:#e4252c1a;color:var(--red);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900}.profileMeta{display:flex;flex-direction:column;gap:4px}.profileName{font-size:15px;font-weight:900}.profileHint{font-size:12px;color:var(--muted);font-weight:700;line-height:1.35}.successCard{border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:var(--shadow);padding:22px 18px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}.successIconWrap{width:76px;height:76px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#10b9811f;color:#10b981}.successTitle{font-size:22px;font-weight:900;color:var(--text)}.successText{font-size:14px;line-height:1.45;font-weight:700;color:var(--muted)}.successMeta{border-radius:14px;border:1px solid var(--border);background:#fafbfc;padding:12px 14px;width:100%;font-size:14px;font-weight:800;color:var(--text)}@keyframes spin{to{transform:rotate(360deg)}}
