/* Tupper Home v2 – light, neat, mobile-first. NO dark backgrounds anywhere. */
.th-scope {
	--pk: #E0197A;
	--pk2: #A8125A;
	--pkl: #FFEAF3;
	--pkl2: #FFF5FA;
	--cream: #FFFDF9;
	--cream2: #FFF6EC;
	--ink: #3a2c1a;
	--mute: #8a7280;
	--green: #17A35A;
	--red: #D93838;
	--line: #F5D6E4;
	--sh: 0 6px 18px rgba(224, 25, 122, .10);
	font-family: "Poppins", "Noto Sans Telugu", "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--ink);
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}
.th-scope *, .th-scope *::before, .th-scope *::after { box-sizing: border-box; }
.th-scope button, .th-scope a, .th-scope input, .th-scope select { touch-action: manipulation; font-family: inherit; }
.th-scope button { -webkit-user-select: none; user-select: none; }

html { -webkit-text-size-adjust: 100%; }
body.th-blank { margin: 0; min-height: 100vh; background: #FFF7FB; background-image: linear-gradient(165deg, #FFEFF7 0%, #FFFBF4 48%, #EFFAF8 100%); background-attachment: fixed; }
body.th-noscroll { overflow: hidden; }

#th-app { max-width: 480px; margin: 0 auto; padding: 10px 14px 100px; min-height: 100vh; }
.th-loading { text-align: center; padding: 60px 0; font-weight: 700; color: #A8125A; }

/* ---------- grand background: soft blobs + flying tupperware ---------- */
.th-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.th-blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; animation: th-drift 18s ease-in-out infinite alternate; }
.th-blob.b1 { width: 280px; height: 280px; left: -80px; top: -60px; background: #FFC7DF; }
.th-blob.b2 { width: 260px; height: 260px; right: -90px; top: 35%; background: #C9F1EA; animation-delay: -6s; }
.th-blob.b3 { width: 240px; height: 240px; left: 10%; bottom: -90px; background: #FFE2BF; animation-delay: -12s; }
.th-fly { position: absolute; top: 0; display: block; opacity: .26; animation-name: th-flyup; animation-timing-function: linear; animation-iteration-count: infinite; will-change: transform; }
.th-fly i { display: block; width: 100%; height: 100%; animation: th-sway ease-in-out infinite alternate; }
.th-fly svg { width: 100%; height: 100%; display: block; }
body.th-standalone #th-app { position: relative; z-index: 1; }

/* ---------- header ---------- */
.th-scope .th-head { position: sticky; top: 8px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 8px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh); }
.th-scope .th-logobtn { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer; padding: 0; min-width: 0; text-align: left; }
.th-scope .th-hlogo { width: 38px; height: 38px; object-fit: contain; border-radius: 11px; background: #fff; box-shadow: 0 3px 10px rgba(224, 25, 122, .22); transition: transform .12s; flex: none; }
.th-scope .th-logobtn:active .th-hlogo { transform: scale(.9); }
.th-scope .th-brand { display: flex; flex-direction: column; font-weight: 800; font-size: 15px; color: var(--pk2); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-scope .th-brand small { font-size: 10.5px; font-weight: 600; color: var(--mute); margin-top: 2px; }
.th-scope .th-headr { display: flex; align-items: center; gap: 5px; flex: none; }
.th-scope .th-lang { display: inline-flex; background: var(--pkl); border-radius: 30px; padding: 2px; }
.th-scope .th-lang button { border: 0; background: transparent; padding: 5px 9px; border-radius: 30px; font-weight: 700; color: var(--pk2); cursor: pointer; font-size: 12px; line-height: 1; }
.th-scope .th-lang button.on { background: var(--pk); color: #fff; box-shadow: 0 2px 6px rgba(224, 25, 122, .3); }
.th-scope .th-iconbtn { position: relative; border: 0; background: var(--pkl); border-radius: 50%; width: 36px; height: 36px; font-size: 16px; cursor: pointer; flex: none; transition: transform .1s; display: inline-flex; align-items: center; justify-content: center; }
.th-scope .th-iconbtn:active { transform: scale(.88); }
.th-scope .th-cartbtn-sm { width: 32px; height: 32px; font-size: 15px; margin-left: 6px; }
.th-scope .th-cartcount, .th-scope .th-bellcount { position: absolute; top: -4px; right: -4px; background: var(--pk); color: #fff; font-size: 10px; font-weight: 800; min-width: 17px; height: 17px; line-height: 17px; border-radius: 9px; padding: 0 4px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.th-scope .th-bellcount { background: #FF8A00; animation: th-pulsebadge 1.4s ease-in-out infinite; }

.th-scope .th-mebar { margin-top: 10px; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .85); border-radius: 14px; padding: 8px 12px; font-size: 13px; color: var(--ink); cursor: pointer; }
.th-scope .th-idchip { display: inline-block; background: linear-gradient(135deg, #EDE4FF, #FFE6F2); color: #6B3FC4; font-weight: 800; font-size: 11.5px; padding: 2px 8px; border-radius: 20px; letter-spacing: .3px; white-space: nowrap; }

/* ---------- hero ---------- */
.th-scope .th-hero { margin-top: 14px; text-align: center; padding: 20px 16px 18px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 12px 30px rgba(224, 25, 122, .10); animation: th-in .45s ease both; position: relative; overflow: hidden; }
.th-scope .th-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #E0197A, #FFA726, #26B5A6, #8E6CEF); }
.th-scope .th-heroart { display: flex; justify-content: center; align-items: flex-end; gap: 10px; height: 58px; }
.th-scope .th-heroart svg { width: 40px; height: 40px; animation: th-bob 3s ease-in-out infinite; }
.th-scope .th-heroart svg:nth-child(2) { width: 52px; height: 52px; animation-delay: .4s; }
.th-scope .th-heroart svg:nth-child(3) { animation-delay: .8s; }
.th-scope .th-welcome { font-size: 27px; margin: 8px 0 4px; font-weight: 800; background: linear-gradient(90deg, var(--pk), #8E3FD1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.th-scope .th-sub { margin: 0 0 16px; font-weight: 500; font-size: 13.5px; color: #6d5560; line-height: 1.5; }

.th-scope .th-navs { display: flex; flex-direction: column; gap: 10px; }
.th-scope .th-nav { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; border: 0; border-radius: 14px; padding: 12px 14px; font-size: 16px; font-weight: 700; cursor: pointer; background: linear-gradient(135deg, var(--pk), var(--pk2)); color: #fff; box-shadow: 0 6px 16px rgba(168, 18, 90, .25); transition: transform .1s, box-shadow .15s; animation: th-in .45s ease both; }
.th-scope .th-nav:nth-child(2) { animation-delay: .08s; }
.th-scope .th-nav:active { transform: scale(.97); box-shadow: 0 3px 8px rgba(168, 18, 90, .25); }
.th-scope .th-nav small { font-size: 12px; font-weight: 600; opacity: .95; margin-top: 1px; }
.th-scope .th-nav-wa { background: linear-gradient(135deg, #25D366, #13995A); box-shadow: 0 6px 16px rgba(19, 153, 90, .22); }

.th-scope .th-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.th-scope .th-tile { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 4px 9px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .88); cursor: pointer; font-weight: 700; font-size: 11.5px; line-height: 1.25; color: var(--ink); box-shadow: 0 4px 12px rgba(224, 25, 122, .06); transition: transform .1s; animation: th-in .45s ease both; text-align: center; }
.th-scope .th-tile:nth-child(2) { animation-delay: .06s; }
.th-scope .th-tile:nth-child(3) { animation-delay: .12s; }
.th-scope .th-tile:nth-child(4) { animation-delay: .18s; }
.th-scope .th-tile:active { transform: scale(.94); background: var(--pkl2); }
.th-scope .th-tile svg { width: 28px; height: 28px; }
.th-scope .th-foot { text-align: center; font-size: 11px; color: #a08896; margin-top: 16px; font-weight: 600; }
.th-scope .th-closed { margin: 12px auto 0; background: #FFF0F0; color: var(--red); border: 1px solid #F5B5B5; border-radius: 12px; padding: 10px; font-weight: 800; text-align: center; font-size: 14px; }

/* ---------- popups ---------- */
.th-overlay { position: fixed; inset: 0; z-index: 99990; background: rgba(255, 236, 245, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 8px; animation: th-fade .18s ease both; }
.th-scope .th-pop { background: var(--cream); border-radius: 20px; width: 100%; max-width: 480px; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); display: flex; flex-direction: column; box-shadow: 0 18px 44px rgba(168, 18, 90, .18); border: 1px solid var(--line); overflow: hidden; animation: th-up .22s ease both; }
.th-pop-sm .th-pop { max-width: 380px; }
.th-pop-md .th-pop { max-width: 560px; }
.th-pop-full .th-pop { max-width: 980px; height: calc(100vh - 16px); height: calc(100dvh - 16px); }
.th-scope .th-pophead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 10px 14px; background: linear-gradient(135deg, #FFEAF3, #FFFFFF); border-bottom: 1px solid var(--line); }
.th-scope .th-poptitle { font-size: 15.5px; font-weight: 800; color: var(--pk2); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-width: 0; }
.th-scope .th-minilogo { width: 26px; height: 26px; object-fit: contain; border-radius: 7px; background: #fff; vertical-align: middle; margin-right: 4px; }
.th-scope .th-x { border: 0; background: #fff; border: 1px solid var(--line); width: 32px; height: 32px; border-radius: 50%; font-size: 14px; font-weight: 800; color: var(--pk2); cursor: pointer; flex: none; transition: transform .1s; }
.th-scope .th-x:active { transform: scale(.88); }
.th-scope .th-popbody { padding: 14px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* menu list */
.th-scope .th-menulist { display: flex; flex-direction: column; gap: 8px; }
.th-scope .th-menulist button { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; transition: transform .1s, background .1s; animation: th-in .3s ease both; }
.th-scope .th-menulist button:nth-child(2) { animation-delay: .04s; }
.th-scope .th-menulist button:nth-child(3) { animation-delay: .08s; }
.th-scope .th-menulist button:nth-child(4) { animation-delay: .12s; }
.th-scope .th-menulist button:nth-child(5) { animation-delay: .16s; }
.th-scope .th-menulist button:active { transform: scale(.98); background: var(--pkl2); }
.th-scope .th-menulist i { margin-left: auto; font-style: normal; color: var(--pk); font-size: 20px; line-height: 1; }
.th-scope .th-menu-admin { color: var(--mute) !important; font-size: 13.5px !important; }

/* ---------- product carousel ---------- */
.th-scope .th-hint { text-align: center; font-size: 11.5px; color: var(--mute); font-weight: 600; margin: -4px 0 6px; }
.th-scope .th-car { position: relative; }
.th-scope .th-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.th-scope .th-track::-webkit-scrollbar { display: none; }
.th-scope .th-card { flex: 0 0 80%; max-width: 300px; scroll-snap-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 7px; position: relative; }
.th-scope .th-card.th-incart { border-color: #9FDDBB; box-shadow: 0 6px 18px rgba(23, 163, 90, .12); }
.th-scope .th-card.th-out { opacity: .75; }
.th-scope .th-img { position: relative; height: 150px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #FFF6EC, #FFF0F6); display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.th-scope .th-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .2s; }
.th-scope .th-img:active img { transform: scale(.96); }
.th-scope .th-zoomic { position: absolute; right: 7px; bottom: 7px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center; font-size: 12px; box-shadow: 0 2px 6px rgba(0, 0, 0, .1); }
.th-scope .th-noimg { font-size: 54px; }
.th-scope .th-noimg.sm { font-size: 24px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--cream2); border-radius: 10px; flex: none; }
.th-scope .th-badge { position: absolute; top: 7px; left: 7px; background: var(--pk); color: #fff; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 20px; }
.th-scope .th-badge-offer { left: auto; right: 7px; background: #FFB300; }
.th-scope .th-outtag { position: absolute; inset: auto 0 0 0; background: rgba(255, 240, 240, .95); color: var(--red); font-weight: 800; font-size: 12px; text-align: center; padding: 4px; }
.th-scope .th-pname { font-size: 15.5px; font-weight: 800; line-height: 1.3; }
.th-scope .th-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.th-scope .th-pill { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 20px; background: #F3EEF1; color: #7a6470; }
.th-scope .th-pill-gr { background: #E6F7EE; color: #12804A; }
.th-scope .th-pill-red { background: #FFECEC; color: var(--red); }
.th-scope .th-pill-pk { background: var(--pkl); color: var(--pk2); }
.th-scope .th-prices { display: grid; grid-template-columns: 1fr .8fr 1.25fr; gap: 5px; text-align: center; }
.th-scope .th-prices > div { background: var(--cream2); border-radius: 10px; padding: 5px 3px; display: flex; flex-direction: column; justify-content: center; }
.th-scope .th-prices small { font-size: 10px; font-weight: 600; color: #8a6d5a; }
.th-scope .th-prices s, .th-scope .th-prices b { font-size: 13px; font-weight: 700; }
.th-scope .th-prices s { color: #9a8070; }
.th-scope .th-dv { color: var(--pk); }
.th-scope .th-netbox { background: var(--pkl) !important; }
.th-scope .th-nv { color: var(--pk2); font-size: 15px !important; font-weight: 800 !important; }
.th-scope .th-save { text-align: center; font-weight: 700; color: var(--green); font-size: 12px; }
.th-scope .th-buy { display: flex; gap: 8px; align-items: center; }
.th-scope .th-step { display: inline-flex; align-items: center; background: var(--pkl2); border: 1px solid var(--line); border-radius: 30px; padding: 2px; flex: none; }
.th-scope .th-step button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; color: var(--pk); font-size: 18px; font-weight: 800; cursor: pointer; line-height: 1; box-shadow: 0 1px 4px rgba(224, 25, 122, .15); transition: transform .08s; }
.th-scope .th-step button:active { transform: scale(.85); background: var(--pkl); }
.th-scope .th-step b { min-width: 26px; text-align: center; font-size: 14px; }
.th-scope .th-step.sm button { width: 26px; height: 26px; font-size: 16px; }
.th-scope .th-step.sm b { min-width: 22px; font-size: 13px; }
.th-scope .th-buy .th-add { flex: 1; padding: 9px 10px; font-size: 14px; }
.th-scope .th-arr { position: absolute; top: 70px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); color: var(--pk); font-size: 22px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 3px 10px rgba(224, 25, 122, .18); transition: transform .1s; }
.th-scope .th-arr:active { transform: scale(.85); }
.th-scope .th-arr-l { left: -4px; }
.th-scope .th-arr-r { right: -4px; }
.th-scope .th-count { text-align: center; font-weight: 700; color: var(--pk2); font-size: 12.5px; }
.th-scope .th-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.th-scope .th-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); cursor: pointer; transition: width .2s; }
.th-scope .th-dots i.on { background: var(--pk); width: 18px; border-radius: 5px; }

/* ---------- buttons ---------- */
.th-scope .th-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 10px 14px; font-size: 14.5px; font-weight: 700; cursor: pointer; background: linear-gradient(135deg, var(--pk), var(--pk2)); color: #fff; text-decoration: none; transition: transform .08s, filter .1s; box-shadow: 0 4px 12px rgba(168, 18, 90, .2); }
.th-scope .th-btn:active { transform: scale(.96); filter: brightness(1.05); }
.th-scope .th-btn-big { width: 100%; padding: 13px; font-size: 15.5px; margin-top: 10px; }
.th-scope .th-btn-wa { background: linear-gradient(135deg, #25D366, #13995A); box-shadow: 0 4px 12px rgba(19, 153, 90, .2); }
.th-scope .th-btn-green { background: linear-gradient(135deg, #22B866, #128A4C); box-shadow: 0 4px 12px rgba(18, 138, 76, .2); }
.th-scope .th-btn-pay { background: linear-gradient(135deg, #6F3CD8, #E0197A); box-shadow: 0 4px 14px rgba(111, 60, 216, .25); }
.th-scope .th-btn-light { background: #fff; color: var(--pk2); border: 1px solid var(--line); box-shadow: none; }
.th-scope .th-disabled, .th-scope .th-btn[disabled] { background: #EEE8E4 !important; color: #8a7d70 !important; cursor: not-allowed; box-shadow: none !important; }
.th-scope .th-link { border: 0; background: transparent; color: var(--pk2); font-weight: 700; cursor: pointer; padding: 6px 4px; font-size: 13px; }
.th-scope .th-mini { border: 1px solid var(--line); background: #fff; color: var(--pk2); border-radius: 20px; padding: 5px 10px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .08s; white-space: nowrap; }
.th-scope .th-mini:active { transform: scale(.92); }
.th-scope .th-mini-red { color: var(--red); border-color: #F5C2C2; background: #FFF6F6; }
.th-scope .th-mini-pk { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--pk), var(--pk2)); }
.th-scope .th-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.th-scope .th-empty { text-align: center; padding: 26px 10px; font-weight: 700; color: var(--mute); }
.th-scope .th-emptybox { text-align: center; padding: 30px 10px 14px; font-weight: 700; color: var(--mute); }
.th-scope .th-emptybox svg { width: 70px; height: 70px; display: block; margin: 0 auto 10px; }

/* ---------- floating cart bar ---------- */
.th-cartbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 99995; width: calc(100% - 24px); max-width: 456px; border: 0; border-radius: 18px; padding: 8px 8px 8px 12px; color: #fff; background: linear-gradient(135deg, var(--pk), var(--pk2)); box-shadow: 0 10px 26px rgba(168, 18, 90, .35); cursor: pointer; display: flex; align-items: center; gap: 10px; animation: th-barup .25s ease both; transition: transform .08s; }
.th-cartbar:active { transform: translateX(-50%) scale(.98); }
.th-cartbar .th-cb-ic { position: relative; font-size: 20px; }
.th-cartbar .th-cb-ic b { position: absolute; top: -6px; right: -9px; background: #fff; color: var(--pk2); font-size: 10px; min-width: 17px; height: 17px; line-height: 17px; border-radius: 9px; text-align: center; }
.th-cartbar .th-cb-amt { display: flex; flex-direction: column; text-align: left; font-weight: 800; font-size: 15px; line-height: 1.15; }
.th-cartbar .th-cb-amt small { font-weight: 600; font-size: 11px; opacity: .9; }
.th-cartbar .th-cb-go { margin-left: auto; background: #fff; color: var(--pk2); border-radius: 12px; padding: 8px 12px; font-weight: 800; font-size: 13px; }
body.th-hidebar .th-cartbar { display: none !important; }
.th-keepbar .th-popbody { padding-bottom: 84px; }

/* ---------- cart lines ---------- */
.th-scope .th-lines { display: flex; flex-direction: column; gap: 8px; }
.th-scope .th-line { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; position: relative; animation: th-in .25s ease both; }
.th-scope .th-line-off { opacity: .45; }
.th-scope .th-lthumb { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; background: var(--cream2); flex: none; cursor: zoom-in; }
.th-scope .th-lineinfo { flex: 1; min-width: 0; }
.th-scope .th-linename { font-weight: 700; font-size: 13.5px; padding-right: 26px; line-height: 1.3; }
.th-scope .th-linemeta { font-size: 12px; margin: 2px 0 5px; color: #6d5560; }
.th-scope .th-linemeta s { color: #a08896; }
.th-scope .th-linemeta em { font-style: normal; color: var(--pk); font-weight: 700; }
.th-scope .th-lineact { display: flex; align-items: center; gap: 8px; }
.th-scope .th-lineamt { margin-left: auto; font-weight: 800; color: var(--pk2); font-size: 14px; }
.th-scope .th-del { position: absolute; top: 6px; right: 6px; border: 0; background: #FFF0F0; color: var(--red); width: 24px; height: 24px; border-radius: 50%; font-weight: 800; font-size: 11px; cursor: pointer; }
.th-scope .th-del:active { transform: scale(.85); }

.th-scope .th-totals { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; margin: 10px 0; }
.th-scope .th-totals > div { display: flex; justify-content: space-between; padding: 4px 0; font-weight: 600; font-size: 13.5px; }
.th-scope .th-tdisc b { color: var(--green); }
.th-scope .th-free { font-style: normal; color: var(--green); font-weight: 800; }
.th-scope .th-tnet { border-top: 1.5px dashed var(--line); margin-top: 4px; padding-top: 8px !important; font-size: 16.5px !important; }
.th-scope .th-tnet b { color: var(--pk2); font-weight: 800; }

.th-scope .th-card2 { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-top: 10px; }
.th-scope .th-card2h { font-weight: 800; color: var(--pk2); font-size: 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.th-scope .th-note { font-size: 12px; color: var(--mute); font-weight: 600; margin: 0 0 8px; line-height: 1.5; }
.th-scope .th-note.center { text-align: center; margin-top: 12px; }

/* ---------- forms ---------- */
.th-scope .th-form { display: flex; flex-direction: column; gap: 9px; }
.th-scope .th-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 9px; }
.th-scope .th-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 12.5px; color: var(--ink); }
.th-scope input:not([type=checkbox]):not([type=file]), .th-scope select, .th-scope textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 9px 11px; font-size: 15px; font-weight: 700; color: var(--ink); background: #fff; transition: border-color .12s, background .12s; }
.th-scope input:focus, .th-scope select:focus, .th-scope textarea:focus { outline: none; background: #FFF9C4 !important; border-color: var(--pk); color: #3a2c1a; }
.th-scope .th-form label.th-check { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; }
.th-scope .th-check input { width: 18px; height: 18px; accent-color: var(--pk); }
.th-scope .th-dateok { font-size: 11.5px; font-weight: 700; color: var(--green); min-height: 1em; }
.th-scope .th-dateok.bad { color: var(--red); }
.th-scope .pf-prev img { max-width: 120px; max-height: 120px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.th-scope .pf-calc { background: var(--pkl); border-radius: 10px; padding: 9px; font-weight: 600; font-size: 13px; }

/* ---------- pay ---------- */
.th-scope .th-okmsg { background: #EAF9F0; color: #12703F; border: 1px solid #B7E6CB; border-radius: 12px; padding: 9px; font-weight: 700; margin-bottom: 10px; text-align: center; font-size: 13.5px; }
.th-scope .th-paybox { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; text-align: center; margin-bottom: 10px; }
.th-scope .th-payamt small { display: block; font-size: 12px; color: var(--mute); font-weight: 600; }
.th-scope .th-payamt b { font-size: 28px; font-weight: 800; background: linear-gradient(90deg, #6F3CD8, var(--pk)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.th-scope .th-qrwrap { margin: 10px auto 4px; width: 190px; padding: 8px; border-radius: 16px; background: #fff; border: 2px dashed #E7C6F0; }
.th-scope .th-qr { width: 100%; display: block; border-radius: 8px; cursor: zoom-in; }
.th-scope .th-qrcap { font-size: 11.5px; font-weight: 700; color: #6F3CD8; margin-top: 4px; }
.th-scope .th-payrow { display: flex; align-items: center; gap: 8px; justify-content: space-between; background: var(--pkl2); border-radius: 12px; padding: 7px 10px; margin-top: 8px; font-size: 12.5px; text-align: left; }
.th-scope .th-payrow span { color: var(--mute); font-weight: 600; }
.th-scope .th-payrow b { flex: 1; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-scope .th-payrow span { white-space: nowrap; }
.th-scope .th-apps { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.th-scope .th-apps span { font-size: 10.5px; font-weight: 700; color: #6F3CD8; background: #F2ECFF; padding: 3px 8px; border-radius: 20px; }
.th-scope .th-warn { background: #FFF6E5; color: #9A5B00; border: 1px solid #F7D9A0; border-radius: 12px; padding: 8px 10px; font-size: 12.5px; font-weight: 700; margin-top: 10px; text-align: center; }

/* ---------- my orders ---------- */
.th-scope .th-profile { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; margin-bottom: 10px; }
.th-scope .th-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--pk), #8E3FD1); color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; flex: none; }
.th-scope .th-pinfo { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--mute); flex: 1; min-width: 0; }
.th-scope .th-pinfo b { color: var(--ink); font-size: 15px; }
.th-scope .th-olist { display: flex; flex-direction: column; gap: 8px; }
.th-scope .th-ocard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; animation: th-in .25s ease both; }
.th-scope .th-ocardh { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 13.5px; }
.th-scope .th-ometa { font-size: 11.5px; color: var(--mute); margin-top: 3px; font-weight: 600; }
.th-scope .th-oitems { font-size: 12.5px; margin-top: 5px; color: #5b4652; }
.th-scope .th-ofoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.th-scope .th-ofoot > b { font-size: 16px; color: var(--pk2); }
.th-scope .th-obtns { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- contact ---------- */
.th-scope .th-contactbox { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.th-scope .th-logo-sm { width: 72px; margin: 0 auto; border-radius: 16px; }
.th-scope .th-contacttext { font-size: 15px; font-weight: 700; line-height: 1.6; }

/* ---------- receipt ---------- */
.th-scope .th-receipt { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.th-scope .th-rhead { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.th-scope .th-rhead img { width: 42px; height: auto; border-radius: 8px; }
.th-scope .th-rshop { font-size: 16px; font-weight: 800; color: var(--pk2); }
.th-scope .th-rsmall { font-size: 11.5px; font-weight: 600; color: var(--mute); }
.th-scope .th-rtype { margin-left: auto; background: var(--pk); color: #fff; font-weight: 800; padding: 4px 10px; border-radius: 8px; font-size: 12px; }
.th-scope .th-rinfo { font-size: 12.5px; padding: 8px 0; display: grid; gap: 4px; }
.th-scope .th-rinfo > div { display: flex; gap: 8px; }
.th-scope .th-rinfo span { color: var(--mute); min-width: 92px; font-weight: 600; }
.th-scope .th-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; }
.th-scope .th-rtable, .th-scope .th-atable { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.th-scope .th-rtable th, .th-scope .th-atable th { background: var(--pkl); color: var(--pk2); font-weight: 800; padding: 7px 6px; white-space: nowrap; text-align: center; }
.th-scope .th-rtable td, .th-scope .th-atable td { border-bottom: 1px solid #F8E6EE; padding: 7px 6px; text-align: center; font-weight: 600; white-space: nowrap; }
.th-scope .th-rtable td.th-tl { text-align: left; white-space: normal; min-width: 110px; }
.th-scope .th-rfoot { text-align: center; font-weight: 700; color: var(--pk2); margin-top: 4px; font-size: 13px; }
.th-scope .th-ractions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.th-scope .th-ractions .th-btn { padding: 10px 6px; font-size: 13px; }

/* ---------- status chips ---------- */
.th-scope .th-st { display: inline-block; padding: 3px 9px; border-radius: 20px; font-weight: 700; font-size: 11.5px; white-space: nowrap; }
.th-scope .th-st-pending { background: #FFF4E3; color: #A6531A; }
.th-scope .th-st-paid { background: #EEE7FF; color: #5B32B8; }
.th-scope .th-st-billed { background: #E6F7EE; color: #12703F; }
.th-scope .th-st-delivered { background: #E3F4FD; color: #0E6A9C; }
.th-scope .th-st-rejected { background: #FFECEC; color: var(--red); }
.th-scope .th-st-cancelled { background: #F2EEF0; color: #7a6470; }

/* ---------- admin ---------- */
.th-scope .th-atabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.th-scope .th-atabs button { border: 1px solid var(--line); background: #fff; color: var(--pk2); border-radius: 20px; padding: 7px 12px; font-weight: 700; font-size: 12.5px; cursor: pointer; transition: transform .08s; }
.th-scope .th-atabs button:active { transform: scale(.94); }
.th-scope .th-atabs button.on { background: var(--pk); color: #fff; border-color: var(--pk); }
.th-scope .th-atabs .th-atab-app { background: #FFF6EC; color: #A6531A; border-color: #F0D2A8; }
.th-scope .th-atabs .th-atab-alert { background: #F2ECFF; color: #5B32B8; border-color: #DCCDFB; }
.th-scope .th-atabs .th-stop-on { background: #FFF0F0; color: var(--red); border-color: #F5B5B5; }
.th-scope .th-atabs .th-stop-off { background: #EAF9F0; color: var(--green); border-color: #A8E2BE; }
.th-scope .th-atabs .th-logout { margin-left: auto; }
.th-scope .th-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin-bottom: 10px; }
.th-scope .th-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; text-align: center; cursor: pointer; transition: transform .08s; }
.th-scope .th-stat:active { transform: scale(.95); }
.th-scope .th-stat b { display: block; font-size: 19px; color: var(--pk2); }
.th-scope .th-stat span { font-weight: 600; font-size: 11.5px; }
.th-scope .th-stat-sales { cursor: default; background: var(--pkl); }
.th-scope .th-stat-sales b { font-size: 15px; }
.th-scope .th-filter { display: flex; gap: 8px; margin-bottom: 8px; }
.th-scope .th-filter select { max-width: 160px; }
.th-scope .th-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; position: sticky; top: -14px; background: var(--cream); padding: 6px 0; z-index: 1; }
.th-scope .th-toolbar button { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 20px; padding: 6px 11px; font-weight: 700; font-size: 12px; cursor: pointer; transition: transform .08s; }
.th-scope .th-toolbar button:active { transform: scale(.92); }
.th-scope .th-toolbar .tb-green { background: #EAF9F0; border-color: #A8E2BE; color: #12703F; }
.th-scope .th-toolbar .tb-red { background: #FFF0F0; border-color: #F5B5B5; color: var(--red); }
.th-scope .th-atable tbody tr { cursor: pointer; background: #fff; }
.th-scope .th-atable tbody tr.th-rownew { background: #FFFBEF; }
.th-scope .th-atable tbody tr:hover { background: var(--pkl2); }
.th-scope .th-atable input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--pk); }
.th-scope .th-thumb { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--cream2); cursor: zoom-in; }
.th-scope .th-etable input { min-width: 70px; padding: 6px 8px !important; font-size: 13px !important; }
.th-scope .th-etable .e-name { min-width: 150px; }
.th-scope .th-addrow { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.th-scope .th-addrow select { flex: 1; min-width: 200px; }
.th-scope .th-astatus { font-size: 12.5px; font-weight: 700; color: var(--green); margin-top: 8px; text-align: center; }
.th-scope .th-astatus.bad { color: var(--red); }

/* ---------- image zoom ---------- */
.th-zoom { position: fixed; inset: 0; z-index: 100001; background: rgba(255, 250, 253, .97); display: flex; flex-direction: column; align-items: center; justify-content: center; animation: th-fade .15s ease both; }
.th-zoom .th-x { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 2; }
.th-zoom .th-zoomwrap { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 50px 12px 10px; }
.th-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(168, 18, 90, .15); transition: transform .25s; cursor: zoom-in; animation: th-up .2s ease both; }
.th-zoom img.on { transform: scale(2.3); cursor: zoom-out; }
.th-zoom .th-zoomcap { padding: 10px 16px 22px; font-weight: 800; color: #A8125A; text-align: center; }

/* ---------- toast ---------- */
.th-toast { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -30px); opacity: 0; z-index: 100002; background: #fff; color: #12703F; border: 1px solid #A8E2BE; border-radius: 14px; padding: 10px 16px; font-weight: 700; font-size: 13.5px; box-shadow: 0 8px 22px rgba(0, 0, 0, .10); transition: all .22s; max-width: 90vw; text-align: center; }
.th-toast.th-show { opacity: 1; transform: translate(-50%, 0); }
.th-toast-bad { color: #B42323; border-color: #F5B5B5; }

/* desktop: several cards visible */
@media (min-width: 720px) {
	.th-scope .th-card { flex: 0 0 260px; }
	.th-scope .th-arr-l { left: -8px; }
	.th-scope .th-arr-r { right: -8px; }
}
@media (max-width: 360px) {
	.th-scope .th-brand small { display: none; }
	.th-scope .th-tiles { grid-template-columns: repeat(2, 1fr); }
}

/* print */
body.th-print { padding: 10px; }
@media print {
	.th-scope .th-receipt { border: 0; }
	.th-scope .th-rtable th, .th-scope .th-st { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@keyframes th-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes th-up { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes th-barup { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes th-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes th-flyup { from { transform: translateY(105vh) rotate(0deg); } to { transform: translateY(-12vh) rotate(360deg); } }
@keyframes th-sway { from { transform: translateX(-16px); } to { transform: translateX(16px); } }
@keyframes th-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes th-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, 40px) scale(1.12); } }
@keyframes th-pulsebadge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

@media (prefers-reduced-motion: reduce) {
	.th-scope *, .th-overlay, .th-fly, .th-fly i, .th-blob, .th-cartbar, .th-zoom img { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ================= FRONT PAGE v2.2: promo hero ================= */
.th-scope .th-hero2 { margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 12px 30px rgba(224, 25, 122, .10); animation: th-in .45s ease both; }
.th-scope .th-hmedia { position: relative; height: 230px; background: linear-gradient(160deg, #FFF0F6 0%, #F1FAF7 100%); overflow: hidden; }
.th-scope .th-hmedia::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.th-scope .th-hphoto { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.th-scope .th-collage { position: absolute; inset: 0; }
.th-scope .th-cimg { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 10px 24px rgba(168, 18, 90, .16); overflow: hidden; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; animation: th-float 6s ease-in-out infinite; }
.th-scope .th-cimg img { width: 100%; height: 100%; object-fit: cover; }
.th-scope .th-collage.n1 .c0 { width: 58%; height: 78%; right: 8%; top: 8%; transform: rotate(3deg); }
.th-scope .th-collage.n2 .c0 { width: 46%; height: 72%; right: 6%; top: 6%; transform: rotate(4deg); }
.th-scope .th-collage.n2 .c1 { width: 40%; height: 58%; right: 42%; top: 22%; transform: rotate(-5deg); animation-delay: -2s; }
.th-scope .th-collage.n3 .c0 { width: 40%; height: 66%; right: 5%; top: 6%; transform: rotate(5deg); }
.th-scope .th-collage.n3 .c1 { width: 34%; height: 54%; right: 36%; top: 26%; transform: rotate(-4deg); animation-delay: -2s; }
.th-scope .th-collage.n3 .c2 { width: 28%; height: 42%; right: 64%; top: 8%; transform: rotate(3deg); animation-delay: -4s; }
.th-scope .th-heroart.big { position: absolute; inset: 0; height: auto; align-items: center; gap: 16px; padding-left: 38%; }
.th-scope .th-heroart.big svg { width: 62px; height: 62px; }
.th-scope .th-heroart.big svg:nth-child(2) { width: 84px; height: 84px; }
.th-scope .th-hlabel { position: absolute; left: 14px; top: 44px; z-index: 2; max-width: 46%; background: #fff; border: 1.5px solid #3F51B5; border-radius: 14px; padding: 10px 12px; font-weight: 700; font-size: 13.5px; line-height: 1.3; color: #283593; text-align: center; box-shadow: 5px 5px 0 #C5CAE9; animation: th-in .5s .15s ease both; }
.th-scope .th-hoff { position: absolute; right: 12px; top: 12px; z-index: 2; background: linear-gradient(135deg, #FF7043, #E0197A); color: #fff; font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 20px; box-shadow: 0 4px 12px rgba(224, 25, 122, .3); animation: th-pulsebadge 2s ease-in-out infinite; }
.th-scope .th-hchips { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 22px; }
.th-scope .th-hchips span { width: 36px; height: 36px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); animation: th-bob 3s ease-in-out infinite; }
.th-scope .th-hchips span:nth-child(2) { animation-delay: .3s; }
.th-scope .th-hchips span:nth-child(3) { animation-delay: .6s; }
.th-scope .th-hchips span:nth-child(4) { animation-delay: .9s; }
.th-scope .th-hchips svg { width: 24px; height: 24px; }
.th-scope .th-hbody { padding: 12px 16px 16px; }
.th-scope .th-brandrow { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.th-scope .th-brandrow img { width: 26px; height: 26px; object-fit: contain; border-radius: 7px; }
.th-scope .th-brandrow b { color: #1E4FBF; font-weight: 800; letter-spacing: -.2px; }
.th-scope .th-brandrow i { width: 1px; height: 20px; background: #C9CFD8; }
.th-scope .th-brandrow span { color: #5F6368; font-weight: 600; }
.th-scope .th-htitle { margin: 10px 0 6px; font-size: 27px; line-height: 1.15; font-weight: 800; color: #1A56D6; letter-spacing: -.3px; }
.th-scope .th-hsub { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: #1A56D6; font-weight: 500; }
.th-scope .th-navs-row { flex-direction: row; }
.th-scope .th-navs-row .th-nav { flex: 1; padding: 11px 8px; font-size: 15px; }

/* ================= FRONT PAGE: Instagram-style offer post ================= */
.th-scope .th-post { position: relative; margin-top: 14px; padding: 16px 14px 18px; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #FFF8F2 0%, #FFF3F6 100%); border: 1px solid #F6DCE3; box-shadow: 0 10px 28px rgba(201, 122, 90, .10); animation: th-in .5s .1s ease both; }
.th-scope .th-leaf { position: absolute; width: 96px; height: 96px; opacity: .9; pointer-events: none; }
.th-scope .th-leaf svg { width: 100%; height: 100%; }
.th-scope .th-leaf.l1 { left: -18px; top: -14px; transform: rotate(90deg); }
.th-scope .th-leaf.l2 { right: -18px; top: -14px; transform: scaleX(-1) rotate(90deg); }
.th-scope .th-script { position: relative; font-family: "Dancing Script", "Noto Sans Telugu", cursive; font-size: 27px; line-height: 1.15; text-align: center; color: #C77D86; margin: 4px 26px 12px; font-weight: 700; }
.th-scope .th-pcard { position: relative; background: #fff; border: 1px solid #F1D9DE; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(201, 122, 90, .10); }
.th-scope .th-phead { display: flex; align-items: center; gap: 9px; padding: 9px 10px; }
.th-scope .th-pav { width: 34px; height: 34px; border-radius: 50%; padding: 2px; background: linear-gradient(135deg, #FFB74D, #E0197A, #8E6CEF); flex: none; }
.th-scope .th-pav img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: #fff; border: 2px solid #fff; display: block; }
.th-scope .th-phead b { font-size: 15px; font-weight: 800; color: #222; letter-spacing: -.2px; }
.th-scope .th-follow { margin-left: auto; border: 1.5px solid #6FAE9C; color: #3E8A74; font-weight: 800; font-size: 11.5px; letter-spacing: 1px; padding: 4px 12px; border-radius: 8px; text-decoration: none; transition: transform .08s; }
.th-scope .th-follow:active { transform: scale(.92); }
.th-scope .th-dots3 { color: #888; font-size: 12px; letter-spacing: 1px; }
.th-scope .th-pmedia { position: relative; margin: 0 8px; border: 2px solid #F0B48C; border-radius: 4px; overflow: hidden; background: #FFF7F0; }
.th-scope .th-strack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.th-scope .th-strack::-webkit-scrollbar { display: none; }
.th-scope .th-slide { flex: 0 0 100%; aspect-ratio: 1 / 1; scroll-snap-align: center; position: relative; display: flex; align-items: center; justify-content: center; background: #fff; cursor: zoom-in; }
.th-scope .th-slide img { width: 100%; height: 100%; object-fit: contain; }
.th-scope .th-slide-art { gap: 10px; flex-wrap: wrap; padding: 30px; background: linear-gradient(160deg, #FFF3E6, #FDEFF4); cursor: default; }
.th-scope .th-slide-art svg { width: 30%; height: auto; }
.th-scope .th-sbadge { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, .95); color: #E0197A; font-weight: 800; font-size: 12px; padding: 4px 9px; border-radius: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.th-scope .th-plike-badge { position: absolute; right: 10px; top: 10px; width: 46px; height: 38px; border: 0; border-radius: 10px; background: #F07B4A; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(240, 123, 74, .35); transition: transform .1s; }
.th-scope .th-plike-badge::after { content: ""; position: absolute; left: 8px; bottom: -6px; border: 6px solid transparent; border-top-color: #F07B4A; border-bottom: 0; }
.th-scope .th-plike-badge svg { width: 22px; height: 22px; fill: #fff; }
.th-scope .th-plike-badge:active { transform: scale(.88); }
.th-scope .th-plike-badge.on { background: #E0197A; }
.th-scope .th-plike-badge.on::after { border-top-color: #E0197A; }
.th-scope .th-bigheart { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px; pointer-events: none; opacity: 0; }
.th-scope .th-bigheart svg { width: 100%; height: 100%; fill: #fff; filter: drop-shadow(0 4px 14px rgba(224, 25, 122, .55)); }
.th-scope .th-bigheart.go { animation: th-heart .8s ease both; }
.th-scope .th-sdots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.th-scope .th-sdots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.th-scope .th-sdots i.on { background: #E0197A; }
.th-scope .th-pact { display: flex; align-items: center; gap: 4px; padding: 8px 8px 2px; }
.th-scope .th-pact span { flex: 1; }
.th-scope .th-pact button { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: transform .1s, background .1s; }
.th-scope .th-pact button:active { transform: scale(.82); background: #FFF0F4; }
.th-scope .th-pact svg { width: 25px; height: 25px; fill: none; stroke: #E07A4F; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.th-scope .th-pact .th-a-like svg { fill: #F08A5D; stroke: #F08A5D; }
.th-scope .th-pact .th-a-like.on svg { fill: #E0197A; stroke: #E0197A; animation: th-pulsebadge .4s ease 1; }
.th-scope .th-pact .th-a-save.on svg { fill: #E07A4F; }
.th-scope .th-plikes { padding: 0 14px; font-size: 13.5px; color: #C2704F; font-weight: 600; }
.th-scope .th-plikes b { font-weight: 800; }
.th-scope .th-pcap { padding: 4px 14px 12px; font-size: 13px; line-height: 1.5; color: #444; }
.th-scope .th-pcap b { color: #222; }
.th-scope .th-pcap s { color: #999; }
.th-scope .th-pcap em { font-style: normal; color: #E0197A; font-weight: 800; }
.th-scope .th-tag { color: #C2704F; font-weight: 600; }

@keyframes th-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes th-heart { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; transform: scale(1.15); } 45% { transform: scale(.95); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05); } }
@media (max-width: 360px) {
	.th-scope .th-htitle { font-size: 23px; }
	.th-scope .th-script { font-size: 23px; }
	.th-scope .th-hmedia { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
	.th-scope .th-cimg, .th-scope .th-hchips span, .th-scope .th-hoff, .th-scope .th-bigheart.go { animation: none !important; }
}

/* ================= v2.3: plan chips, download app, alert banner ================= */
.th-scope .th-planq { margin: 12px 0 8px; font-weight: 800; font-size: 14px; color: var(--pk2); }
.th-scope .th-plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.th-scope .th-plan button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; cursor: pointer; font-size: 12.5px; color: var(--ink); transition: transform .08s, border-color .1s, background .1s; }
.th-scope .th-plan button i { font-style: normal; font-size: 20px; line-height: 1; }
.th-scope .th-plan button b { font-weight: 700; line-height: 1.2; text-align: center; }
.th-scope .th-plan button:active { transform: scale(.94); }
.th-scope .th-plan button.on.pl-today { background: #FFF1E6; border-color: #FF9A4D; color: #B4500F; box-shadow: 0 4px 12px rgba(255, 154, 77, .25); }
.th-scope .th-plan button.on.pl-week { background: #EAF4FF; border-color: #5AA2F0; color: #1C5FA8; box-shadow: 0 4px 12px rgba(90, 162, 240, .25); }
.th-scope .th-plan button.on.pl-enquiry { background: #F2ECFF; border-color: #9C7BEA; color: #5B32B8; box-shadow: 0 4px 12px rgba(156, 123, 234, .25); }
.th-scope .th-shake { animation: th-shake .5s ease; }
.th-scope .th-planchip { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.th-scope .th-planchip.pl-today { background: #FFF1E6; color: #B4500F; }
.th-scope .th-planchip.pl-week { background: #EAF4FF; color: #1C5FA8; }
.th-scope .th-planchip.pl-enquiry { background: #F2ECFF; color: #5B32B8; }

.th-scope .th-dlcard { width: 100%; margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 18px; cursor: pointer; text-align: left; color: #fff; background: linear-gradient(120deg, #E0197A 0%, #A8125A 55%, #6F3CD8 100%); box-shadow: 0 10px 24px rgba(168, 18, 90, .28); animation: th-in .45s ease both; transition: transform .08s; position: relative; overflow: hidden; }
.th-scope .th-dlcard::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -80px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)); animation: th-shine 3.2s ease-in-out infinite; }
.th-scope .th-dlcard:active { transform: scale(.98); }
.th-scope .th-dlcard img { width: 48px; height: 48px; border-radius: 13px; background: #fff; object-fit: contain; flex: none; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.th-scope .th-dlcard span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.th-scope .th-dlcard b { font-size: 16px; font-weight: 800; }
.th-scope .th-dlcard small { font-size: 12px; opacity: .92; font-weight: 500; }
.th-scope .th-dlcard i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--pk2); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px; flex: none; animation: th-bob 1.8s ease-in-out infinite; }
.th-scope .th-menu-dl { background: linear-gradient(120deg, #FFEAF3, #F2ECFF) !important; color: var(--pk2) !important; }

.th-scope .th-instbox { text-align: center; }
.th-scope .th-instlogo { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 10px 26px rgba(224, 25, 122, .25); margin: 4px auto 8px; display: block; background: #fff; }
.th-scope .th-insttitle { font-weight: 800; font-size: 17px; color: var(--pk2); }
.th-scope .th-steps { text-align: left; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 8px; }
.th-scope .th-steps li { counter-increment: st; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 10px 44px; position: relative; font-size: 14px; }
.th-scope .th-steps li::before { content: counter(st); position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--pk); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }

.th-scope .th-abanner { display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; background: #FFF4E5; border: 1px solid #F7D29A; color: #8A4B00; border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; font-size: 13.5px; }
.th-scope .th-abanner small { color: #9A6A2A; font-size: 12px; }
.th-scope .th-abanner.on { background: #EAF9F0; border-color: #B7E6CB; color: #12703F; }
.th-scope .th-abtns { display: flex; gap: 6px; }

@keyframes th-shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes th-shine { 0%, 60% { left: -80px; } 100% { left: 110%; } }

/* ===== v2.4 – Special Offer (bill value), categories, PIN-code address, pay note ===== */
.th-scope .th-spbanner { width: 100%; margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px solid #FFC94D; border-radius: 18px; cursor: pointer; text-align: left; background: linear-gradient(120deg, #FFF8E1 0%, #FFEAF3 100%); color: var(--ink); box-shadow: 0 8px 20px rgba(255, 167, 38, .22); animation: th-in .45s ease both; transition: transform .08s; }
.th-scope .th-spbanner:active { transform: scale(.98); }
.th-scope .th-spbanner img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: #fff; flex: 0 0 auto; border: 1px solid #FFE0A3; }
.th-scope .th-spbanner span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.th-scope .th-spbanner b { font-size: 16px; font-weight: 800; color: #B45309; }
.th-scope .th-spbanner small { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.th-scope .th-spbanner em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--pk2); }
.th-scope .th-menu-sp { background: linear-gradient(120deg, #FFF8E1, #FFEAF3) !important; color: #B45309 !important; }

.th-scope .th-spcheck input.sp-val { font-size: 22px; font-weight: 800; text-align: center; letter-spacing: .5px; color: #3a2c1a; border: 2px solid #FFC94D; border-radius: 14px; padding: 12px; width: 100%; background: #fff; }
.th-scope .sp-amt { text-align: center; font-weight: 800; color: var(--pk2); font-size: 15px; min-height: 20px; margin-top: 6px; }
.th-scope .th-spwin { margin-top: 10px; border: 2px solid #34C77B; background: #F0FFF6; border-radius: 16px; padding: 10px; text-align: center; animation: th-in .35s ease both; }
.th-scope .th-spwin-h { font-weight: 800; color: #12703F; font-size: 14px; margin-bottom: 8px; }
.th-scope .th-spwin .th-spimg { width: 100%; max-height: 360px; object-fit: contain; border-radius: 12px; background: #fff; cursor: zoom-in; }
.th-scope .th-spcap { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.th-scope .th-spcap b { font-size: 15px; font-weight: 800; color: var(--ink); }
.th-scope .th-spcap span { font-size: 12.5px; font-weight: 700; color: #B45309; }
.th-scope .th-spnext { margin-top: 8px; background: #FFF8E1; border: 1px dashed #FFC94D; color: #8A4B00; border-radius: 12px; padding: 8px 10px; font-weight: 700; font-size: 13px; text-align: center; }
.th-scope .th-spsub { margin: 14px 0 6px; font-weight: 800; color: var(--pk2); font-size: 14px; }
.th-scope .th-splist { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.th-scope .th-spcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; text-align: center; }
.th-scope .th-spcard .th-spimg { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; cursor: zoom-in; background: #FFF6EC; }
.th-scope .th-cartoffer:empty { display: none; }
.th-scope .th-cartoffer { margin-top: 10px; }
.th-scope .th-roffer { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 8px; border: 1px solid #B7E6CB; background: #F0FFF6; border-radius: 12px; }
.th-scope .th-roffer img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; background: #fff; cursor: zoom-in; }
.th-scope .th-roffer div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.th-scope .th-roffer small { font-weight: 800; color: #12703F; }
.th-scope .th-roffer span { font-size: 12px; color: #B45309; font-weight: 700; }
.th-scope .th-ooffer { margin-top: 4px; font-size: 12.5px; font-weight: 800; color: #12703F; }

/* categories */
.th-scope .th-catbar { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.th-scope .th-catbar::-webkit-scrollbar { display: none; }
.th-scope .th-catbar button { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 12.5px; padding: 7px 12px; border-radius: 20px; cursor: pointer; white-space: nowrap; }
.th-scope .th-catbar button.on { background: var(--pk); border-color: var(--pk); color: #fff; }
.th-scope .th-subbar button { font-size: 12px; padding: 5px 10px; background: var(--pkl2); }
.th-scope .th-subbar button.on { background: #FFC94D; border-color: #FFC94D; color: #3a2c1a; }
.th-scope .th-pcat { font-size: 11px; font-weight: 800; color: var(--pk2); text-transform: uppercase; letter-spacing: .3px; margin-top: 6px; }

/* PIN-code address */
.th-scope .th-addr { margin-top: 10px; padding: 10px; border: 1px dashed #F0B9D3; border-radius: 14px; background: var(--pkl2); }
.th-scope .th-addrh { font-weight: 800; color: var(--pk2); font-size: 13.5px; margin-bottom: 8px; }
.th-scope .ad-msg { font-size: 12.5px; font-weight: 700; color: var(--mute); min-height: 0; }
.th-scope .ad-msg:empty { display: none; }
.th-scope .ad-msg.ok { color: #12703F; }
.th-scope .ad-msg.bad { color: var(--red); }
.th-scope .ad-chips:empty { display: none; }
.th-scope .ad-chiph { font-size: 12.5px; font-weight: 800; color: #8A4B00; margin-bottom: 5px; }
.th-scope .ad-chiplist { display: flex; flex-wrap: wrap; gap: 6px; }
.th-scope .ad-chiplist button { border: 1px solid #FFC94D; background: #FFF8E1; color: #3a2c1a; font-weight: 700; font-size: 12.5px; padding: 6px 10px; border-radius: 18px; cursor: pointer; }
.th-scope .ad-chiplist button.on { background: #34C77B; border-color: #34C77B; color: #fff; }
.th-scope input.ad-auto { background: #EAFBF1 !important; transition: background .4s; }

/* pay note (no transaction ID) */
.th-scope .th-paynote { background: #F0FFF6; color: #12703F; border: 1px solid #B7E6CB; border-radius: 12px; padding: 9px 10px; font-size: 13px; font-weight: 700; margin-top: 10px; text-align: center; line-height: 1.5; }

/* admin – special offers editor */
.th-scope .th-offrows { display: flex; flex-direction: column; gap: 12px; margin: 10px 0; }
.th-scope .th-offrow { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 36px 12px 12px; }
.th-scope .of-prev { width: 110px; height: 110px; border-radius: 12px; border: 1px dashed #F0B9D3; background: var(--pkl2); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 700; color: var(--mute); overflow: hidden; }
.th-scope .of-prev img { width: 100%; height: 100%; object-fit: cover; }
.th-scope .of-minfmt { font-size: 12px; color: #12703F; font-weight: 800; }
.th-scope .of-add { width: 100%; margin-bottom: 8px; }
@media (max-width: 480px) {
	.th-scope .th-offrow { grid-template-columns: 1fr; }
	.th-scope .of-prev { width: 100%; height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
	.th-scope .th-spbanner, .th-scope .th-spwin { animation: none; }
}

/* =====================================================================
   v2.5 – smart, smooth buttons (same look as “Meet your new kitchen favourites”),
   Home button, Save/Modify/Reset dialog, payment check, guide demo, mobile auto-fit
   ===================================================================== */

/* ---- mobile auto-fit: nothing goes out of the screen ---- */
html, body.th-blank { max-width: 100%; overflow-x: hidden; }
#th-app { width: 100%; overflow-x: hidden; }
.th-scope img, .th-scope svg, .th-scope video { max-width: 100%; }
.th-scope .th-form input, .th-scope .th-form select, .th-scope .th-form textarea { width: 100%; max-width: 100%; min-width: 0; font-size: 16px; }
.th-scope .th-form-row > label, .th-scope .th-row2 > * { min-width: 0; }
.th-scope .th-poptitle { flex: 1; overflow: hidden; }
.th-scope .th-linename, .th-scope .th-pname, .th-scope .th-dlgq, .th-scope .th-linkbox, .th-scope td { overflow-wrap: anywhere; }
.th-scope .th-tablewrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.th-overlay { padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)); }
.th-scope .th-pop { max-width: min(100%, 480px); }
.th-pop-sm .th-pop { max-width: min(100%, 380px); }
.th-pop-md .th-pop { max-width: min(100%, 560px); }
.th-pop-full .th-pop { max-width: min(100%, 980px); }
.th-scope .th-filter { flex-wrap: wrap; }
.th-scope .th-filter input { flex: 1; min-width: 0; }
.th-scope .th-addrow select { min-width: 0; }
@media (max-width: 380px) {
	.th-scope .th-form-row { grid-template-columns: 1fr; }
	.th-scope .th-ractions { grid-template-columns: 1fr 1fr; }
	.th-scope .th-navs-row { flex-direction: column; }
}

/* ---- signature button look: white card, indigo border, soft offset shadow, smooth press ---- */
.th-scope .th-tile,
.th-scope .th-menulist button,
.th-scope .th-btn-light,
.th-scope .th-mini:not(.th-mini-red):not(.th-mini-pk),
.th-scope .th-toolbar button,
.th-scope .th-atabs button,
.th-scope .th-home,
.th-scope .th-guidebtn,
.th-scope .th-mebar,
.th-scope .th-catbar button,
.th-scope .th-plan button {
	background: #fff;
	border: 1.5px solid #3F51B5;
	color: #283593;
	box-shadow: 4px 4px 0 #C5CAE9;
	font-weight: 700;
	transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
	-webkit-tap-highlight-color: transparent;
}
.th-scope .th-tile:active,
.th-scope .th-menulist button:active,
.th-scope .th-btn-light:active,
.th-scope .th-mini:active,
.th-scope .th-toolbar button:active,
.th-scope .th-atabs button:active,
.th-scope .th-home:active,
.th-scope .th-guidebtn:active,
.th-scope .th-mebar:active,
.th-scope .th-catbar button:active,
.th-scope .th-plan button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #C5CAE9; background: #F5F6FF; }
.th-scope .th-tile, .th-scope .th-menulist button { border-radius: 14px; }
.th-scope .th-tile span, .th-scope .th-menulist button { color: #283593; }
.th-scope .th-mini:not(.th-mini-red):not(.th-mini-pk), .th-scope .th-toolbar button, .th-scope .th-atabs button, .th-scope .th-catbar button, .th-scope .th-plan button { box-shadow: 3px 3px 0 #C5CAE9; }
.th-scope .th-atabs button.on, .th-scope .th-catbar button.on { background: #3F51B5; color: #fff; box-shadow: 3px 3px 0 #9FA8DA; }
.th-scope .th-plan button.on { background: #E8EAF6; border-color: #283593; box-shadow: 3px 3px 0 #9FA8DA; }
.th-scope .th-toolbar .tb-green, .th-scope .th-atabs .th-stop-off { background: #EAF9F0; border-color: #12703F; color: #12703F; box-shadow: 3px 3px 0 #BFE8CF; }
.th-scope .th-toolbar .tb-red, .th-scope .th-atabs .th-stop-on { background: #FFF3F3; border-color: #B42323; color: #B42323; box-shadow: 3px 3px 0 #F5C2C2; }
.th-scope .th-atabs .th-atab-share { background: #EAFBF1; border-color: #13995A; color: #0E7A47; box-shadow: 3px 3px 0 #BFE8CF; }
.th-scope .th-toolbar { padding: 6px 4px 8px 0; }
.th-scope .th-menulist { padding: 0 4px 4px 0; }

/* coloured (primary) buttons get the same shape + offset shadow + smooth press */
.th-scope .th-btn:not(.th-btn-light), .th-scope .th-nav, .th-scope .th-mini-pk {
	border-radius: 14px;
	box-shadow: 4px 4px 0 #F8BBD9;
	transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
	-webkit-tap-highlight-color: transparent;
}
.th-scope .th-btn-wa, .th-scope .th-nav-wa, .th-scope .th-btn-green { box-shadow: 4px 4px 0 #BFE8CF; }
.th-scope .th-btn-pay { box-shadow: 4px 4px 0 #D7C8F5; }
.th-scope .th-btn:not(.th-btn-light):active, .th-scope .th-nav:active, .th-scope .th-mini-pk:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 rgba(0, 0, 0, .06); filter: brightness(1.04); }
.th-scope .th-btn-light { border-radius: 14px; }
.th-scope .th-btn-reset { background: #FFF3F3 !important; color: #B42323 !important; border: 1.5px solid #B42323 !important; box-shadow: 4px 4px 0 #F5C2C2 !important; }
.th-scope .th-row2 { padding: 0 4px 4px 0; }
.th-scope .th-btn-big { margin-right: 4px; width: calc(100% - 4px); }

/* ---- 🏠 Home button in every popup header ---- */
.th-scope .th-home { display: inline-flex; align-items: center; gap: 4px; flex: none; border-radius: 12px; padding: 5px 10px; font-size: 13px; cursor: pointer; box-shadow: 3px 3px 0 #C5CAE9; }
.th-scope .th-home span { font-size: 12.5px; }
@media (max-width: 360px) { .th-scope .th-home span { display: none; } }

/* ---- How to Order demo button on the home page ---- */
.th-scope .th-guidebtn { width: calc(100% - 4px); margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; cursor: pointer; text-align: left; animation: th-in .45s ease both; }
.th-scope .th-guidebtn i { font-style: normal; font-size: 26px; flex: none; }
.th-scope .th-guidebtn span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.th-scope .th-guidebtn b { font-size: 15px; font-weight: 800; color: #283593; }
.th-scope .th-guidebtn small { font-size: 12px; font-weight: 600; color: #5C6BC0; }
.th-scope .th-guidebtn em { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: #3F51B5; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; flex: none; animation: th-pulsebadge 1.6s ease-in-out infinite; }
.th-scope .th-menulist .th-menu-guide { background: #F5F6FF; }

/* ---- big-font dialogs (Save / Modify / Reset, I have paid, cancel) ---- */
.th-dlgpop .th-pop { max-width: min(100%, 400px); }
.th-scope .th-dlg { text-align: center; }
.th-scope .th-dlgic { font-size: 44px; line-height: 1; margin: 4px 0 8px; }
.th-scope .th-dlgq { font-size: 18px; font-weight: 800; color: #283593; line-height: 1.4; }
.th-scope .th-dlgbig { font-size: 30px; font-weight: 800; color: #12703F; margin: 8px 0 2px; }
.th-scope .th-dlgamt { font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 8px; }
.th-scope .th-dlgbtns { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.th-scope .th-dlgbtns .th-btn { flex-direction: column; gap: 2px; font-size: 17px; padding: 13px 12px; }
.th-scope .th-dlgbtns .th-btn small { font-size: 12.5px; font-weight: 600; opacity: .92; }
.th-scope .th-bigwarn { margin-top: 12px; background: #FFF6E5; color: #8A4B00; border: 2px solid #F5B942; border-radius: 14px; padding: 12px; font-size: 16px; font-weight: 800; text-align: center; line-height: 1.45; }

/* ---- payment check (full order + bill before paying) ---- */
.th-scope .th-pcnote { background: #E8EAF6; color: #283593; border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14.5px; margin-bottom: 10px; text-align: center; }
.th-scope .th-agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 12px; border: 2px dashed #3F51B5; border-radius: 14px; background: #fff; cursor: pointer; font-weight: 800; font-size: 15px; color: #283593; line-height: 1.45; }
.th-scope .th-agree input { width: 24px; height: 24px; flex: none; margin-top: 1px; accent-color: #12703F; }
.th-scope .th-pcbtns .th-btn { flex-direction: column; font-size: 15.5px; padding: 12px 8px; }
.th-scope .th-pcbtns .th-btn small { font-size: 14px; font-weight: 800; }
.th-scope .th-pcbtns .th-disabled { box-shadow: 4px 4px 0 #E5E0DA !important; }

/* ---- share link (admin) ---- */
.th-scope .th-linkbox { background: #F5F6FF; border: 1px dashed #3F51B5; border-radius: 10px; padding: 9px 10px; font-weight: 700; font-size: 13.5px; color: #283593; word-break: break-all; }
.th-scope .sl-msg { font-family: inherit; line-height: 1.45; }
.th-scope .sl-reset { margin-top: 8px; }

/* ---- customer guideline demo ---- */
.th-scope .gd-prog { height: 6px; background: #E8EAF6; border-radius: 6px; overflow: hidden; }
.th-scope .gd-prog i { display: block; height: 100%; background: linear-gradient(90deg, #3F51B5, #E0197A); border-radius: 6px; transition: width .4s ease; }
.th-scope .gd-card { text-align: center; padding: 14px 6px 6px; animation: th-up .35s ease both; }
.th-scope .gd-num { display: inline-block; background: #E8EAF6; color: #283593; font-weight: 800; font-size: 12.5px; padding: 4px 12px; border-radius: 20px; }
.th-scope .gd-ic { font-size: 50px; line-height: 1; margin: 12px 0 6px; animation: th-bob 1.8s ease-in-out infinite; }
.th-scope .gd-title { font-size: 20px; font-weight: 800; color: #283593; }
.th-scope .gd-text { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.55; margin-top: 6px; }
.th-scope .gd-mock { margin: 16px auto 4px; max-width: 300px; padding: 14px; background: #FFF7FB; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.th-scope .gd-row { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.th-scope .gd-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 14px; font-weight: 800; font-size: 15px; animation: gd-press 1.6s ease-in-out infinite; }
.th-scope .gd-pk { background: linear-gradient(135deg, var(--pk), var(--pk2)); color: #fff; box-shadow: 4px 4px 0 #F8BBD9; }
.th-scope .gd-gr { background: linear-gradient(135deg, #22B866, #128A4C); color: #fff; box-shadow: 4px 4px 0 #BFE8CF; }
.th-scope .gd-light { background: #fff; color: #283593; border: 1.5px solid #3F51B5; box-shadow: 4px 4px 0 #C5CAE9; }
.th-scope .gd-tap { position: absolute; right: -14px; bottom: -18px; font-style: normal; font-size: 26px; animation: gd-tap 1.6s ease-in-out infinite; }
.th-scope .gd-step { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 10px; font-weight: 800; }
.th-scope .gd-step b { color: var(--pk2); font-size: 18px; }
.th-scope .gd-bar { position: relative; width: 100%; display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--pk), var(--pk2)); color: #fff; border-radius: 14px; padding: 10px 12px; font-weight: 700; animation: gd-press 1.6s ease-in-out infinite; }
.th-scope .gd-bar span { margin-left: auto; background: #fff; color: var(--pk2); border-radius: 10px; padding: 5px 10px; font-size: 12.5px; font-weight: 800; }
.th-scope .gd-field { width: 100%; background: #fff; border: 1.5px solid #E2D6DC; border-radius: 10px; padding: 9px 11px; text-align: left; font-weight: 700; font-size: 13.5px; color: var(--mute); }
.th-scope .gd-field.gd-on { background: #FFF9C4; border-color: #F5B942; color: var(--ink); animation: gd-glow 1.6s ease-in-out infinite; }
.th-scope .gd-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.th-scope .gd-chips span { background: #EAF9F0; color: #12703F; border: 1px solid #A8E2BE; border-radius: 16px; padding: 5px 10px; font-weight: 800; font-size: 12.5px; }
.th-scope .gd-chips span.on { background: #3F51B5; color: #fff; border-color: #3F51B5; }
.th-scope .gd-bill { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: 13.5px; }
.th-scope .gd-bill div { display: flex; justify-content: space-between; padding: 3px 0; }
.th-scope .gd-bill .gd-tot { border-top: 1px dashed var(--line); margin-top: 3px; padding-top: 6px; font-weight: 800; color: #12703F; font-size: 15px; }
.th-scope .gd-tick { position: relative; font-weight: 800; color: #12703F; font-size: 15px; }
.th-scope .gd-qr { width: 64px; height: 64px; border-radius: 12px; background: #fff; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--ink); }
.th-scope .gd-dots { display: flex; justify-content: center; gap: 6px; margin: 12px 0 2px; flex-wrap: wrap; }
.th-scope .gd-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D7DBF2; cursor: pointer; transition: width .2s ease, background .2s ease; }
.th-scope .gd-dots i.on { width: 22px; border-radius: 6px; background: #3F51B5; }
.th-scope .gd-prev[disabled] { opacity: .45; }
@keyframes gd-press { 0%, 55%, 100% { transform: none; } 65% { transform: translate(3px, 3px) scale(.97); } 80% { transform: none; } }
@keyframes gd-tap { 0%, 50%, 100% { transform: translate(0, 0); } 65% { transform: translate(-4px, -6px) scale(.9); } }
@keyframes gd-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 185, 66, .0); } 50% { box-shadow: 0 0 0 5px rgba(245, 185, 66, .25); } }

@media (prefers-reduced-motion: reduce) {
	.th-scope .gd-card, .th-scope .gd-ic, .th-scope .gd-btn, .th-scope .gd-tap, .th-scope .gd-bar, .th-scope .gd-field, .th-scope .th-guidebtn, .th-scope .th-guidebtn em { animation: none !important; }
	.th-scope .th-tile, .th-scope .th-btn, .th-scope .th-nav, .th-scope .th-home { transition: none !important; }
}

/* ---- bill items as cards on mobile (no sideways scrolling) ---- */
@media (max-width: 560px) {
	.th-overlay .th-rtable thead { display: none; }
	.th-overlay .th-rtable, .th-overlay .th-rtable tbody { display: block; width: 100%; }
	.th-overlay .th-rtable tr { display: grid; grid-template-columns: 28px 1fr 1fr; gap: 2px 8px; padding: 9px 4px; border-bottom: 1px dashed var(--line); }
	.th-overlay .th-rtable td { display: flex; justify-content: space-between; gap: 6px; border: 0 !important; padding: 1px 0 !important; text-align: right; font-size: 13px; }
	.th-overlay .th-rtable td[data-l]::before { content: attr(data-l); color: var(--mute); font-weight: 600; text-align: left; }
	.th-overlay .th-rtable td.rt-sl { grid-row: span 4; font-weight: 800; color: var(--pk2); justify-content: flex-start; }
	.th-overlay .th-rtable td.rt-name { grid-column: 2 / 4; display: block; text-align: left; font-weight: 800; font-size: 14px; }
	.th-overlay .th-rtable td.rt-amt { grid-column: 2 / 4; font-size: 14.5px; color: #12703F; }
	.th-overlay .th-rtable td.rt-amt::before { color: #12703F; font-weight: 800; }
	.th-overlay .th-tablewrap:has(.th-rtable) { overflow: visible; }
}
