/* Mahendra Books - additional stylesheet
   Place this file at: Content/mahendra.css
   Font choice: Arial/Helvetica to stay close to the existing website's clean sans-serif look.
*/
:root {
    --mb-green: #287542;
    --mb-green-bright: #65ad18;
    --mb-green-deep: #1e5933;
    --mb-orange: #f4a340;
    --mb-cream: #f5f3ec;
    --mb-ink: #26332b;
    --mb-muted: #758074;
    --mb-line: #e6e9df;
    --mb-white: #ffffff;
    --mb-radius: 14px;
    --mb-shadow: 0 12px 32px rgba(35, 65, 37, .08);
}

html { scroll-behavior: smooth; }
body {
    font-family: Arial, Helvetica, sans-serif !important;
    color: var(--mb-ink);
    background: #fff;
    line-height: 1.55;
}
body, input, button, select, textarea {
    font-family: Arial, Helvetica, sans-serif !important;
}
a { text-decoration: none; }
button, input { font-size: inherit; }
h1, h2, h3, p { margin-top: 0; }
.container { max-width: 1200px; }

/* Reset conflicting generic framework defaults */
body form { margin: 0; }
input, button { box-shadow: none; }
input:focus { outline: 2px solid rgba(101, 173, 24, .22); outline-offset: 1px; }
.btn-primary-custom, .btn-outline-custom { display: inline-flex; align-items: center; justify-content: center; gap: 12px; }

/* Top utility bar */
.topbar { background: #202820; color: #e7eee4; font-size: 12px; }
.topbar-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar a { color: #e7eee4; transition: color .2s; }
.topbar a:hover { color: #b9e48d; }
.topbar-inner > span i { color: #b9e48d; margin-right: 6px; }
.topbar-links { display: flex; gap: 22px; align-items: center; }
.topbar-links a { white-space: nowrap; }
.cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin-left: 4px; border-radius: 20px; background: var(--mb-orange); color: #2e261c; font-size: 10px; font-weight: 800; }

/* Header and brand */
.site-header { position: relative; z-index: 5; background: #fff; }
.header-main { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--mb-green); }
.brand:hover { color: var(--mb-green-deep); }
.brand-mark { display: grid; place-items: center; width: 45px; height: 45px; border: 1.5px solid #8ab18a; border-radius: 50% 50% 12px 12px; font-size: 24px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: Arial, Helvetica, sans-serif; font-size: 23px; letter-spacing: 1.1px; font-weight: 900; white-space: nowrap; }
.brand-copy small { font-size: 9px; letter-spacing: 3px; font-weight: 700; text-align: center; margin-top: 6px; }
.support-block { display: flex; align-items: center; gap: 12px; }
.support-icon { color: var(--mb-green-bright); font-size: 30px; }
.support-block small, .header-cart small { display: block; color: var(--mb-muted); font-size: 12px; }
.support-block strong, .header-cart strong { display: block; color: var(--mb-ink); font-size: 14px; }
.header-cart { display: flex; align-items: center; gap: 11px; color: var(--mb-ink); }
.cart-icon { position: relative; color: var(--mb-green); font-size: 27px; }
.cart-icon b { position: absolute; right: -8px; top: -6px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: #fff; background: var(--mb-orange); font-size: 10px; }

/* Navigation and search */
.nav-search-wrap { border-top: 1px solid #f0f1ec; border-bottom: 1px solid var(--mb-line); }
.nav-search { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 68px; }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a { color: #404b41; font-size: 13px; font-weight: 700; padding: 12px 11px; border-radius: 6px; }
.main-nav a:hover, .main-nav a.nav-current { color: var(--mb-green); background: #f2f7ed; }
.search-box { flex: 0 1 410px; display: flex; align-items: center; min-width: 240px; border: 1px solid #dfe5d9; border-radius: 7px; overflow: hidden; background: #fff; }
.search-box > i { padding-left: 14px; color: #8b9687; font-size: 14px; }
.search-box input { min-width: 0; width: 100%; height: 43px; border: 0 !important; border-radius: 0 !important; margin: 0 !important; padding: 0 12px !important; background: #fff !important; color: var(--mb-ink); font-size: 12px; box-shadow: none !important; }
.search-box button { align-self: stretch; border: 0; padding: 0 18px; color: #fff; background: var(--mb-green); font-size: 12px; font-weight: 800; }
.search-box button:hover { background: var(--mb-green-deep); }

/* Hero */
.hero-section { position: relative; overflow: hidden; min-height: 455px; display: flex; align-items: center; background: #dce7d1 url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=2000&q=85') center 47% / cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 44, 25, .87) 0%, rgba(28, 63, 35, .72) 43%, rgba(30, 50, 29, .15) 100%); }
.hero-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 455px; padding-top: 48px; padding-bottom: 48px; }
.hero-copy { max-width: 620px; color: #fff; }
.eyebrow, .section-kicker { display: inline-block; color: var(--mb-green); font-size: 10px; font-weight: 900; letter-spacing: 2px; }
.hero-copy .eyebrow { color: #d4f3b7; margin-bottom: 18px; }
.hero-copy h1 { margin: 0 0 18px; color: #fff; font-size: clamp(36px, 5vw, 61px); line-height: 1.04; letter-spacing: -1.8px; font-weight: 900; }
.hero-copy h1 em, .section-heading-row h2 em, .center-heading h2 em, .newsletter-copy h2 em { color: var(--mb-orange); font-style: normal; }
.hero-copy p { max-width: 540px; margin-bottom: 24px; color: rgba(255,255,255,.87); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary-custom { padding: 13px 19px; border-radius: 6px; background: var(--mb-orange); color: #2f291f; font-size: 12px; font-weight: 900; transition: transform .2s, background .2s; }
.btn-primary-custom:hover { background: #ffc16a; color: #2f291f; transform: translateY(-2px); }
.btn-outline-custom { padding: 12px 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 6px; color: #fff; font-size: 12px; font-weight: 800; }
.btn-outline-custom:hover { background: #fff; color: var(--mb-green-deep); }
.hero-note { margin-top: 25px; color: rgba(255,255,255,.82); font-size: 11px; }
.hero-note i { color: #bde78f; margin-right: 6px; }
.hero-sticker { width: 150px; height: 150px; flex: 0 0 150px; margin-right: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 50%; background: var(--mb-orange); color: #302819; transform: rotate(7deg); box-shadow: 0 12px 25px rgba(0,0,0,.16); }
.sticker-icon { font-size: 26px; margin-bottom: 5px; }
.hero-sticker strong { font-size: 15px; line-height: 1.2; }
.hero-sticker small { margin-top: 5px; font-size: 10px; }

/* Benefits strip */
.benefit-strip { background: #fff; border-bottom: 1px solid var(--mb-line); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 20px; padding-bottom: 20px; }
.benefit-item { display: flex; align-items: center; gap: 13px; padding: 8px 20px; border-right: 1px solid var(--mb-line); }
.benefit-item:first-child { padding-left: 0; }
.benefit-item:last-child { border-right: 0; }
.benefit-item > span { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border-radius: 12px; color: var(--mb-green); background: #edf5e7; font-size: 19px; }
.benefit-item strong { display: block; font-size: 12px; }
.benefit-item small { display: block; color: var(--mb-muted); font-size: 10px; }

/* Section headings */
.section-space { padding: 76px 0; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 29px; }
.section-heading-row h2, .center-heading h2, .newsletter-copy h2 { margin: 7px 0 8px; font-size: clamp(28px, 3vw, 37px); line-height: 1.15; font-weight: 900; letter-spacing: -.8px; color: var(--mb-ink); }
.section-heading-row p, .center-heading p { margin: 0; color: var(--mb-muted); font-size: 13px; }
.text-link { flex: 0 0 auto; color: var(--mb-green); font-size: 12px; font-weight: 800; }
.text-link:hover { color: var(--mb-green-deep); }
.text-link i { margin-left: 7px; }
.center-heading { text-align: center; margin-bottom: 34px; }

/* School cards */
.school-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.school-card { overflow: hidden; display: block; border: 1px solid var(--mb-line); border-radius: var(--mb-radius); color: var(--mb-ink); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.school-card:hover { transform: translateY(-5px); box-shadow: var(--mb-shadow); border-color: #c9ddbc; color: var(--mb-ink); }
.school-art { position: relative; display: grid; place-items: center; height: 140px; overflow: hidden; font-size: 57px; }
.school-art:after { content: ""; position: absolute; width: 150px; height: 150px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.school-art > i { position: relative; z-index: 1; color: rgba(255,255,255,.94); }
.school-art-green { background: linear-gradient(135deg, #367c4b, #a8c989); }
.school-art-orange { background: linear-gradient(135deg, #e49b43, #f7d49a); }
.school-art-blue { background: linear-gradient(135deg, #466c8b, #9fc3cf); }
.art-spark { position: absolute; top: 16px; right: 22px; color: rgba(255,255,255,.8); font-size: 23px; }
.school-card-body { padding: 18px 17px 17px; }
.card-label, .category-number, .product-type { display: block; color: var(--mb-green); font-size: 9px; font-weight: 900; letter-spacing: 1.4px; }
.school-card h3 { min-height: 42px; margin: 8px 0 13px; font-size: 16px; line-height: 1.3; font-weight: 800; }
.school-cta { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #edf0e9; color: var(--mb-green); font-size: 11px; font-weight: 800; }
.school-add-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px 18px; text-align: center; border-style: dashed; background: #fbfcf9; }
.school-add-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 14px; border-radius: 50%; background: #eaf3e4; color: var(--mb-green); font-size: 22px; }
.school-add-card h3 { min-height: 0; margin-bottom: 5px; }
.school-add-card p { margin-bottom: 17px; color: var(--mb-muted); font-size: 12px; }
.school-add-card .school-cta { width: 100%; }
.demo-note { margin: 20px 0 0; color: #899185; font-size: 10px; }
.demo-note i { margin-right: 5px; }

/* Category panels */
.category-band { background: var(--mb-cream); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-card { position: relative; display: flex; align-items: flex-start; gap: 17px; min-height: 220px; padding: 25px 21px; border: 1px solid rgba(38,51,43,.06); border-radius: var(--mb-radius); color: var(--mb-ink); background: #fff; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.category-card:hover { color: var(--mb-ink); transform: translateY(-4px); box-shadow: var(--mb-shadow); }
.category-bookset { border-top: 4px solid var(--mb-green); }
.category-loose { border-top: 4px solid var(--mb-orange); }
.category-stationery { border-top: 4px solid #7a9db6; }
.category-icon { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 15px; background: #edf5e7; color: var(--mb-green); font-size: 23px; }
.category-loose .category-icon { background: #fff2df; color: #c17a21; }
.category-stationery .category-icon { background: #eaf1f6; color: #4c7898; }
.category-card > div:last-child { min-width: 0; }
.category-number { margin: 2px 0 10px; color: #899185; font-size: 8px; }
.category-card h3 { margin: 0 0 9px; font-size: 19px; font-weight: 900; }
.category-card p { min-height: 56px; margin: 0 0 12px; color: var(--mb-muted); font-size: 12px; }
.category-arrow { color: var(--mb-green); font-size: 11px; font-weight: 900; }
.category-arrow i { margin-left: 5px; }

/* Sample product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid var(--mb-line); border-radius: var(--mb-radius); background: #fff; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--mb-shadow); }
.product-visual { position: relative; display: grid; place-items: center; height: 205px; overflow: hidden; }
.visual-book { background: #edf3e7; }
.visual-textbook { background: #f9ead8; }
.visual-copy { background: #e9f0f5; }
.visual-stationery { background: #f3e9f1; }
.product-tag { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 5px 8px; border-radius: 4px; background: rgba(255,255,255,.88); color: var(--mb-green-deep); font-size: 8px; font-weight: 900; letter-spacing: .8px; }
.book-stack, .single-book, .notebook-art { display: grid; place-items: center; width: 105px; height: 130px; border-radius: 5px 12px 12px 5px; color: #fff; font-size: 48px; box-shadow: 8px 9px 0 rgba(34,59,34,.12); }
.book-stack { background: linear-gradient(135deg, #347b4a, #1e5030); transform: rotate(-7deg); }
.single-book { background: linear-gradient(135deg, #d98b34, #9d5126); transform: rotate(5deg); }
.notebook-art { background: linear-gradient(135deg, #5b8ca5, #355e78); transform: rotate(-4deg); }
.stationery-art { display: flex; align-items: center; gap: 13px; color: #4f7954; font-size: 47px; transform: rotate(-8deg); }
.stationery-art i:nth-child(2) { color: #d99538; font-size: 39px; }
.stationery-art i:nth-child(3) { color: #668fa9; }
.product-details { padding: 18px; }
.product-type { color: #8a9585; font-size: 8px; }
.product-details h3 { min-height: 40px; margin: 8px 0; font-size: 15px; font-weight: 800; line-height: 1.35; }
.product-details p { min-height: 38px; margin: 0 0 15px; color: var(--mb-muted); font-size: 11px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid #edf0e9; }
.product-bottom strong { color: var(--mb-green); font-size: 13px; }
.product-bottom a { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--mb-green); color: #fff; font-size: 11px; }
.product-bottom a:hover { background: var(--mb-green-deep); }

/* Newsletter */
.newsletter-section { padding: 43px 0; background: #eaf2e4; }
.newsletter-inner { display: grid; grid-template-columns: 65px 1fr minmax(280px, 430px); align-items: center; gap: 22px; }
.newsletter-icon { display: grid; place-items: center; width: 61px; height: 61px; border-radius: 18px; background: #fff; color: var(--mb-green); font-size: 25px; }
.newsletter-copy h2 { margin: 5px 0 5px; font-size: 26px; }
.newsletter-copy p { margin: 0; color: var(--mb-muted); font-size: 12px; }
.newsletter-form { display: flex; padding: 5px; gap: 5px; border: 1px solid #d7e2cf; border-radius: 7px; background: #fff; }
.newsletter-form input { min-width: 0; flex: 1; height: 40px; margin: 0 !important; padding: 0 10px !important; border: 0 !important; background: transparent !important; font-size: 11px; box-shadow: none !important; }
.newsletter-form button { border: 0; border-radius: 5px; padding: 0 14px; background: var(--mb-green); color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }
.newsletter-form button:hover { background: var(--mb-green-deep); }

/* Footer */
.site-footer { padding: 54px 0 20px; background: #202820; color: #c8d2c4; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 38px; }
.footer-brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand-mark { border-color: #75977a; }
.footer-brand .brand-copy strong { font-size: 19px; }
.footer-brand .brand-copy small { color: #b4c9ad; font-size: 8px; }
.footer-about p { max-width: 290px; color: #b6c3b2; font-size: 12px; }
.site-footer h3 { margin: 4px 0 17px; color: #fff; font-size: 13px; font-weight: 900; }
.site-footer .footer-grid > div:not(:first-child) > a { display: block; margin: 0 0 11px; color: #bdc9b9; font-size: 11px; }
.site-footer a:hover { color: #b8e28e !important; }
.site-footer p { color: #bdc9b9; font-size: 11px; }
.site-footer p i { width: 17px; color: #b8d79d; }
.footer-social { display: flex; gap: 8px; margin-top: 17px; }
.footer-social a { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #475447; border-radius: 50%; color: #e4ecdf; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 18px; border-top: 1px solid #3b473a; color: #9eae9b; font-size: 10px; }
.footer-bottom i { color: #e8a05b; margin-left: 4px; }

/* Responsive behaviour */
@media (max-width: 991.98px) {
    .header-main { min-height: 82px; }
    .support-block { display: none; }
    .nav-search { align-items: stretch; flex-direction: column; gap: 8px; padding-top: 10px; padding-bottom: 12px; }
    .main-nav { justify-content: center; }
    .search-box { flex-basis: auto; width: 100%; }
    .hero-sticker { margin-right: 0; width: 125px; height: 125px; flex-basis: 125px; }
    .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .benefit-item:nth-child(2) { border-right: 0; }
    .benefit-item:nth-child(n+3) { border-top: 1px solid var(--mb-line); padding-top: 15px; }
    .school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-grid { grid-template-columns: 1fr; }
    .category-card { min-height: 0; }
    .category-card p { min-height: 0; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .newsletter-inner { grid-template-columns: 55px 1fr; }
    .newsletter-icon { width: 52px; height: 52px; }
    .newsletter-form { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .topbar-inner { align-items: flex-start; padding-top: 8px; padding-bottom: 8px; }
    .topbar-inner > span { max-width: 100px; line-height: 1.4; }
    .topbar-links { justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
    .topbar-links a { font-size: 10px; }
    .header-main { gap: 8px; min-height: 74px; }
    .brand { gap: 7px; }
    .brand-mark { width: 32px; height: 32px; font-size: 18px; }
    .brand-copy strong { font-size: 15px; letter-spacing: .4px; }
    .brand-copy small { font-size: 7px; letter-spacing: 1.8px; margin-top: 4px; }
    .header-cart { gap: 7px; }
    .cart-icon { font-size: 22px; }
    .header-cart small { font-size: 9px; }
    .header-cart strong { font-size: 11px; }
    .main-nav { gap: 0; justify-content: flex-start; }
    .main-nav a { padding: 9px 8px; font-size: 10px; }
    .search-box input { font-size: 11px; }
    .search-box button { padding: 0 12px; }
    .hero-section, .hero-content { min-height: 400px; }
    .hero-content { padding-top: 38px; padding-bottom: 38px; }
    .hero-overlay { background: linear-gradient(90deg, rgba(17,44,25,.91), rgba(28,63,35,.70)); }
    .hero-copy h1 { font-size: 39px; letter-spacing: -1.1px; }
    .hero-copy p { font-size: 13px; }
    .hero-sticker { display: none; }
    .hero-note { font-size: 10px; line-height: 1.5; }
    .section-space { padding: 49px 0; }
    .section-heading-row { align-items: flex-start; flex-direction: column; gap: 12px; }
    .section-heading-row h2, .center-heading h2 { font-size: 29px; }
    .school-grid { gap: 12px; }
    .school-art { height: 100px; font-size: 42px; }
    .school-card-body { padding: 13px 12px; }
    .school-card h3 { font-size: 13px; min-height: 50px; }
    .card-label { font-size: 7px; letter-spacing: .7px; }
    .school-cta { font-size: 10px; }
    .school-add-card { padding: 16px 10px; }
    .school-add-card h3 { min-height: 0; font-size: 13px; }
    .school-add-card p { font-size: 10px; }
    .category-card { gap: 13px; padding: 20px 15px; }
    .category-icon { flex-basis: 43px; width: 43px; height: 43px; border-radius: 12px; font-size: 19px; }
    .category-card h3 { font-size: 17px; }
    .category-card p { font-size: 11px; }
    .product-grid { gap: 12px; }
    .product-visual { height: 150px; }
    .book-stack, .single-book, .notebook-art { width: 75px; height: 95px; font-size: 34px; }
    .stationery-art { font-size: 31px; gap: 8px; }
    .stationery-art i:nth-child(2) { font-size: 28px; }
    .product-details { padding: 12px; }
    .product-details h3 { min-height: 39px; font-size: 12px; }
    .product-details p { font-size: 10px; min-height: 45px; }
    .product-tag { top: 8px; left: 8px; padding: 4px 5px; font-size: 6px; }
    .newsletter-inner { grid-template-columns: 43px 1fr; gap: 12px; }
    .newsletter-icon { width: 42px; height: 42px; border-radius: 12px; font-size: 19px; }
    .newsletter-copy h2 { font-size: 22px; }
    .newsletter-copy p { font-size: 10px; }
    .newsletter-form button { padding: 0 10px; font-size: 10px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 27px 18px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-brand .brand-copy strong { font-size: 17px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}


/* =========================================================
   POLISHED NAVIGATION, LARGER TYPE & COLORFUL BUTTONS
   Added as overrides so existing Default.aspx markup remains valid.
   ========================================================= */

/* Make the navigation feel like a deliberate, easy-to-scan menu */
.nav-search-wrap {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcf8 100%);
    box-shadow: 0 5px 18px rgba(34, 65, 35, .055);
}
.nav-search {
    min-height: 78px;
    gap: 25px;
}
.main-nav {
    gap: 5px;
    flex-wrap: nowrap;
}
.main-nav a {
    position: relative;
    padding: 14px 13px;
    border-radius: 8px;
    color: #344638;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.main-nav a:hover {
    color: #1e5933;
    background: #eaf5df;
    transform: translateY(-1px);
}
.main-nav a.nav-current {
    color: #fff;
    background: linear-gradient(135deg, #287542, #65ad18);
    box-shadow: 0 5px 12px rgba(40, 117, 66, .22);
}
.main-nav a.nav-current:hover {
    color: #fff;
    background: linear-gradient(135deg, #1e5933, #4c9410);
}
.search-box {
    flex-basis: 390px;
    border: 2px solid #e2eadb;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(36, 73, 39, .035);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.search-box:focus-within {
    border-color: #8abd65;
    box-shadow: 0 0 0 4px rgba(101, 173, 24, .12);
}
.search-box input {
    height: 48px;
    font-size: 14px;
}
.search-box button {
    padding: 0 22px;
    background: linear-gradient(135deg, #287542, #65ad18);
    font-size: 13px;
    transition: filter .2s ease;
}
.search-box button:hover { filter: brightness(.92); }

/* Larger, more readable base typography */
body { font-size: 16px; }
.topbar { font-size: 13px; }
.brand-copy strong { font-size: 25px; }
.support-block small, .header-cart small { font-size: 13px; }
.support-block strong, .header-cart strong { font-size: 15px; }
.hero-copy p { font-size: 17px; line-height: 1.7; }
.hero-note { font-size: 12px; }
.benefit-item strong { font-size: 14px; }
.benefit-item small { font-size: 12px; line-height: 1.45; }
.section-heading-row p, .center-heading p { font-size: 15px; }
.section-kicker { font-size: 11px; }
.school-card h3 { font-size: 17px; }
.school-card p, .school-add-card p { font-size: 14px; }
.card-label, .category-number, .product-type { font-size: 10px; }
.category-card h3 { font-size: 21px; }
.category-card p { font-size: 14px; line-height: 1.6; }
.category-arrow { font-size: 13px; }
.product-details h3 { font-size: 17px; }
.product-details p { font-size: 13px; line-height: 1.55; }
.product-bottom strong { font-size: 15px; }
.demo-note { font-size: 12px; }
.newsletter-copy p { font-size: 14px; }
.newsletter-form input { font-size: 13px; }
.newsletter-form button { font-size: 13px; }
.site-footer h3 { font-size: 15px; }
.site-footer .footer-grid > div:not(:first-child) > a,
.site-footer p { font-size: 13px; line-height: 1.7; }
.footer-about p { font-size: 14px; line-height: 1.7; }
.footer-bottom { font-size: 12px; }

/* Clearer button hierarchy and bright, friendly color accents */
.btn-primary-custom {
    padding: 15px 23px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffbd55, #f39a2e);
    color: #2e291e;
    font-size: 14px;
    box-shadow: 0 7px 17px rgba(243, 154, 46, .24);
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, #ffd17e, #ffad38);
    color: #2e291e;
}
.btn-outline-custom {
    padding: 14px 21px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,.82);
    background: rgba(255,255,255,.08);
    font-size: 14px;
    transition: background .2s ease, color .2s ease;
}
.btn-outline-custom:hover { background: #fff; color: #1e5933; }
.school-cta { font-size: 13px; }
.product-bottom a {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #287542, #65ad18);
    box-shadow: 0 4px 10px rgba(40,117,66,.18);
    transition: transform .2s ease;
}
.product-bottom a:hover { transform: translateX(2px); }
.newsletter-form button {
    padding: 0 18px;
    background: linear-gradient(135deg, #287542, #65ad18);
    border-radius: 6px;
}
.newsletter-form button:hover { background: linear-gradient(135deg, #1e5933, #4c9410); }

/* Slightly more generous school and category cards */
.school-card-body { padding: 20px 18px 18px; }
.school-card h3 { line-height: 1.4; }
.category-card { padding: 28px 23px; }
.product-details { padding: 20px; }

/* Tablet: menu becomes a clean, centered row above the search field */
@media (max-width: 991.98px) {
    .nav-search { min-height: 0; gap: 12px; padding-top: 13px; padding-bottom: 15px; }
    .main-nav { width: 100%; justify-content: center; flex-wrap: wrap; }
    .main-nav a { padding: 12px 14px; font-size: 14px; }
    .search-box { flex-basis: auto; }
}

/* Mobile: horizontal, scrollable navigation instead of cramped links */
@media (max-width: 575.98px) {
    .topbar { font-size: 12px; }
    .brand-copy strong { font-size: 15px; }
    .main-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 3px 1px 7px;
        scrollbar-width: thin;
    }
    .main-nav a {
        flex: 0 0 auto;
        padding: 10px 12px;
        font-size: 12px;
    }
    .search-box input { height: 44px; font-size: 12px; }
    .search-box button { padding: 0 14px; font-size: 12px; }
    .hero-copy p { font-size: 15px; }
    .hero-note { font-size: 11px; }
    .benefit-item strong { font-size: 12px; }
    .benefit-item small { font-size: 10px; }
    .section-heading-row p, .center-heading p { font-size: 13px; }
    .school-card h3 { font-size: 13px; }
    .category-card h3 { font-size: 17px; }
    .category-card p { font-size: 12px; }
    .product-details h3 { font-size: 13px; }
    .product-details p { font-size: 11px; }
    .site-footer .footer-grid > div:not(:first-child) > a,
    .site-footer p { font-size: 12px; }
}


/* =========================================================
   NAVIGATION SPACING + TYPOGRAPHY REFINEMENT
   ========================================================= */

/* Use a softer, more contemporary system font stack.
   No external font download required; stays reliable in Web Forms. */
body,
body input,
body button,
body select,
body textarea,
h1, h2, h3, h4, h5, h6 {
    font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif !important;
    letter-spacing: normal;
}

/* Give every menu item breathing room so labels do not run together */
.nav-search {
    gap: 28px;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}
.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 15px;
    margin: 2px 0;
    border-radius: 9px;
    font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif !important;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: .1px;
}
.main-nav a.nav-current {
    padding-left: 17px;
    padding-right: 17px;
}
.search-box {
    flex: 0 0 365px;
}
.search-box input {
    font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif !important;
    font-size: 12px;
}

/* Improve brand and body type hierarchy */
.brand-copy strong {
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif !important;
    font-weight: 800;
    letter-spacing: .7px;
}
.hero-copy h1 {
    font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif !important;
    font-weight: 750;
    letter-spacing: -1.2px;
}
.section-heading-row h2,
.center-heading h2,
.newsletter-copy h2 {
    font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif !important;
    font-weight: 750;
    letter-spacing: -.4px;
}
.school-card h3,
.category-card h3,
.product-details h3 {
    font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif !important;
    font-weight: 650;
    letter-spacing: 0;
}

/* Tablet navigation: clear spacing while allowing wrap */
@media (max-width: 991.98px) {
    .nav-search { gap: 14px; }
    .main-nav { gap: 7px; }
    .main-nav a { padding: 11px 14px; }
    .search-box { flex: 1 1 auto; }
}

/* Mobile: menu remains horizontally scrollable, with a visible gap */
@media (max-width: 575.98px) {
    .main-nav {
        gap: 7px;
        padding: 4px 2px 8px;
    }
    .main-nav a {
        padding: 10px 13px;
        font-size: 12px;
    }
}
