/* Global header and footer (Rayan, 10 Nov): the same on every page that is not part of a sale. Scoped to .site-hd /
   .site-ft so it looks identical on shop pages (shop.css) and on the library, legal and error pages (store.css).
   Bangla is never weight 700 (it breaks "দ্য"): menu and column titles use the semibold file. */
@font-face{font-family:"Hind Siliguri";src:url(/fonts/hind-siliguri-semibold.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Hind Siliguri";src:url(/fonts/hind-siliguri-bold.woff2) format("woff2");font-weight:600;font-display:swap;unicode-range:U+09E6-09EF}
.site-hd,.site-ft{--sx-red:#E60000;--sx-red-text:#E00000;--sx-title:#111;--sx-line:#ECE6DF;--sx-band:#FAF9F8;--sx-night:#111;font-family:"Hind Siliguri","Noto Sans Bengali",sans-serif;box-sizing:border-box}
.site-hd *,.site-ft *{box-sizing:border-box}
.site-hd .wrap,.site-ft .wrap{max-width:1140px;margin:0 auto;padding-inline:max(16px,env(safe-area-inset-left,0px))}
.site-hd{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid var(--sx-line);backdrop-filter:saturate(1.4) blur(8px);-webkit-backdrop-filter:saturate(1.4) blur(8px)}
.site-hd .hd-in{display:flex;align-items:center;justify-content:space-between;gap:12px;height:64px}
.site-hd .logo{display:inline-flex}
.site-hd .logo img{height:46px;width:auto;display:block}
.site-hd .nav{display:flex;align-items:center;gap:4px}
.site-hd .nav a{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;text-decoration:none;font-weight:600;font-size:15px;line-height:1.3;color:var(--sx-title);white-space:nowrap}
.site-hd .nav a:hover,.site-hd .nav a[aria-current]{background:var(--sx-band)}
.site-hd .nav a[aria-current]{color:var(--sx-red-text)}
.site-hd .nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-hd .nav .cart{position:relative}
.site-hd .cart-n{position:absolute;top:2px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--sx-red);color:#fff;font-size:11px;line-height:18px;text-align:center}
.site-hd .cart-n[hidden]{display:none}
.site-ft{background:var(--sx-night);color:#CFC9C2;margin-top:auto;padding-top:56px}
.site-ft .ft-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.site-ft .ft-brand img{height:44px;width:auto;filter:brightness(0) invert(1);display:block;margin:0 0 8px}
.site-ft .ft-tag{display:grid;gap:2px;margin:0;font-size:15px;line-height:1.5;color:#fff;font-weight:600}
.site-ft .ft-pay{width:427px;max-width:100%;height:auto;display:block;flex:none}
.site-ft .ft-box{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap;padding:20px 22px;margin-bottom:28px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.site-ft .ft-box b{display:block;color:#fff;font-size:15px;font-weight:600;margin-bottom:8px}
.site-ft .ft-box p{display:flex;flex-wrap:wrap;gap:6px 24px;margin:0}
.site-ft .ft-box a{display:inline-flex;align-items:center;gap:8px;color:#CFC9C2;text-decoration:none;font-size:15px}
.site-ft .ft-box a:hover{color:#fff}
.site-ft .ft-box svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.site-ft .ft-links{text-align:right}
.site-ft .ft-links p{justify-content:flex-end}
.site-ft .foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;max-width:1140px;margin:0 auto;padding:18px max(16px,env(safe-area-inset-left,0px)) 24px;border-top:1px solid rgba(255,255,255,.1);background:none;font:400 13px/1.6 Arial,sans-serif;color:#9A948D;text-align:left}
.site-ft .foot nav{display:flex;gap:16px;flex-wrap:wrap;justify-content:flex-start}
.site-ft .foot a{color:#CFC9C2;text-decoration:none;display:inline-block;padding-block:3px;font-size:13px}
.site-ft .foot a:hover{color:#fff}
@media (max-width:767px){
  .site-hd .hd-in{height:58px}
  .site-hd .logo img{height:38px}
  .site-hd .nav a{padding:8px 9px;font-size:14px}
  .site-hd .hide-sm{display:none}
  .site-ft{padding-top:40px}
  .site-ft .ft-top{flex-direction:column;align-items:flex-start;gap:18px}
  .site-ft .ft-pay{width:100%}
  .site-ft .ft-box{flex-direction:column;gap:18px;padding:18px}
  .site-ft .ft-links{text-align:left}
  .site-ft .ft-links p{justify-content:flex-start}
  .site-ft .foot{flex-direction:column;align-items:flex-start}
}
@media (max-width:374px){.site-hd .nav a{padding:8px 7px}}

/* Footer tweaks (Rayan, 10 Nov): tagline no wider than the logo (two fixed lines), logo nudged left (its picture has
   empty space on both sides: 65 of 740 px), smaller payment logos that stay beside the logo on phones too, no "শপ"
   title, centred bottom row. */
.site-ft .ft-brand{display:flex;flex-direction:column;width:fit-content;flex:none}
.site-ft .ft-brand img{height:58px;margin:0 0 2px -13px}
.site-ft .ft-tag{width:calc(100% - 13px);font-size:12px;line-height:1.4;display:grid;gap:0}
.site-ft .ft-tag span{white-space:nowrap}
.site-ft .ft-pay{width:340px}
.site-ft .ft-box{align-items:flex-end}
.site-ft .ft-links p{gap:6px 22px}
.site-ft .foot{flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:6px}
.site-ft .foot nav{justify-content:center;order:-1}
@media (max-width:767px){
  .site-ft .ft-top{flex-direction:row;align-items:center;gap:14px}
  .site-ft .ft-brand img{height:56px;margin-left:-12px}
  .site-ft .ft-tag{font-size:10.5px;width:calc(100% - 12px)}
  .site-ft .ft-pay{width:auto;flex:1;min-width:0;max-width:210px;margin-left:auto}
  .site-ft .ft-box{align-items:flex-start}
  .site-ft .foot{align-items:center}
}

/* Footer polish (Rayan, 10 Nov): payment logos as tall as the logo and never stretched; a light tagline like laoshi's;
   link hover animation; the bottom row in the site font (it was Arial). */
.site-ft .ft-pay{height:58px;width:auto;max-width:none}
.site-ft .ft-tag{font-weight:400;color:#A8A19A;font-size:12px}
.site-ft .ft-box a,.site-ft .foot a{background:linear-gradient(currentColor,currentColor) left 100%/0 1px no-repeat;padding-bottom:2px;transition:background-size .25s ease,color .2s ease}
.site-ft .ft-box a:hover,.site-ft .foot a:hover{background-size:100% 1px;color:#fff}
.site-ft .ft-box a svg{transition:transform .2s ease}
.site-ft .ft-box a:hover svg{transform:translateY(-1px)}
.site-ft .foot{font:400 13px/1.6 "Hind Siliguri","Noto Sans Bengali",sans-serif}
.site-ft .foot a{font-size:13px}
@media (max-width:767px){
  .site-ft .ft-pay{height:auto;width:100%;max-width:200px}
  .site-ft .ft-tag{font-size:10.5px}
}
@media (prefers-reduced-motion:reduce){.site-ft .ft-box a,.site-ft .foot a,.site-ft .ft-box a svg{transition:none}}

/* Footer brand like laoshi (Rayan, 10 Nov): a bigger logo, the tagline on ONE line no wider than the logo, and the payment
   logos no taller than the visible logo. The logo picture has empty space around it (65 of 740 px each side, 56 of
   292 px top and bottom), so the sizes below are worked out from the visible mark. */
.site-ft .ft-brand img{height:80px;margin:-14px 0 -10px -16.2px}
.site-ft .ft-tag{width:auto;font-size:11.15px;line-height:1.3;white-space:nowrap;letter-spacing:.01em}
.site-ft .ft-pay{height:40px;width:auto}
@media (max-width:767px){
  .site-ft .ft-brand img{height:72px;margin:-12px 0 -9px -14.6px}
  .site-ft .ft-tag{font-size:9.95px}
  .site-ft .ft-pay{height:auto;width:100%;max-width:190px}
}

/* (Rayan, 10 Nov) Tagline exactly as wide as the visible logo (measured: the mark is 81% of the picture, starting 8.8% in;
   the tagline is 13.9 px wide per 1 px of font size). No divider above the bottom row. Thinner footer menus: the
   English policy links in Poppins Light, the Bangla links a size smaller and softer. Only the phone number is a link. */
.site-ft .ft-tag{letter-spacing:0}
.site-ft .foot{border-top:0;padding-top:4px}
@font-face{font-family:"Poppins";src:url(/fonts/poppins-light.woff2) format("woff2");font-weight:300;font-display:swap}
.site-ft .foot nav a{font:300 13px/1.6 "Poppins","Hind Siliguri",sans-serif;color:#BDB6AF}
.site-ft .foot>span{font-weight:400;color:#8C857E}
.site-ft .ft-links a{font-size:14px;color:#BDB6AF}
.site-ft .ft-plain{display:inline-flex;align-items:center;gap:8px;color:#CFC9C2;font-size:15px}
.site-ft .ft-plain svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Global header = option C (Rayan, 10 Nov): a floating rounded bar. Same space at both ends: the logo picture has
   8.8% empty space on its left, so it is pulled left by that much; the round icons sit 10 px from the bar's end. It gets
   slimmer when the page scrolls. Icons only (account, cart) on every screen. */
.site-hd{position:sticky;top:0;z-index:30;background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;padding:12px 16px 0;transition:padding .25s ease;pointer-events:none}
.site-hd .hd-in{pointer-events:auto;max-width:1140px;margin:0 auto;height:62px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:999px;background:rgba(255,255,255,.9);border:1px solid #EEE6DF;box-shadow:0 12px 30px -16px rgba(40,20,10,.35);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);transition:height .25s ease,box-shadow .25s ease}
.site-hd .logo img{height:46px;width:auto;margin-left:-10.2px;transition:height .25s ease,margin .25s ease}
.site-hd .nav{gap:8px}
.site-hd .nav a.nav-ic{width:42px;height:42px;padding:0;justify-content:center;border-radius:50%;background:#F6F1EC;color:#222;transition:background .2s,color .2s,width .25s,height .25s}
.site-hd .nav a.nav-ic:hover{background:#FFF1F1;color:var(--sx-red-text)}
.site-hd .nav a.nav-ic[aria-current]{background:#FFF1F1;color:var(--sx-red-text)}
.site-hd .nav svg{width:20px;height:20px}
.site-hd .cart-n{top:-3px;right:-3px;border:2px solid #fff;font-weight:600}
.site-hd.is-small{padding-top:6px}
.site-hd.is-small .hd-in{height:52px;box-shadow:0 14px 32px -14px rgba(40,20,10,.42)}
.site-hd.is-small .logo img{height:38px;margin-left:-8.4px}
.site-hd.is-small .nav a.nav-ic{width:36px;height:36px}
@media (max-width:767px){
  .site-hd{padding:8px 10px 0}
  .site-hd .hd-in{height:56px;padding:0 8px}
  .site-hd .logo img{height:40px;margin-left:-8.9px}
  .site-hd .nav a.nav-ic{width:40px;height:40px}
  .site-hd.is-small{padding-top:4px}
  .site-hd.is-small .hd-in{height:50px}
  .site-hd.is-small .logo img{height:34px;margin-left:-7.6px}
  .site-hd.is-small .nav a.nav-ic{width:34px;height:34px}
}
@media (prefers-reduced-motion:reduce){.site-hd,.site-hd .hd-in,.site-hd .logo img,.site-hd .nav a.nav-ic{transition:none}}
/* Logo a little further in from the left, as before (Rayan, 10 Nov): no pull-left, a bit more room on that side. */
.site-hd .hd-in{padding-left:18px}
.site-hd .logo img,.site-hd.is-small .logo img{margin-left:0}
@media (max-width:767px){.site-hd .hd-in{padding-left:14px}.site-hd .logo img,.site-hd.is-small .logo img{margin-left:0}}

/* Footer in English, one font (Rayan, 10 Nov): Poppins Light for the contact items, the links, the policy links and the
   copyright. Bottom row: copyright on the left, policy links on the right (same size); phones: both centred, copyright last. */
.site-ft .ft-box b{font:600 15px/1.4 "Poppins","Hind Siliguri",sans-serif;letter-spacing:.01em}
.site-ft .ft-box a,.site-ft .ft-plain,.site-ft .ft-links a{font:300 14px/1.6 "Poppins","Hind Siliguri",sans-serif;color:#C9C2BB}
.site-ft .foot{flex-direction:row;justify-content:space-between;align-items:center;text-align:left;gap:10px 24px;padding-top:6px}
.site-ft .foot nav{order:2;justify-content:flex-end}
.site-ft .foot>span,.site-ft .foot nav a{font:300 13px/1.6 "Poppins","Hind Siliguri",sans-serif;color:#A8A19A}
.site-ft .foot>span{order:1}
@media (max-width:767px){
  .site-ft .foot{flex-direction:column;justify-content:center;text-align:center;gap:8px}
  .site-ft .foot nav{order:1;justify-content:center}
  .site-ft .foot>span{order:2}
}
@font-face{font-family:"Montserrat";src:url(/fonts/montserrat-semibold.woff2) format("woff2");font-weight:600;font-display:swap}
.site-ft .ft-box b{font:600 14px/1.4 "Montserrat","Hind Siliguri",sans-serif;letter-spacing:.02em}
/* Book pages load the sales-page styles too: no "|" separators in the global footer, and room above the buy bar. */
.site-ft .foot nav a::before,.site-ft .foot nav a::after{content:none;display:none}
.site-ft .foot nav{gap:6px 20px}
.site-ft .foot nav a{margin:0;padding-inline:0;border:0}
body:has(.buybar) .site-ft .foot{padding-bottom:104px}
@media (max-width:767px){body:has(.buybar) .site-ft .foot{padding-bottom:150px}}
/* Header cart stands out a little: soft red with a red outline, like the buy bar cart (Rayan, 10 Nov, option B). */
.site-hd .nav a.nav-ic.cart{background:#FFF1F1;border:1.5px solid #FFB3B3;color:var(--sx-red-text)}
.site-hd .nav a.nav-ic.cart:hover{background:var(--sx-red);border-color:var(--sx-red);color:#fff}
/* Room under the footer for the buy bar: tablet two-row bar, computer corner card (Rayan, 10 Nov). */
@media (min-width:768px){body:has(.buybar) .site-ft .foot{padding-bottom:170px}}
/* Footer contact (Rayan, 10 Nov): phone opens WhatsApp, email opens the mail app. The hover underline sits under the text only, not the icon. */
.site-ft .ft-box a.ft-ct{background:none;padding-bottom:0}
.site-ft .ft-box a.ft-ct span{background:linear-gradient(currentColor,currentColor) left 100%/0 1px no-repeat;padding-bottom:2px;transition:background-size .25s ease}
.site-ft .ft-box a.ft-ct:hover span,.site-ft .ft-box a.ft-ct:focus-visible span{background-size:100% 1px}
@media (prefers-reduced-motion:reduce){.site-ft .ft-box a.ft-ct span{transition:none}}
/* Footer logo a little smaller (Rayan, 10 Nov): 80 → 70 px (phone 72 → 64). The tagline shrinks with it so it stays as wide as the logo. */
.site-ft .ft-brand img{height:70px;margin:-12.25px 0 -8.75px -14.2px}
.site-ft .ft-tag{font-size:9.76px}
@media (max-width:767px){
  .site-ft .ft-brand img{height:64px;margin:-10.7px 0 -8px -13px}
  .site-ft .ft-tag{font-size:8.84px}
}
/* Header (Rayan, 10 Nov): no shaking. The header area keeps ONE height, so the page under it never moves when the bar
   gets slimmer; the bar lines up with the page content (1108 px) and only gets a little shorter on scroll. */
.site-hd,.site-hd.is-small{height:74px;padding-top:12px}
.site-hd .hd-in{max-width:1108px;transition:height .3s ease,box-shadow .3s ease}
.site-hd.is-small .hd-in{height:56px}
.site-hd.is-small .logo img{height:42px}
.site-hd.is-small .nav a.nav-ic{width:38px;height:38px}
@media (max-width:767px){
  .site-hd,.site-hd.is-small{height:64px;padding-top:8px}
  .site-hd.is-small .hd-in{height:52px}
  .site-hd.is-small .logo img{height:37px}
  .site-hd.is-small .nav a.nav-ic{width:36px;height:36px}
}
/* Tagline = exactly the logo's width in every browser. Some browsers have a minimum font size (12 px), so the text is
   set at 12 px and scaled down instead (the scale is never blocked). 12 px text = 163.5 px wide; the logo mark is
   132.4 px wide at 70 px tall (121 px at 64 px). */
.site-ft .ft-tag{font-size:12px;display:block;transform:scale(.81);transform-origin:left top;margin-bottom:-3px;width:max-content}
@media (max-width:767px){.site-ft .ft-tag{font-size:12px;transform:scale(.74);margin-bottom:-4px}}
/* Footer bottom (Rayan, 10 Nov): a thin divider above the copyright row again, as wide as the content, on every screen;
   normal space under it (the buy bar slides away over the footer instead). */
.site-ft .foot{border-top:0;margin-top:0;padding-top:18px;background:linear-gradient(rgba(255,255,255,.1),rgba(255,255,255,.1)) center top/calc(100% - 2*max(16px,env(safe-area-inset-left,0px))) 1px no-repeat}
.site-ft .ft-box{margin-bottom:26px}
body:has(.buybar) .site-ft .foot,.site-ft .foot{padding-bottom:24px}
/* Phone and tablet: the menu (All eBooks, My Library, Help and FAQ) spreads across the full width, under a divider. */
@media (max-width:1023px){
  .site-ft .ft-box{flex-direction:column;align-items:stretch;gap:14px}
  .site-ft .ft-links{width:100%;text-align:center;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}
  .site-ft .ft-links p{justify-content:space-around;gap:6px 12px}
}
/* Footer logo = the payment logos' height (Rayan, 10 Nov). The logo file has empty space above and below the mark
   (the mark is 70% of the file's height), so the image is sized so the visible mark is 40 px tall like the payment
   strip (phone: about 36 px, like the phone strip). The tagline scale follows the mark's width. */
.site-ft .ft-brand img{height:57px;margin:-10px 0 -7.1px -11.6px}
.site-ft .ft-tag{transform:scale(.66);margin-bottom:-4px}
.site-ft .ft-pay{height:40px}
@media (max-width:767px){
  .site-ft .ft-brand img{height:52px;margin:-9.1px 0 -6.5px -10.5px}
  .site-ft .ft-tag{transform:scale(.6);margin-bottom:-5px}
}
/* The payment logos line up with the logo mark (same top, same height). */
.site-ft .ft-top{align-items:flex-start}
/* Logo keeps its own shape (the tagline's width must not stretch it). Logo file 740×292: the mark starts 8.78% in and
   is 81.01% wide. Computer: 57 px tall = 144.7 px wide, mark 117.2 px; phone: 52 px = 132 px wide, mark 106.9 px.
   Payment logos = the mark's height (40 / 36 px). */
.site-ft .ft-brand{align-items:flex-start}
.site-ft .ft-brand img{width:auto;margin-left:-12.7px}
.site-ft .ft-tag{transform:scale(.717)}
@media (max-width:767px){
  .site-ft .ft-brand img{margin-left:-11.6px}
  .site-ft .ft-tag{transform:scale(.654)}
  .site-ft .ft-pay{height:36px;width:auto;max-width:none}
}
/* Account menu (signed in): My Library, change password, log out (Rayan, 10 Nov). */
.site-hd .acc-menu{position:relative}
.site-hd .acc-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center}
.site-hd .acc-menu summary::-webkit-details-marker{display:none}
.site-hd .acc-menu[open] summary,.site-hd .acc-menu summary[aria-current]{background:#FFF1F1;color:var(--sx-red-text)}
.site-hd .acc-pop{position:absolute;right:0;top:calc(100% + 10px);width:220px;background:#fff;border:1px solid #EEE6DF;border-radius:14px;box-shadow:0 18px 40px -16px rgba(40,20,10,.4);padding:6px;z-index:40}
.site-hd .acc-pop a,.site-hd .acc-pop button{display:flex;gap:10px;align-items:center;width:100%;padding:10px 12px;border-radius:10px;font:400 15px/1.3 "Hind Siliguri","Noto Sans Bengali",sans-serif;color:#222;text-decoration:none;background:none;border:0;cursor:pointer;text-align:left}
.site-hd .acc-pop a:hover,.site-hd .acc-pop button:hover{background:#F6F1EC}
.site-hd .acc-pop svg{width:18px;height:18px;color:#8C857E;flex:none}
.site-hd .acc-pop button{color:#C80000}.site-hd .acc-pop button svg{color:#C80000}
.site-hd .acc-pop i{display:block;height:1px;background:#EEE6DF;margin:4px 6px}
.site-hd .acc-pop form{margin:0}
/* The signed-in person icon (a menu button) looks exactly like the other header icons. */
.site-hd .nav summary.nav-ic{width:42px;height:42px;padding:0;justify-content:center;border-radius:50%;background:#F6F1EC;color:#222;transition:background .2s,color .2s,width .25s,height .25s}
.site-hd .nav summary.nav-ic:hover{background:#FFF1F1;color:var(--sx-red-text)}
.site-hd.is-small .nav summary.nav-ic{width:38px;height:38px}
@media (max-width:767px){.site-hd .nav summary.nav-ic{width:40px;height:40px}.site-hd.is-small .nav summary.nav-ic{width:36px;height:36px}}

/* Footer logo links home (Rayan, 11 Nov). */
.site-ft .ft-logo{display:block;width:fit-content;line-height:0}
/* Header with gently rounded corners instead of a pill (Rayan, 11 Nov: "use the prototype's header"). */
.site-hd .hd-in{border-radius:18px;padding:0 12px 0 18px}
@media (max-width:767px){.site-hd .hd-in{border-radius:16px;padding:0 10px 0 14px}}

/* Footer fully black, top and bottom line alike (Rayan, 11 Nov) */
.site-ft{background:#000} /* the bottom line keeps its own thin divider (a background line on .foot) */

/* Dark title band under the floating header (policies, 404/500; Rayan, 12 Nov): the band slides up behind the header,
   so the header floats on the dark band and no light strip shows above it. 74 = 12 top gap + 62 header (phone 8 + 56). */
.site-hd ~ .pol-hero{margin-top:-74px;padding-top:74px}
@media (max-width:767px){.site-hd ~ .pol-hero{margin-top:-64px;padding-top:64px}}
.site-hd:has(~ .pol-hero) .hd-in{background:#fff;border-color:transparent}

/* ===== NS Empire design system (Rayan "fix all", 15 Nov): header and footer have ONE line height on every page (the
   footer was 110 / 117 / 130 px tall depending on the page), phones keep a 12 px side gap, and the page ends with room
   under the footer so the floating chat button never covers the policy links. ===== */
.site-hd,.site-ft{line-height:1.55}
@media (max-width:767px){
  .site-hd,.site-hd.is-small{padding-left:12px;padding-right:12px}
  .site-ft .wrap{padding-inline:max(12px,env(safe-area-inset-left,0px))}
  body:not(:has(.buybar)) .site-ft .foot{padding-bottom:84px}
}
.site-ft .foot>span{padding:0;margin:0}
.site-ft .ft-box{border-radius:16px}

/* ===== BUTTON SYSTEM (Rayan, 15 Nov: look B). Five types:
   1 Buy = .cta (page.css, MLC) and Pay Now .paybtn (checkout) — red, rim, shine: unchanged.
   2 Main (one per form, full width, 56 px): login/reset .auth-btn, get link .tyb-btn.
   3 Pair (two choices, 52 px): secondary LEFT (light grey, no line), primary RIGHT (solid red, soft glow). Computers: on the
     title's row at the right; phones: full width, primary on top. Error pages .err-btn, thank-you help, closed store.
   Main + pair: 12 px corners, 600 18 px Hind Siliguri, icon 20 px with a 10 px gap, no rim, no shine.
   4 Back = small pill badge (.auth-back).  5 Round icon buttons (account, cart, chat) — unchanged. ===== */
body .err-btn,body .ty-help-btns .btn,body .tya-hb .btn,body .auth-btn,body .tyb-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;min-height:52px;padding:0 24px;border:0;border-radius:12px;font:600 18px/1 "Hind Siliguri","Noto Sans Bengali",sans-serif;letter-spacing:0;text-decoration:none;white-space:nowrap;box-sizing:border-box;position:relative;overflow:visible;transform:none;background:#F3EFEB;color:#111;box-shadow:none;animation:none;transition:background .2s,box-shadow .2s}
body .err-btn::before,body .ty-help-btns .btn::before,body .tya-hb .btn::before,body .auth-btn::before,body .tyb-btn::before{content:none;display:none}
body .err-btn:hover,body .ty-help-btns .btn:hover,body .tya-hb .btn:hover{background:#EAE3DC;color:#111;transform:none}
body .err-btn:not(.sec),body .ty-help-btns .btn.pri,body .tya-hb .btn.pri,body .auth-btn,body .tyb-btn{background:#E60000;color:#fff;box-shadow:0 10px 22px -8px rgba(230,0,0,.55)}
body .err-btn:not(.sec):hover,body .ty-help-btns .btn.pri:hover,body .tya-hb .btn.pri:hover,body .auth-btn:hover,body .tyb-btn:hover{background:#CC0000;color:#fff}
body .auth-btn,body .tyb-btn{width:100%;height:56px;min-height:56px}
body .err-btn svg,body .ty-help-btns .btn svg,body .tya-hb .btn svg,body .tyb-btn svg{display:block;width:20px;height:20px;flex:none;margin:0}
body .tya-hb .btn svg.fill{fill:currentColor}
/* Bangla optical centring (measured 15 Nov): the letter body sat 1.7 px high, so the text moves 1.5 px down and the icon stays centred. */
body .err-btn,body .ty-help-btns .btn,body .tya-hb .btn,body .auth-btn,body .tyb-btn{padding-top:3px;padding-bottom:0}
body .err-btn svg,body .ty-help-btns .btn svg,body .tya-hb .btn svg,body .tyb-btn svg{position:relative;top:-1.5px}
body .btn.lg.auth-btn,body .btn.tyb-btn{padding:3px 24px 0}
body .err-btn.sec,body .pol-doc .err-btn.sec{background:#F3EFEB;color:#111;border:0}
body .err-btn.sec:hover,body .pol-doc .err-btn.sec:hover{background:#EAE3DC;border:0}

/* Footer bottom row (Rayan, 18 Nov): on 768-1320 px screens the links reach the right edge, where the floating chat button sits (it covered "Terms & Conditions"). Extra space under the row lifts the links above the button at the end of the page; nothing moves sideways. */
@media (min-width:768px) and (max-width:1320px){body:has(.ns-chat) .site-ft .foot{padding-bottom:86px}}

/* Footer links on small phones (Rayan, 18 Nov): at 360 px "Terms & Conditions" wrapped alone (3 links 296 px + 2 x 20 px gaps > 328 px). Narrower gaps below 400 px keep all three on one line; text size unchanged. */
@media (max-width:400px){body .site-ft .foot nav{column-gap:clamp(8px,calc((100vw - 340px) / 2),20px)}}

/* Footer bottom row (Rayan, 18 Nov): no divider above the copyright (store.css drew one on phones); copyright sentences never split
   (break only after the full stop); when menu and copyright cannot share one line (below 820 px), both are centered, menu on top. */
.site-ft .foot>span{border-top:0;width:auto}
.site-ft .foot .cp{white-space:nowrap}
@media (max-width:819px){.site-ft .foot{flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:8px}.site-ft .foot nav{order:1;justify-content:center}.site-ft .foot>span{order:2}}
