/* ============ BEGIN 538874 refine: M.P. Departmental Stores (mock: mpdbooks-v2, shpy-wix.b-cdn.net/mpdbooks-v2/) ============
   Storefront: easy-checkout page-builder ("basic" theme; desktop/phone header picked by user agent; HTML
   collections inline, so the .sx blocks at the end style them from here). The store had no custom CSS before.
   Brand colour = store_setting.theme_color (#1262A1, --secondary-main); body font = store_setting.font_family (Hind).
   Every rule says what was wrong. */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600..800&family=Hind:wght@400;500;600;700&display=swap");

/* ---------- 1. Tokens + fonts ----------
   Was: Noto Sans, default red theme colour, header painted in the theme colour with white icons (no admin setting). */
html:root{
  --mp-brand:var(--secondary-main,#1262a1);--mp-brand-dark:#0d4e82;--mp-navy:#2c4693;--mp-ink:#14213d;--mp-muted:#5a6980;
  --mp-line:#e1e7f0;--mp-tint:#f2f6fb;--mp-deal:#c8161d;--mp-yellow:#ffc72c;
  --mp-font:"Hind",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mp-display:"Bricolage Grotesque","Hind",system-ui,sans-serif;
  --typography-font-family:var(--mp-font) !important;
  --header-main:#ffffff !important;--header-contrast-text:var(--mp-ink) !important;
  --header-accent:var(--mp-ink) !important;--header-badge-main:var(--mp-deal) !important;--header-badge-contrast-text:#fff !important;
  --header-divider:1px solid var(--mp-line) !important;--header-box-shadow:none !important;
  --menu-bar-bg:#ffffff !important;
  --product-discount-tag-background:var(--mp-deal) !important;--product-discount-tag-color:#ffffff !important;
  --product-price-color:var(--mp-ink) !important;
  --button-main:var(--mp-brand) !important;--button-contrast-text:#ffffff !important;--button-borderColor:var(--mp-brand) !important;
}
body,.sh-body,.MuiTypography-root,.MuiButton-root,.MuiInputBase-root,input,button,select,textarea,
h1,h2,h3,h4,h5,h6,.pr-title,.pr-sale-price,.pr-mrp-price,.section-heading,.section-description,.links{font-family:var(--mp-font) !important}
body,.sh-body{color:var(--mp-ink);background:#fff !important;-webkit-font-smoothing:antialiased}
main .section,main [class*="section-title-"]{background:#fff !important}
.section-heading,.pr-sale-price,h1.product-component-name,h2.product-component-name,h5.related-products-heading,
.product-list-container h1,.menu-bar .links{font-family:var(--mp-display) !important}

/* ---------- 2. One content column (mock .pv-wrap: 1280px incl. 16 / 24 / 32px gutters) ---------- */
main .section{max-width:none !important;margin:0 !important;width:100%}
main .section>.section-item{max-width:1280px;width:100% !important;margin:0 auto;box-sizing:border-box;justify-self:center}
main .section>.section-item.HtmlRenderer-component,main .section>.section-item.StoreBanner-component{max-width:none;padding:0 !important}
main .section>.section-item.ProductGridCollection-component,
main .section>.section-item.BannerCollection-component{padding:34px 16px 0 !important}
main .section>.section-item.ProductCategoriesV2-component{padding:20px 16px 0 !important}
.app-bar-main{max-width:1280px !important;padding:0 16px;box-sizing:border-box}
.app-bar-main .MuiToolbar-root,.app-bar-main .toobar-regular{padding-left:0 !important;padding-right:0 !important}
@media(min-width:768px){
  main .section>.section-item.ProductGridCollection-component,
  main .section>.section-item.BannerCollection-component{padding:34px 24px 0 !important}
  main .section>.section-item.ProductCategoriesV2-component{padding:20px 24px 0 !important}
  .app-bar-main{padding:0 24px}
}
@media(min-width:1024px){
  main .section>.section-item.ProductGridCollection-component,
  main .section>.section-item.BannerCollection-component{padding:34px 32px 0 !important}
  main .section>.section-item.ProductCategoriesV2-component{padding:20px 32px 0 !important}
  .app-bar-main{padding:0 32px}
}

/* ---------- 3. Header ----------
   Mock .pv-header: white bar with a hairline, the full logo spanning the search row and the menu row, a tinted
   search box, person + shopping-bag pictures as the account / cart icons (customer feedback 3), red folded
   "3D" boxes as menu items (customer feedback 4). Was: bar painted #1262A1, 60px logo, punchline text, white links. */
.sh-header-main{background:#fff !important;color:var(--mp-ink) !important;border-bottom:1px solid var(--mp-line);box-shadow:none !important}
.app-bar .title-ctn{display:none !important} /* store name h1 is hidden by header.title_show=false; the punchline stays in the HTML */
.app-bar .logo{object-fit:contain !important;border-radius:0 !important;background:transparent !important}
.app-bar .logo-ctn .MuiPaper-root{background:transparent !important;box-shadow:none !important}
.app-bar .search-shell{background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;padding:0 !important;height:auto}
.app-bar .search-box{background:var(--mp-tint) !important;border:1px solid var(--mp-line) !important;border-radius:10px !important;box-shadow:none !important;height:44px;display:flex;align-items:center;padding:0 13px;gap:8px}
.app-bar .search-box:focus-within{border-color:var(--mp-brand) !important;background:#fff !important}
.app-bar .search-box span.search-btn{color:var(--mp-muted) !important;flex:none}
.app-bar .search-box .search-field{flex:1 1 auto;min-width:0}
.app-bar .search-box input{border:0 !important;background:transparent !important;font-size:16px !important;color:var(--mp-ink) !important;box-shadow:none !important;outline:0 !important}
.app-bar .search-box input::placeholder{color:var(--mp-muted);opacity:1}
/* account + cart pictures (40px, like the mock's .pv-icon img) */
.app-bar .ac-popup-user div:has(> svg.sh-header-cart-icon),
.app-bar #cart-div .cart-icon > span:first-child{display:block;width:40px !important;height:40px !important;background:center / contain no-repeat}
.app-bar .ac-popup-user div:has(> svg.sh-header-cart-icon){background-image:url("https://cdn2.clevup.in/534595/icon-person-1794640022333.png?width=120&format=webp")}
.app-bar #cart-div .cart-icon > span:first-child{background-image:url("https://cdn2.clevup.in/534595/icon-bag-1794640021914.png?width=120&format=webp")}
.app-bar .ac-popup-user svg.sh-header-cart-icon,.app-bar #cart-div .cart-icon > span:first-child svg{opacity:0 !important}
.app-bar #cart-div .cart-icon{position:relative;padding:0 !important}
/* menu row: red folded boxes */
.menu-bar{background:#fff !important;border:0 !important;box-shadow:none !important;z-index:0 !important}
.menu-bar .menu-bottom{max-width:1280px !important;margin:0 auto;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start !important;flex-wrap:nowrap !important;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 16px 11px;min-height:0}
.menu-bar .menu-bottom::-webkit-scrollbar{display:none}
.menu-bar .menu-bottom::before,.menu-bar .menu-bottom::after{display:none !important;content:none !important} /* theme flex spacers centred the links */
.menu-bar .links{display:block;flex:none;margin:0 !important;padding:8px 14px !important;border:0 !important;border-radius:9px;font-weight:700 !important;font-size:15px !important;line-height:1.2 !important;white-space:nowrap;text-decoration:none !important;color:#fff !important;background:linear-gradient(135deg,#e11b22 0 58%,#b5121a 58% 100%) !important;box-shadow:0 3px 0 #8e0d13,0 5px 8px rgba(20,33,61,.22);text-shadow:1px 1px 0 #8e0d13;transition:transform .12s,box-shadow .12s}
.menu-bar .links:hover{transform:translateY(2px);box-shadow:0 1px 0 #8e0d13,0 2px 4px rgba(20,33,61,.22)}
@media(min-width:768px){.menu-bar .menu-bottom{padding-left:24px;padding-right:24px}}
/* desktop-UA header from 900px (below that the theme moves the search to its own row): logo spans both rows */
@media(min-width:900px){
  /* 140px = 32 gutter + 84 logo + 24 gap. The MUI toolbar is position:relative, so the logo is placed from it (-108px). */
  .app-bar:not(.mobile-app-bar):has(.menu-bar) .app-bar-main{padding-left:140px}
  .app-bar:not(.mobile-app-bar):has(.menu-bar) .app-bar-main .toobar-regular{min-height:0 !important;height:auto !important;padding-top:12px !important;padding-bottom:7px !important;gap:0}
  .app-bar:not(.mobile-app-bar):has(.menu-bar) .app-bar-main .toobar-regular > div:first-child{flex:0 0 0 !important;width:0;min-width:0;margin:0 !important}
  .app-bar:not(.mobile-app-bar):has(.menu-bar) .logo-ctn{position:absolute;left:-108px;top:8px;z-index:3;margin:0 !important}
  .app-bar:not(.mobile-app-bar):has(.menu-bar) .logo{height:104px !important;width:84px !important;max-width:none !important}
  .app-bar:not(.mobile-app-bar):has(.menu-bar) .sh-header-searchbar-slot{flex:1 1 auto !important;max-width:none !important;width:auto !important;margin:0 24px 0 0 !important}
  .app-bar:not(.mobile-app-bar):has(.menu-bar) .sh-header-searchbar-slot > div,.app-bar:not(.mobile-app-bar) .search-shell,.app-bar:not(.mobile-app-bar) .search-shell > div{width:100% !important;max-width:none !important}
  .app-bar:not(.mobile-app-bar):has(.menu-bar) .ac-popup-user{margin-left:0 !important}
  .app-bar:not(.mobile-app-bar):has(.menu-bar) .menu-bar .menu-bottom{padding:7px 32px 15px 138px;gap:10px;overflow:visible}
}
@media(max-width:899px){
  .app-bar:not(.mobile-app-bar):has(.menu-bar) .logo{height:68px !important;width:68px !important}
}
/* cart / checkout header has only the logo (no search, no menu row): keep it in the flow at 60px, or the 104px
   logo hangs over the "Shopping Cart" heading */
.app-bar:not(.mobile-app-bar):not(:has(.menu-bar)) .logo{height:60px !important;width:auto !important}
.app-bar:not(.mobile-app-bar):not(:has(.menu-bar)) .toobar-regular{padding-top:8px !important;padding-bottom:8px !important}
/* phone-UA header: hamburger, logo, icons; search on its own row */
.mobile-app-bar .logo{height:52px !important;width:52px !important;max-width:none}
.mobile-app-bar .search-box{height:44px}

/* ---------- 4. Notice bar (mock .pv-notice: navy, 14/500, 30px tall). Colours come from the header settings. ---------- */
.sh-header-main .notice{padding:0 !important;min-height:0 !important}
.sh-header-main .notice-message{font-size:14px !important;font-weight:500;line-height:1.3;padding:6px 12px !important;margin:0 !important;text-align:center}

/* ---------- 5. Hero (StoreBanner, three image offers; the words are part of the artwork) ----------
   Mock: full-bleed 1920x760 slides (900x1200 on phones), 9px dots with a 22px yellow active dot, 44px white arrows. */
.StoreBanner-component .banner,.StoreBanner-component .swiper{border-radius:0 !important}
.StoreBanner-component img{display:block;width:100%;height:auto}
.banner{--swiper-pagination-color:var(--mp-yellow);--swiper-navigation-color:var(--mp-ink)}
.banner .swiper-pagination{bottom:10px !important;display:flex;justify-content:center;align-items:center;gap:8px;line-height:0}
.banner .swiper-pagination-bullet{width:9px !important;height:9px !important;border-radius:5px !important;margin:0 !important;opacity:1 !important;background:#fff !important;box-shadow:0 0 0 1px rgba(20,33,61,.45);transition:width .2s,background-color .2s}
.banner .swiper-pagination-bullet-active{width:22px !important;background:var(--mp-yellow) !important}
.banner .swiper-button-prev,.banner .swiper-button-next{box-sizing:border-box;top:50% !important;margin-top:-22px !important;width:44px !important;height:44px !important;border-radius:50%;border:1px solid var(--mp-line);background:#fff;color:var(--mp-ink) !important;box-shadow:0 3px 10px rgba(20,33,61,.14)}
.banner .swiper-button-prev{left:12px !important}
.banner .swiper-button-next{right:12px !important}
.banner .swiper-button-prev::after,.banner .swiper-button-next::after{font-size:15px !important;font-weight:700}
@media(max-width:1023px){.banner .swiper-button-prev,.banner .swiper-button-next{display:none !important}}

/* ---------- 6. Departments (ProductCategoriesV2 = level-0 categories; mock .pv-depts) ----------
   Mock: no heading, 6 square tiles (radius 14) with a 14/600 name, 3 per row on phones.
   Was: "Shop by Department" heading, padded shadow cards. The merchant's three older categories (DOMS, NOTE BOOKS,
   "ncert books") stay in the catalogue and are linked from the Stationery section; they are only left out of
   this six-tile row (approved 14 Nov 2026). */
.ProductCategoriesV2-component .sh-section-heading{display:none !important}
.ProductCategoriesV2-component .cat-section{padding:0 !important;max-width:none !important;margin:0 !important}
.ProductCategoriesV2-component .cat-section>div.w-full{width:100%}
.ProductCategoriesV2-component .grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px 10px !important;margin:0 !important}
.ProductCategoriesV2-component .cat-card{padding:0 !important;margin:0 !important;border:0 !important;box-shadow:none !important;background:transparent !important;text-align:center}
.ProductCategoriesV2-component .cat-card:has(a[href$="/categories/doms"]),
.ProductCategoriesV2-component .cat-card:has(a[href$="/categories/note-books"]),
.ProductCategoriesV2-component .cat-card:has(a[href$="/categories/mpds-logo"]){display:none !important}
.ProductCategoriesV2-component .cat-card>a{display:block;text-decoration:none;padding:0 !important}
.ProductCategoriesV2-component .cat-card-img-container{display:block;width:100% !important;height:auto !important;aspect-ratio:1;border-radius:14px !important;overflow:hidden;background:var(--mp-tint);border:0 !important;box-shadow:none !important;padding:0 !important;margin:0 0 7px !important;transition:transform .15s,box-shadow .15s}
.ProductCategoriesV2-component .cat-card:hover .cat-card-img-container{transform:translateY(-3px);box-shadow:0 8px 18px rgba(20,33,61,.12) !important}
.ProductCategoriesV2-component .cat-card-img-root,.ProductCategoriesV2-component .cat-card-img-root img,.ProductCategoriesV2-component .cat-card-img{width:100% !important;height:100% !important;object-fit:cover;border-radius:0 !important;border:0 !important;display:block}
.ProductCategoriesV2-component .cat-card-title{margin:0 !important;padding:0 !important;font-size:14px !important;line-height:1.2 !important;font-weight:600 !important;color:var(--mp-ink) !important;text-transform:none !important}
@media(min-width:768px){.ProductCategoriesV2-component .grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:14px !important}}

/* ---------- 7. Section heads on the book rows (mock .pv-head: title + subtitle left, "View all" right) ---------- */
.sh-prod-grid-collection-card .sh-section-heading{display:grid !important;grid-template-columns:1fr auto;grid-template-areas:"t v" "d v";align-items:end;gap:4px 20px;margin:0 0 14px !important;padding:0 !important;width:100%;position:relative}
.sh-section-heading>a:first-child{grid-area:t;text-decoration:none !important}
.sh-section-heading .section-heading{font-size:clamp(23px,2.7vw,33px) !important;font-weight:800 !important;letter-spacing:-.02em;line-height:1.12 !important;color:var(--mp-ink) !important;margin:0 !important;text-align:left !important}
.sh-section-heading .section-description{grid-area:d;font-size:15px !important;font-weight:400;color:var(--mp-muted) !important;margin:0 !important;line-height:1.45;text-align:left !important}
.sh-section-heading .section-heading-viewall{grid-area:v;position:static !important;display:inline-block !important;font-size:0 !important;line-height:0;color:var(--mp-brand) !important;text-decoration:none !important;white-space:nowrap;align-self:end;text-transform:none !important}
.sh-section-heading .section-heading-viewall::after{content:"View all";font-size:15px;font-weight:600;line-height:1.45} /* theme label is "View All" */
.sh-section-heading .section-heading-viewall:hover::after{text-decoration:underline}
.prod-collection-container .view-all{display:none !important} /* theme's second "View All" button under phone rows */

/* ---------- 8. Book rows: 6-up swiper (cols_in_desktop=6), 2.15-up with a peek on phones, 44px round arrows ---------- */
.prod-collection-container .swiper{padding:2px 2px 10px !important}
.prod-collection-container .swiper-button-prev,.prod-collection-container .swiper-button-next{width:44px !important;height:44px !important;margin-top:0 !important;top:38% !important;border-radius:50%;border:1px solid var(--mp-line);background:#fff;color:var(--mp-ink) !important;box-shadow:0 3px 10px rgba(20,33,61,.14)}
.prod-collection-container .swiper-button-prev{left:-10px !important}
.prod-collection-container .swiper-button-next{right:-10px !important}
.prod-collection-container .swiper-button-prev::after,.prod-collection-container .swiper-button-next::after{font-size:14px !important;font-weight:700}
.prod-collection-container .swiper-button-disabled{opacity:0 !important;pointer-events:none}
@media(max-width:1023px){.prod-collection-container .swiper-button-prev,.prod-collection-container .swiper-button-next{display:none !important}}

/* ---------- 9. Product card (mock .pv-card) ----------
   Hairline 12px card, square white image area with the whole cover visible, red "25% off" badge top-left,
   2-line 15/600 name, 19px display price, struck MRP, full-width blue "Add to cart".
   Was: padded card, orange badge top-right, outlined "+ Add". */
.sh-product-card.pr-long-card{border:1px solid var(--mp-line) !important;border-radius:12px !important;padding:0 !important;overflow:hidden;background:#fff !important;box-shadow:none !important;height:100%;display:flex;flex-direction:column}
.pr-long-card .pr-image-ctn,.pr-long-card .sh-product-img{position:relative;border-radius:0 !important;background:#fff;padding:10px;box-sizing:border-box}
.pr-long-card .pr-image{aspect-ratio:1/1 !important;border:0 !important;border-radius:0 !important;object-fit:contain !important;background:#fff;width:100%;display:block}
.pr-long-card .pr-discount{top:8px !important;left:8px !important;right:auto !important;padding:2px 7px !important;border-radius:6px !important;background:var(--mp-deal) !important;color:#fff !important;font-size:12.5px !important;font-weight:700 !important;line-height:1.35 !important;letter-spacing:0 !important;font-family:var(--mp-font) !important}
.pr-long-card .pr-wishlist,.pr-long-card .pr-rating,.pr-long-card .pr-rating-stars{display:none !important}
.pr-long-card .pr-card-content{padding:9px 10px 10px !important;border-top:1px solid var(--mp-line);display:flex;flex-direction:column;flex:1;gap:0}
.pr-long-card .pr-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px !important;font-weight:600 !important;line-height:1.25 !important;letter-spacing:0 !important;color:var(--mp-ink) !important;min-height:2.5em;margin:0 !important;text-transform:none !important}
.pr-long-card .pr-price{margin:5px 0 7px !important;gap:2px 6px;align-items:baseline !important;flex-wrap:wrap;line-height:1.15}
.pr-long-card .pr-sale-price{font-size:19px !important;font-weight:800 !important;color:var(--mp-ink) !important;letter-spacing:0 !important;line-height:1.15 !important;margin:0 !important}
.pr-long-card .pr-mrp-price{font-size:14px !important;color:var(--mp-muted) !important;font-weight:400 !important;line-height:1.15 !important}
.pr-long-card .pr-card-content>div:last-child{margin-top:auto}
.pr-long-card .pr-outlined-button{height:42px !important;min-height:42px !important;min-width:0 !important;width:100%;padding:0 10px !important;border:0 !important;border-radius:9px !important;background:var(--mp-brand) !important;color:#fff !important;font-weight:700 !important;font-size:15px !important;line-height:42px !important;white-space:nowrap;margin-top:0 !important;transition:background-color .15s}
.pr-long-card .pr-outlined-button *,.pr-long-card .pr-outlined-button-label{color:#fff !important;font-size:15px !important;font-weight:700 !important}
.pr-long-card .pr-outlined-button:hover{background:var(--mp-brand-dark) !important}
.pr-long-card .pr-plus-minus-button{height:42px !important;min-width:0 !important;border-radius:9px !important;border:1.5px solid var(--mp-brand) !important;color:var(--mp-brand-dark) !important;background:var(--mp-tint) !important;font-weight:700 !important;font-size:15px !important;margin-top:0 !important}
.pr-long-card .pr-plus-minus-button *{color:var(--mp-brand-dark) !important}

/* ---------- 10. Mid-page banners (BannerCollection; mock .pv-banner: rounded 14px inside the column) ---------- */
.BannerCollection-component a,.BannerCollection-component .sh-banner-img-ctn{display:block !important;border-radius:14px;overflow:hidden}
.BannerCollection-component img{display:block;width:100%;height:auto;border-radius:14px;aspect-ratio:3/4;object-fit:cover;background:var(--mp-navy)}
@media(min-width:768px){.BannerCollection-component img{aspect-ratio:1560/620}}

/* ---------- 11. All-products grid: not in the mock (product_settings.show_products=false; fallback) ---------- */
main .section:has(.ProductInfiniteScroll-component){display:none !important}

/* ---------- 12. Footer (custom HTML .mp-ftr, mock .pv-foot values) ---------- */
.sh-footer-main{padding:0 !important;background:#10203c !important}
.mp-ftr{background:#10203c;color:#cfd9ea;padding:34px 0 18px;font-size:15px;line-height:1.45;font-family:var(--mp-font)}
.mp-ftr .mp-wrap{max-width:1280px;margin:0 auto;padding:0 16px;box-sizing:border-box}
.mp-ftr .mp-ftr-grid{display:grid;gap:24px;grid-template-columns:1fr 1fr}
.mp-ftr .mp-ftr-about{grid-column:1/-1}
.mp-ftr .mp-ftr-logo{display:block;width:132px;height:auto;background:#fff;border-radius:10px;padding:8px;margin-bottom:10px;box-sizing:border-box}
.mp-ftr h3{font-family:var(--mp-display) !important;font-size:16px;font-weight:700;color:#fff;margin:0 0 8px}
.mp-ftr ul{list-style:none;margin:0;padding:0}
.mp-ftr li{padding:3px 0}
.mp-ftr a{color:inherit;text-decoration:none}
.mp-ftr a:hover{color:#fff;text-decoration:underline}
.mp-ftr p{margin:0 0 6px;line-height:1.45}
.mp-ftr .mp-copy{margin:22px 0 0;padding-top:12px;border-top:1px solid rgba(255,255,255,.14);font-size:14px;color:#a9b7cf}
@media(min-width:768px){.mp-ftr .mp-wrap{padding:0 24px}.mp-ftr .mp-ftr-grid{grid-template-columns:2fr 1fr 1fr 1.3fr}.mp-ftr .mp-ftr-about{grid-column:auto}}
@media(min-width:1024px){.mp-ftr .mp-wrap{padding:0 32px}}

/* ---------- 13. Listing / search / PDP: same fonts, buttons and badges as the home ---------- */
.product-component-name{font-weight:800 !important;letter-spacing:-.02em;color:var(--mp-ink) !important;font-size:26px !important;line-height:1.15 !important;text-transform:none !important}
@media(min-width:900px){.product-component-name{font-size:32px !important}}
.sh-product-buy-now-button,.universal-btn-style.sh-product-buy-now-button{background:var(--mp-brand) !important;color:#fff !important;border:0 !important;font-weight:700 !important}
.product-footer-root .pr-outlined-button,.product-footer-root .pr-plus-minus-button,.product-component-container .pr-outlined-button,.product-component-container .pr-plus-minus-button{background:#fff !important;color:var(--mp-brand) !important;border:1.5px solid var(--mp-brand) !important;font-weight:700 !important}
.product-footer-root .pr-outlined-button *,.product-footer-root .pr-plus-minus-button *,.product-component-container .pr-outlined-button *,.product-component-container .pr-plus-minus-button *{color:var(--mp-brand) !important}
.product-footer-root{left:0 !important;right:0 !important}
.product-component-container p.product-pricing-discount{background:var(--mp-deal) !important;color:#fff !important;border-radius:6px !important;font-weight:700 !important}
h5.related-products-heading{font-weight:800 !important;color:var(--mp-ink) !important;letter-spacing:-.02em}
.product-component-container .product-pricing-primary{font-family:var(--mp-display) !important;color:var(--mp-ink) !important}
/* listing / category / search / policy pages sat on the theme's 1600px column, 81px left of the header's column */
main .page-container,body > .page-container{max-width:1280px !important;margin-left:auto !important;margin-right:auto !important;box-sizing:border-box}
.page-container h1{font-family:var(--mp-display) !important;font-weight:800 !important;letter-spacing:-.02em;color:var(--mp-ink) !important}

/* ---------- 14. Phone bottom navigation: was painted in the theme colour ---------- */
.sh-bottom-nav-main{background:#fff !important;border-top:1px solid var(--mp-line)}
.sh-bottom-nav-main .sh-bottom-nav-selected,.sh-bottom-nav-main .sh-bottom-nav-selected *{color:var(--mp-brand) !important}
.sh-bottom-nav-main .sh-bottom-nav-unselected,.sh-bottom-nav-main .sh-bottom-nav-unselected *{color:var(--mp-muted) !important}

/* ============ 15. Tier-B sections: the preview's theme.css (.sx), fonts now from the @import above ============ */
.sx{--sx-brand:var(--secondary-main,#1262a1);--sx-navy:#2c4693;--sx-ink:#14213d;--sx-muted:#5a6980;--sx-line:#e1e7f0;--sx-tint:#f2f6fb;--sx-red:#c8161d;--sx-yellow:#ffc72c;--sx-wa:#0f7f43;--sx-radius:14px;--sx-display:"Bricolage Grotesque",system-ui,sans-serif;width:100%;box-sizing:border-box;color:var(--sx-ink);font-family:var(--mp-font)}
.sx *,.sx *::before,.sx *::after{box-sizing:border-box}
.sx .sx-wrap{max-width:1280px;margin:0 auto;padding:0 16px}
.sx .sx-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:4px 20px;margin-bottom:18px}
.sx .sx-title{font-family:var(--sx-display) !important;font-weight:800;font-size:clamp(23px,2.7vw,33px);line-height:1.12;letter-spacing:-.02em;margin:0;color:var(--sx-ink)}
.sx .sx-sub{margin:4px 0 0;color:var(--sx-muted);font-size:15px;line-height:1.45}
.sx .sx-more{color:var(--sx-brand);font-weight:600;font-size:15px;text-decoration:none;white-space:nowrap}
.sx .sx-more:hover{text-decoration:underline}
.sx .sx-label{font-family:var(--sx-display) !important;font-weight:700;font-size:16px;margin:0 0 10px;color:var(--sx-ink)}
.sx .sx-brands{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.sx .sx-brand{display:flex;align-items:center;justify-content:center;height:72px;padding:10px 12px;background:#fff;border:1px solid var(--sx-line);border-radius:12px;text-decoration:none;transition:border-color .15s,transform .15s}
.sx .sx-brand:hover{border-color:var(--sx-brand);transform:translateY(-2px)}
.sx .sx-brand img{max-width:100%;max-height:44px;width:auto;height:auto;object-fit:contain;display:block}
.sx .sx-brand--text{font-family:var(--sx-display) !important;font-weight:700;font-size:17px;color:var(--sx-navy);text-align:center;line-height:1.1}
.sx .sx-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.sx .sx-tile{display:block;text-decoration:none;color:var(--sx-ink);text-align:center}
.sx .sx-tile img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;background:var(--sx-tint);border:1px solid var(--sx-line);border-radius:var(--sx-radius);transition:transform .15s,box-shadow .15s}
.sx .sx-tile:hover img{transform:translateY(-3px);box-shadow:0 8px 18px rgba(20,33,61,.1)}
.sx .sx-tile span{display:block;margin-top:8px;font-weight:600;font-size:14px;line-height:1.25}
@media (min-width:640px){.sx .sx-brands{grid-template-columns:repeat(4,1fr)}}
@media (min-width:768px){.sx .sx-wrap{padding:0 24px}}
@media (min-width:1024px){.sx .sx-brands{grid-template-columns:repeat(8,1fr)}.sx .sx-tiles{grid-template-columns:repeat(6,1fr);gap:16px}.sx .sx-wrap{padding:0 32px}}

/* phone-only menu strip (HTML collection "Phone menu"): the theme's phone header has no menu row, the mock has the
   red boxes under the search. Shown only when the phone header is served. */
.sx-mnav{display:none;background:#fff;border-bottom:1px solid var(--sx-line)}
body:has(.mobile-app-bar) .sx-mnav{display:block}
.sx-mnav ul{list-style:none;margin:0;padding:8px 16px 11px;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.sx-mnav ul::-webkit-scrollbar{display:none}
.sx-mnav a{display:block;padding:8px 14px;border-radius:9px;font-family:var(--sx-display) !important;font-weight:700;font-size:15px;line-height:1.2;text-decoration:none;color:#fff;background:linear-gradient(135deg,#e11b22 0 58%,#b5121a 58% 100%);box-shadow:0 3px 0 #8e0d13,0 5px 8px rgba(20,33,61,.22);text-shadow:1px 1px 0 #8e0d13}

.sx-usp{padding:0;background:#fff}
.sx-usp .sx-usp-page{position:relative;margin:22px 0 0;padding:14px 14px 14px 30px;background-color:#fff;background-image:repeating-linear-gradient(to bottom,transparent 0 31px,#e8f0f8 31px 32px);border:1px solid var(--sx-line);border-radius:var(--sx-radius);overflow:hidden}
.sx-usp .sx-usp-page::before{content:"";position:absolute;top:0;bottom:0;left:18px;width:2px;background:var(--sx-red);opacity:.65}
.sx-usp .sx-usp-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.sx-usp .sx-usp-item{display:flex;gap:9px;align-items:flex-start}
.sx-usp .sx-usp-item svg{flex:0 0 22px;width:22px;height:22px;margin-top:1px;color:var(--sx-brand)}
.sx-usp .sx-usp-item strong{display:block;font-size:14px;line-height:1.2;font-weight:700}
.sx-usp .sx-usp-item small{display:block;font-size:13px;color:var(--sx-muted);line-height:1.3;margin-top:2px}
@media (min-width:1024px){.sx-usp .sx-usp-list{grid-template-columns:repeat(4,1fr);gap:20px}.sx-usp .sx-usp-page{padding:16px 22px 16px 40px}.sx-usp .sx-usp-page::before{left:24px}.sx-usp .sx-usp-item strong{font-size:15px}}

.sx-schools{padding:34px 0;background:var(--sx-tint);margin-top:32px}
.sx-schools .sx-steps{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;counter-reset:s}
.sx-schools .sx-steps li{counter-increment:s;display:flex;align-items:center;gap:7px;font-weight:600;font-size:14px;color:var(--sx-ink)}
.sx-schools .sx-steps li::before{content:counter(s);width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--sx-navy);color:#fff;font-size:12px;font-weight:700}
.sx-schools .sx-school-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 10px}
.sx-schools .sx-school{display:block;text-align:center;text-decoration:none;color:var(--sx-ink)}
.sx-schools .sx-coin{display:block;width:min(100%,104px);height:auto;aspect-ratio:1;margin:0 auto 8px;border-radius:50%;object-fit:cover;background:#fff;border:3px solid #fff;box-shadow:0 0 0 1px var(--sx-line),0 4px 12px rgba(20,33,61,.08);transition:transform .15s,box-shadow .15s}
.sx-schools .sx-school:hover .sx-coin{transform:translateY(-3px);box-shadow:0 0 0 2px var(--sx-brand),0 8px 16px rgba(20,33,61,.14)}
.sx-schools .sx-school b{display:block;font-size:14px;line-height:1.2;font-weight:700}
.sx-schools .sx-school small{display:block;font-size:13px;color:var(--sx-muted);margin-top:2px}
.sx-schools .sx-school-ask{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 10px;padding:13px 14px;border:1.5px dashed #b6c6dc;border-radius:12px;background:#fff;text-decoration:none;color:var(--sx-ink);font-size:14px;text-align:center}
.sx-schools .sx-school-ask b{font-weight:700}
.sx-schools .sx-school-ask span{color:var(--sx-brand);font-weight:600}
@media (min-width:768px){.sx-schools .sx-school-grid{grid-template-columns:repeat(6,1fr);gap:16px}.sx-schools .sx-coin{width:min(100%,124px)}}
@media (min-width:1024px){.sx-schools{padding:44px 0}.sx-schools .sx-coin{width:min(100%,136px)}.sx-schools .sx-school b{font-size:15px}}

.sx-ncert{padding:36px 0 6px}
.sx-ncert .sx-stages{display:grid;gap:12px}
.sx-ncert .sx-stage{display:flex;gap:14px;align-items:center;padding:14px;background:var(--sx-tint);border:1px solid var(--sx-line);border-radius:var(--sx-radius)}
.sx-ncert .sx-stage img{flex:0 0 70px;width:70px;height:auto;border-radius:4px;box-shadow:0 4px 10px rgba(20,33,61,.2)}
.sx-ncert .sx-stage-body{min-width:0;flex:1}
.sx-ncert .sx-stage h3{font-family:var(--sx-display) !important;font-weight:800;font-size:19px;line-height:1.15;margin:0;color:var(--sx-ink)}
.sx-ncert .sx-stage p{margin:1px 0 9px;font-size:14px;color:var(--sx-muted)}
.sx-ncert .sx-classes{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.sx-ncert .sx-class{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#fff;border:1.5px solid #c6d5e8;color:var(--sx-brand);font-family:var(--sx-display) !important;font-weight:800;font-size:18px;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.sx-ncert .sx-class:hover{background:var(--sx-brand);border-color:var(--sx-brand);color:#fff}
@media (min-width:640px){.sx-ncert .sx-stages{grid-template-columns:1fr 1fr}}
@media (min-width:1024px){.sx-ncert .sx-stages{grid-template-columns:5fr 4fr 3.4fr 3.4fr;gap:14px}.sx-ncert .sx-stage img{flex-basis:76px;width:76px}.sx-ncert .sx-stage h3{font-size:20px}.sx-ncert .sx-classes{flex-wrap:nowrap;gap:5px}.sx-ncert .sx-class{width:40px;height:40px;font-size:17px}}

.sx-comp{padding:40px 0 6px}
.sx-comp .sx-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0;list-style:none}
.sx-comp .sx-chip{display:inline-flex;align-items:center;min-height:40px;padding:0 15px;border:1px solid var(--sx-line);border-radius:999px;background:#fff;color:var(--sx-ink);font-weight:600;font-size:14px;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.sx-comp .sx-chip:hover{background:var(--sx-brand);border-color:var(--sx-brand);color:#fff}
.sx-comp .sx-chip--local{background:#fff7dd;border-color:#f1d27c}
.sx-comp .sx-brands{grid-template-columns:repeat(2,1fr)}
@media (min-width:640px){.sx-comp .sx-brands{grid-template-columns:repeat(4,1fr)}}

.sx-stat{padding:38px 0 6px}
.sx-stat .sx-tiles{margin-bottom:22px}

.sx-office{padding:30px 0 6px}
.sx-office .sx-office-grid{display:grid;gap:18px}
.sx-office .sx-tiles{grid-template-columns:repeat(2,1fr)}
.sx-office .sx-brands{grid-template-columns:repeat(3,1fr)}
@media (min-width:640px){.sx-office .sx-tiles{grid-template-columns:repeat(4,1fr)}}
@media (min-width:1024px){.sx-office .sx-office-grid{grid-template-columns:3fr 1fr;align-items:start}.sx-office .sx-brands{grid-template-columns:1fr}}

.sx-help{margin-top:40px;padding:30px 0;background:var(--sx-navy);color:#fff}
.sx-help .sx-help-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 28px}
.sx-help .sx-title{color:#fff}
.sx-help .sx-title em{font-style:normal;background:linear-gradient(transparent 68%,var(--sx-yellow) 68% 92%,transparent 92%)}
.sx-help p{margin:6px 0 0;color:#dbe4f5;font-size:15px;line-height:1.45;max-width:560px}
.sx-help p.sx-bulk{margin-top:8px;color:#fff;font-weight:700;font-size:16px}
.sx-help .sx-wa{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:10px;background:var(--sx-wa);color:#fff;font-weight:700;font-size:16px;text-decoration:none;border:1.5px solid rgba(255,255,255,.35)}
.sx-help .sx-wa svg{width:20px;height:20px}
.sx-help .sx-wa:hover{filter:brightness(1.1)}

/* ============ 16. One section rhythm on the home (round 2) ============
   Was: content-to-content gaps of 20/22/32/36/40/50/40/44/34/48/40/30/46px (the mock's own mixed paddings plus the
   theme's 10px under every swiper). Now every section starts with --mp-gap and ends with 6px:
   40px between sections on desktop, 32px on phones, 24px around the department tiles. */
html:root{--mp-gap:26px}
@media(min-width:768px){html:root{--mp-gap:34px}}
main .section>.section-item.ProductGridCollection-component,
main .section>.section-item.BannerCollection-component{padding-top:var(--mp-gap) !important}
main .section>.section-item.BannerCollection-component{padding-bottom:6px !important}
main .section>.section-item.ProductCategoriesV2-component{padding-top:24px !important}
.prod-collection-container .swiper{padding:2px 2px 6px !important}
.sx-usp .sx-usp-page{margin-top:24px}
.sx-schools{margin-top:calc(var(--mp-gap) + 6px)}
.sx-ncert{padding-top:calc(var(--mp-gap) + 6px)} /* follows the tinted band, which has no trailing 6px */
.sx-comp,.sx-stat,.sx-office{padding-top:var(--mp-gap)}
.sx-help{margin-top:var(--mp-gap)}
.sh-prod-grid-collection-card .sh-section-heading{margin-bottom:18px !important} /* was 14px; the .sx section heads use 18px */
/* phone bottom-nav cart count: section 14 turned it into bare grey text on white */
.sh-bottom-nav-main .bottom-nav__badge.sh-bottom-nav-cart-badge{background:var(--mp-deal) !important;color:#fff !important;font-size:12px !important;font-weight:700 !important}

/* ============ 17. All Categories page (/categories) ============
   Was: theme page on a grey background, content 40px from the window edge (73px left of the header column),
   centred 36px heading with the theme's generic line "Explore a wide range of categories curated to match your
   interests and daily needs", padded shadow cards 4 per row, and the merchant's empty duplicate "ncert books" tile.
   Now: the site column, the home's heading style and the home's department tiles (6 per row, 3 on phones). */
.min-h-screen.bg-gray-50{background:#fff !important;min-height:0 !important}
.min-h-screen.bg-gray-50 > .max-w-7xl{max-width:1280px !important;margin:0 auto !important;padding:20px 16px 40px !important;box-sizing:border-box}
.min-h-screen.bg-gray-50 > .max-w-7xl > nav{margin:0 0 14px !important;font-size:14px;color:var(--mp-muted)}
.min-h-screen.bg-gray-50 > .max-w-7xl > .text-center:has(> h2){text-align:left !important;margin:0 0 18px !important}
.min-h-screen.bg-gray-50 > .max-w-7xl > .text-center > h2{font-family:var(--mp-display) !important;font-weight:800 !important;font-size:clamp(23px,2.7vw,33px) !important;line-height:1.12 !important;letter-spacing:-.02em;color:var(--mp-ink) !important;margin:0 !important}
.min-h-screen.bg-gray-50 > .max-w-7xl > .text-center > h2 + p{font-size:0 !important;line-height:0 !important;margin:4px 0 0 !important;max-width:none !important}
.min-h-screen.bg-gray-50 > .max-w-7xl > .text-center > h2 + p{color:transparent !important}
.min-h-screen.bg-gray-50 > .max-w-7xl > .text-center > h2 + p::after{content:"School books, NCERT, competition books, stationery and office supplies.";display:block;font-size:15px;line-height:1.45;color:var(--mp-muted)} /* block: the hidden theme text keeps a hair of width and pushed an inline ::after 17px right */
.min-h-screen.bg-gray-50 > .max-w-7xl > .grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px 10px !important}
.min-h-screen.bg-gray-50 > .max-w-7xl > .grid > div{background:transparent !important;box-shadow:none !important;padding:0 !important;border-radius:0 !important;transform:none !important}
.min-h-screen.bg-gray-50 > .max-w-7xl > .grid > div:has(a[href$="/categories/mpds-logo"]){display:none !important}
.min-h-screen.bg-gray-50 > .max-w-7xl > .grid > div > a{display:block;text-decoration:none}
.min-h-screen.bg-gray-50 > .max-w-7xl > .grid > div > a > div{height:auto !important;aspect-ratio:1;border-radius:14px;overflow:hidden;background:var(--mp-tint);border:1px solid var(--mp-line);box-sizing:border-box;margin:0 0 7px !important;transition:transform .15s,box-shadow .15s}
.min-h-screen.bg-gray-50 > .max-w-7xl > .grid > div > a:hover > div{transform:translateY(-3px);box-shadow:0 8px 18px rgba(20,33,61,.12)}
.min-h-screen.bg-gray-50 > .max-w-7xl > .grid img{width:100% !important;height:100% !important;object-fit:cover !important;display:block}
.min-h-screen.bg-gray-50 > .max-w-7xl > .grid h3{font-size:14px !important;font-weight:600 !important;line-height:1.2 !important;color:var(--mp-ink) !important;margin:0 !important;text-align:center}
@media(min-width:768px){
  .min-h-screen.bg-gray-50 > .max-w-7xl{padding:24px 24px 48px !important}
  .min-h-screen.bg-gray-50 > .max-w-7xl > .grid{grid-template-columns:repeat(6,minmax(0,1fr)) !important;gap:20px 14px !important}
}
@media(min-width:1024px){.min-h-screen.bg-gray-50 > .max-w-7xl{padding:24px 32px 48px !important}}
/* this page's desktop header has the search but no menu row: let the search fill the bar as on the home */
@media(min-width:900px){
  .app-bar:not(.mobile-app-bar):not(:has(.menu-bar)) .sh-header-searchbar-slot{flex:1 1 auto !important;max-width:none !important;width:auto !important;margin:0 24px !important}
  .app-bar:not(.mobile-app-bar):not(:has(.menu-bar)) .sh-header-searchbar-slot > div{width:100% !important;max-width:none !important}
  .app-bar:not(.mobile-app-bar):not(:has(.menu-bar)) .ac-popup-user{margin-left:0 !important}
}

/* ============ 18. Seventh department "Old Edition Discounted Books" (round 3) ============
   Seven tiles in a 6-column row left one orphan tile: 7 per row on desktop, 4 + 3 on phones with a smaller label.
   Seven menu boxes no longer fit one row below ~1050px on a desktop header: let them wrap. */
.ProductCategoriesV2-component .grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:12px 8px !important}
.ProductCategoriesV2-component .cat-card-title{font-size:12.5px !important}
@media(min-width:768px){
  .ProductCategoriesV2-component .grid{grid-template-columns:repeat(7,minmax(0,1fr)) !important;gap:14px !important}
  .ProductCategoriesV2-component .cat-card-title{font-size:14px !important}
}
@media(min-width:900px){.app-bar:not(.mobile-app-bar):has(.menu-bar) .menu-bar .menu-bottom{flex-wrap:wrap !important;row-gap:9px}}
/* NCERT stage names now end in "Classes": at the old column widths they wrapped to 2-3 lines and the four cards
   had different heights. Wider last columns, 64px cover, 18px name: all four cards 142px tall at 1455. */
@media (min-width:1024px){.sx-ncert .sx-stages{grid-template-columns:3.4fr 2.5fr 2.85fr 3fr}.sx-ncert .sx-stage img{flex-basis:64px;width:64px}.sx-ncert .sx-stage h3{font-size:18px}}
/* the longer notice wrapped to two lines on phones */
@media(max-width:480px){.sh-header-main .notice-message{font-size:12px !important;padding:6px 8px !important;white-space:nowrap}}

/* ============ 19. Phone audit (round 4): buttons and padding ============ */
/* hamburger was a 30x30 tap target */
.mobile-app-bar .mobile-sidemenu-button-wrapper{min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center}
/* footer: "Visit us" shared a half-width column, so the address and the WhatsApp number broke mid-number */
@media(max-width:767px){.mp-ftr .mp-ftr-grid > div:last-child{grid-column:1/-1}}
/* the floating WhatsApp bubble covered the end of the copyright line */
body:has(.mobile-app-bar) .mp-ftr .mp-copy{padding-right:76px}
/* bottom navigation: four 80px-minimum buttons overflowed a 320px screen by 7px on each side */
.sh-bottom-nav-main .bottom-nav__buttons{min-width:0 !important;padding-left:4px !important;padding-right:4px !important}
/* product page "Related Products" cards: section 13's outline rule for the page's own Add to cart also hit these
   cards, so their buttons were white outlines while every other card has the solid blue button */
.product-component-container .pr-long-card .pr-outlined-button{background:var(--mp-brand) !important;color:#fff !important;border:0 !important}
.product-component-container .pr-long-card .pr-outlined-button *{color:#fff !important}
/* quantity stepper +/- were 22px tap targets */
.pr-plus-minus-button .pr-plus-minus-stepper-btn{min-height:32px} /* no min-width: the quantity is a stepper-btn too, and 3 x 32px overflowed the cart's 84px stepper (the "+" was cut off, round 4 regression fixed in round 7) */
/* About page body text was 20px/30px on phones */
.sh-aboutus-page .about-description,.sh-aboutus-page .about-description p{font-size:16px !important;line-height:1.6 !important} /* all widths: 20px on desktop too, larger than any other body text */
/* floating WhatsApp bubble (chat-bubble plugin) on phones: 64px covered card buttons and labels while scrolling.
   The plugin sizes everything from --cb-size, so the icon scales with it. Position (and the chat window) unchanged. */
body:has(.mobile-app-bar) #cb12_bubble_wrapper,body:has(.mobile-app-bar) #cb12_bubble_wrapper *{--cb-size:46px !important}

/* ============ 20. Trust strip (round 6, user screenshot) ============
   The mock's "ruled notebook page" (horizontal rules every 32px plus a red margin line) read as stray lines running
   through the text. Now a plain tinted strip: four equal columns with hairline dividers, icons in white circles,
   2 x 2 on phones. */
.sx-usp .sx-usp-page{background-image:none !important;background-color:var(--sx-tint) !important;padding:14px 16px !important}
.sx-usp .sx-usp-page::before{display:none !important}
.sx-usp .sx-usp-list{gap:14px 12px}
.sx-usp .sx-usp-item{align-items:center;gap:10px}
.sx-usp .sx-usp-item svg{flex:0 0 38px;width:38px;height:38px;padding:8px;margin:0;border-radius:50%;background:#fff;box-shadow:0 0 0 1px var(--sx-line);box-sizing:border-box}
@media (min-width:1024px){
  .sx-usp .sx-usp-page{padding:16px 6px !important}
  .sx-usp .sx-usp-list{gap:0}
  .sx-usp .sx-usp-item{padding:2px 18px;gap:12px}
  .sx-usp .sx-usp-item + .sx-usp-item{border-left:1px solid #d5deea}
}
/* round 10: desktop header on tablet widths — book rows stay 6-up, so the cards are ~105px wide and
   "Add to cart" was cut off ("Add to car") below ~780px. Smaller label, tighter padding; long title words wrap. */
@media(max-width:899px){
  body:not(:has(.mobile-app-bar)) .product-card .sh-product-plus-minus-button{padding-left:5px !important;padding-right:5px !important;white-space:nowrap}
  body:not(:has(.mobile-app-bar)) .product-card .sh-product-plus-minus-button,
  body:not(:has(.mobile-app-bar)) .product-card .sh-product-plus-minus-button span{font-size:13px !important}
  body:not(:has(.mobile-app-bar)) .product-card h3{overflow-wrap:anywhere}
}
@media(max-width:719px){
  body:not(:has(.mobile-app-bar)) .product-card .sh-product-plus-minus-button{padding-left:2px !important;padding-right:2px !important}
  body:not(:has(.mobile-app-bar)) .product-card .sh-product-plus-minus-button,
  body:not(:has(.mobile-app-bar)) .product-card .sh-product-plus-minus-button span{font-size:12px !important}
}
/* round 11: smaller menu boxes (user: "menu size little bit small in desktop"); row padding keeps the header at 150px */
.menu-bar .links{font-size:13px !important;padding:6px 12px !important;border-radius:8px;box-shadow:0 2px 0 #8e0d13,0 4px 6px rgba(20,33,61,.18)}
@media(min-width:900px){.app-bar:not(.mobile-app-bar):has(.menu-bar) .menu-bar .menu-bottom{padding-top:8px;padding-bottom:20px;gap:8px}}
/* round 11: phone search screen (opens on tapping the search bar). The field was 14px (iPhones zoom the page on
   focus below 16px) and 53px tall inside a 40px box, so the text ran out of its frame. */
.MuiModal-root .sh-header-main{padding-bottom:10px !important;border-bottom:0 !important}
.MuiModal-root .sh-header-search-box{height:44px !important;background:var(--mp-tint) !important;border:1px solid var(--mp-line) !important;border-radius:10px !important;overflow:hidden}
.MuiModal-root .sh-header-search-box:focus-within{border-color:var(--mp-brand) !important;background:#fff !important}
.MuiModal-root .sh-header-search-box .search-field{flex:1 1 auto;min-width:0;display:flex;align-items:center;height:100%}
.MuiModal-root .sh-header-search-box .search-field .MuiInputBase-root{width:100%}
.MuiModal-root .sh-header-search-box input{font-size:16px !important;line-height:22px !important;height:22px !important;padding:0 !important;color:var(--mp-ink) !important}
/* round 11: phone hero slider moved sideways while the page was being scrolled (any finger path flatter than 45deg
   dragged the slide). touch-action:auto lets the browser own every pan on it, so a finger no longer drags the slides;
   autoplay, the dots and taps on the banner still work. Remove this rule to bring finger-swiping back. */
body:has(.mobile-app-bar) .StoreBanner-component .swiper{touch-action:auto !important}
/* round 12 (full font / padding audit): the phone bottom-navigation labels and the contact form labels and fields were
   still in the theme's Roboto; phone inner-page back and search icons were 30px / 22px tap targets (now 40px, same place). */
.MuiBottomNavigationAction-label,.contact-form-card .MuiFormLabel-root,.contact-form-card .MuiInputBase-input{font-family:var(--mp-font) !important}
.mobile-app-bar .sh-text-btn-reset{box-sizing:content-box;padding:9px !important;margin:-9px !important}
.mobile-app-bar .MuiIconButton-root{min-width:40px;min-height:40px}
/* round 14: notice is now "…All Types of Books & Stationery Destination"; at 12px it is 327px wide, 21px too long for a 320px phone */
@media(max-width:345px){.sh-header-main .notice-message{font-size:10.5px !important;padding:6px 4px !important}}
/* round 17: footer logo down from 132px to the header logo's size (84px wide on desktop, 52px with the phone header) */
.mp-ftr .mp-ftr-logo{width:84px !important;padding:5px !important;border-radius:8px}
body:has(.mobile-app-bar) .mp-ftr .mp-ftr-logo{width:52px !important;padding:3px !important;border-radius:6px}
/* ============ END 538874 refine ============ */
