/* ===========================
   Color Scheme
=========================== */
input[type="checkbox"]:checked ~ label:before,
.terms-of-service .read,
.category-description a,
.manufacturer-description a,
.vendor-description a,
.full-description a,
.topic-page a,
.custom-tab a,
.topic-html-content a,
.post-body a,
.news-body a,
.cart a:hover,
.data-table a:hover,
.compare-products-table a:hover,
.forums-table-section a:hover,
.cart .edit-item a,
.cart .product-subtotal,
.footable-toggle:after,
.footable-detail-show .footable-toggle:after,
.eu-cookie-bar-notification .learn-more,
.search-box .search-box-button,
.mini-shopping-cart .price,
.mini-shopping-cart .totals strong,
.buttons .cart-button:not(:only-child),
.footer-block .list a:hover,
.poll-total-votes,
.block .listbox a:hover,
.block .listbox .active > a,
.block .view-all a,
.product-selectors .product-viewmode .selected,
.item-box .actual-price,
.item-box button:before,
.pager a:hover,
.pager span,
.pager a:hover:before,
.product-no-reviews a:hover,
.product-review-links a:hover,
.overview .value a,
.variant-overview .value a,
.download-sample,
.prices .product-price,
.overview-buttons button:before,
.availability .subscribe-button,
.delivery > div:first-child:before,
.product-estimate-shipping .shipping-price,
.product-tags-list li,
.product-reviews-page h1 a,
.product-review-item .review-info a,
.product-review-helpfulness .vote,
.wishlist-actions .share-info a,
.update-wishlist-button:before,
.email-a-friend-wishlist-button:before,
.compare-products-page .clear-list:before,
.compare-products-table .product-price td,
.email-a-friend-page .title a,
#check-availability-button,
.accept-privacy-policy .read,
.login-page .forgot-password,
.password-recovery-page .buttons a,
.block-account-navigation a:before,
.add-more-external-records a,
.edit-address-button:before,
.delete-address-button:before,
.order-details-button:before,
.return-items-button:before,
.retry-recurring-order-button:before,
.cancel-recurring-order-button:before,
.section.recurring-payments a,
.return-request-list-page .info a,
.get-download-button:before,
.download-license-link:before,
.remove-discount-button,
.remove-gift-card-button,
.update-cart-button:before,
.clear-cart-button:before,
.keep-shopping-button:before,
.estimate-shipping-button,
.estimate-shipping-button:before,
.cart-total .order-total span,
.order-completed .details a,
.order-details-page .view-details a,
.order-details-page .download a,
.sitemap-page .entity-body a,
.post-date,
.news-date,
.post-comments:before,
.news-comments:before,
.blogpost-page .tags a,
.comment-info a.username,
.news-list-homepage .view-all,
.private-messages .inputs a,
.private-messages-page .pm-unread,
.responsive-nav-wrapper .button,
.cart .add-to-cart label,
.cart .subtotal .td-title,
.sub-category-list a:hover,
.productAddedToCartWindowDescription a:hover,
.productAddedToCartWindowDescription .price,
.clearFilterOptions:hover,
.clearPriceRangeFilter:hover,
.productsPerPage,
.allProductsReturned,
.instant-search-item .price,
.mega-menu .title a:hover,
.drop-menu .title a:hover,
.mega-menu .subcategories a:hover,
.drop-menu .subcategories a:hover,
.mega-menu .subcategories .view-all,
.drop-menu .subcategories .view-all,
.quickView .links-panel a:after,
.quickView .links-panel a:hover,
.quickView .right button:before,
.rich-blog-widget .view-all,
.post-relations li a,
.post-navigation a:hover,
.blog-search-results a:hover,
.search-term-highlighter,
.sale-of-the-day-offer .actual-price,
.sale-of-the-day-offer .view-product,
.spc-categories .product-box-add-to-cart-button,
.spc-categories .category-details a:hover,
.anywhere-page-map .map-controls span,
.current-location-wrap a,
.shops-item .show-directions,
.shop-page .map-controls a,
.shop-full-description a {
  color: #0361a4;
}

/* ===========================
   Background Styles
=========================== */
button,
input[type="button"],
input[type="submit"],
input[type="radio"]:checked + label:before,
.ui-tabs .ui-state-hover a,
.ui-tabs .ui-tabs-selected a,
.ui-tabs .ui-tabs-active a,
.social-networks li:hover,
.filter-content .ui-slider-range,
.ui-datepicker-calendar td a:hover,
.ui-datepicker-calendar .ui-state-active,
.ui-datepicker-calendar .ui-state-active:hover,
.order-progress .active-step a,
.method-list .selected:before,
.order-details-page .buttons a,
.blog-posts .read-more,
.news-items .read-more,
.profile-info-box .pm-button,
.flyout-nav .nav-close,
.header-cart .ico-cart:before,
.ui-slider-range,
.anywhere-slider .slick-active button,
.picture-thumbs .slick-active button,
.nop-jcarousel .slick-prev:hover,
.nop-jcarousel .slick-next:hover,
.nop-jcarousel .slick-active > button,
.sale-of-the-day-offer .slick-active > button,
.spc .mobile-navigation select,
.spc .slick-prev:hover,
.spc .slick-next:hover,
.spc .slick-active > button,
.spc .navigation .tab.active,
.spc .navigation .tab:hover,
.shops-item .read-more {
  background-color: #0361a4;
}

/* ===========================
   Border Styles
=========================== */
.ajax-loading-block-window,
.filter-content .ui-slider-handle,
.order-progress .active-step + li:before,
.nopAjaxCartPanelAjaxBusy:before,
.miniProductDetailsPanelAjaxBusy:before,
.ui-slider-handle,
.productPanelAjaxBusy:before,
.infinite-scroll-loader:before,
.item-box.dummy-box:before,
.anywhere-slider:before,
.cloudzoom-ajax-loader:before,
.quickView .k-loading-image,
.quickView .cloudzoom-ajax-loader:before,
.spc .loading-overlay:before {
  border-color: #0361a4;
}

/* ===========================
   Responsive Styles
=========================== */
@media (min-width: 1025px) {
  .header-menu,
  .block-account-navigation .active > a {
    background-color: #0361a4;
  }
}

/* =========================================
   HOS Footer - Compact Centered Version
========================================= */

.hos-footer {
  margin-top: 40px;
  background:
    linear-gradient(180deg, #255bc0 0%, #255bc0 112px, #f4f8fd 112px, #edf4fb 100%);
  color: #17324d;
}

.hos-footer,
.hos-footer * {
  box-sizing: border-box;
}

.hos-footer a {
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.hos-footer__inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 22px 20px 14px;
}

/* Top strip */
.hos-footer__mini {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
  padding: 6px 18px 10px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4c74e0 0%, #365ad1 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(22, 60, 140, 0.22);
}

.hos-footer__miniLogo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.hos-footer__miniLogo .header-logo,
.hos-footer__miniLogo .logo,
.hos-footer__miniLogo .store-logo {
  margin: 0;
  padding: 0;
  text-align: left;
}

.hos-footer__miniLogo img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 54px;
}

.hos-footer__miniCenter {
  text-align: center;
  justify-self: center;
  width: 100%;
}

.hos-footer__miniHeading {
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hos-footer__miniSubheading {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.hos-footer__miniRight {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.hos-footer__miniBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.hos-footer__miniBtn:hover {
  transform: translateY(-1px);
}

.hos-footer__miniBtn--primary {
  background: #fff;
  color: #2a54cf !important;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.14);
}

.hos-footer__miniBtn--secondary {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff !important;
}

/* Main footer blocks */
.hos-footer__main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(290px, 0.95fr);
  gap: 16px;
  align-items: start;
}

.hos-footer__column {
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(20, 49, 79, 0.08);
  box-shadow: 0 10px 24px rgba(19, 45, 78, 0.06);
  padding: 18px 18px 14px;
  background: rgba(255, 255, 255, 0.94);
}

.hos-footer__column--quicklinks {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.hos-footer__column--support {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.hos-footer__column--account {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
}

.hos-footer__column--connect {
  background: linear-gradient(180deg, #ffffff 0%, #f3fff8 100%);
}

.hos-footer__title {
  margin-bottom: 12px;
}

.hos-footer__title strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #14314f;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.hos-footer__title strong::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.hos-footer__column--quicklinks .hos-footer__title strong::before {
  background: #4f46e5;
}

.hos-footer__column--support .hos-footer__title strong::before {
  background: #38bdf8;
}

.hos-footer__column--account .hos-footer__title strong::before {
  background: #f59e0b;
}

.hos-footer__column--connect .hos-footer__title strong::before {
  background: #22c55e;
}

.hos-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hos-footer__list li {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(217, 227, 239, 0.9);
}

.hos-footer__list li:first-child {
  border-top: 0;
}

.hos-footer__list a {
  display: block;
  padding: 9px 0;
  color: #3f5f7f;
  font-size: 16px;
  line-height: 1.42;
  font-weight: 500;
}

.hos-footer__list a:hover {
  color: #1d4ed8;
}

/* Newsletter */
.hos-footer__newsletter {
  margin-top: 2px;
}

.hos-footer__newsletter .newsletter {
  margin: 0;
}

.hos-footer__newsletter .newsletter .title {
  display: none;
}

.hos-footer__newsletter .newsletter-subscribe {
  margin: 0;
}

.hos-footer__newsletter .newsletter-email {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.hos-footer__newsletter .newsletter-email input[type="text"],
.hos-footer__newsletter .newsletter-email input[type="email"],
.hos-footer__newsletter .newsletter-subscribe-text {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d4dfec;
  border-radius: 12px;
  background: #fff;
  color: #17324d;
  font-size: 14px;
  box-shadow: none;
}

.hos-footer__newsletter .newsletter-email input:focus,
.hos-footer__newsletter .newsletter-subscribe-text:focus {
  border-color: #88afea;
  outline: none;
}

.hos-footer__newsletter .newsletter-subscribe-button,
.hos-footer__newsletter button[type="button"],
.hos-footer__newsletter button[type="submit"] {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #62be7d 0%, #55ad70 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.hos-footer__newsletter .newsletter-validation,
.hos-footer__newsletter .newsletter-result {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
}

/* Social */
.hos-footer__socialWrap {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 227, 239, 0.9);
}

.hos-footer__socialLabel {
  margin-bottom: 10px;
  color: #25425e;
  font-size: 14px;
  font-weight: 800;
}

.hos-footer__socialWrap .networks,
.hos-footer__socialWrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hos-footer__socialWrap .networks li,
.hos-footer__socialWrap ul li {
  margin: 0;
  padding: 0;
}

.hos-footer__socialWrap .networks a,
.hos-footer__socialWrap ul a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dce8f5;
  color: #1d4ed8;
  box-shadow: 0 4px 10px rgba(19, 45, 78, 0.04);
}

/* Widget area */
.hos-footer__widgets {
  margin-top: 10px;
}

/* Bottom */
.hos-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 49, 79, 0.10);
  color: #62768d;
  font-size: 12px;
  line-height: 1.5;
}

.hos-footer__bottomLeft,
.hos-footer__bottomRight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.hos-footer__divider {
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 1250px) {
  .hos-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hos-footer__mini {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hos-footer__miniLogo {
    justify-content: center;
  }

  .hos-footer__miniLogo .header-logo,
  .hos-footer__miniLogo .logo,
  .hos-footer__miniLogo .store-logo {
    text-align: center;
    width: 100%;
  }

  .hos-footer__miniRight {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .hos-footer {
    margin-top: 32px;
    background:
      linear-gradient(180deg, #255bc0 0%, #255bc0 92px, #f4f8fd 92px, #edf4fb 100%);
  }

  .hos-footer__inner {
    padding: 16px 16px 14px;
  }

  .hos-footer__mini {
    padding: 14px;
    border-radius: 16px;
  }

  .hos-footer__miniHeading {
    font-size: 16px;
  }

  .hos-footer__miniSubheading {
    font-size: 13px;
  }

  .hos-footer__miniRight {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .hos-footer__miniBtn {
    width: 100%;
  }

  .hos-footer__main {
    grid-template-columns: 1fr;
  }

  .hos-footer__column {
    border-radius: 16px;
    padding: 16px;
  }

  .hos-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hos-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hos-social-list li {
  margin: 0;
  padding: 0;
}

.hos-social-list .link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dce8f5;
  color: #1d4ed8;
  box-shadow: 0 6px 14px rgba(19, 45, 78, 0.06);
  transition: transform 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.hos-social-list .link:hover {
  transform: translateY(-2px);
  color: #1746c5;
  box-shadow: 0 10px 20px rgba(19, 45, 78, 0.10);
}

.hos-social-list .link svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.hos-social-list .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

/* =========================================
   Help Our School - Shared Homepage Modules
========================================= */
.hos-section {
  margin: 28px 0 36px;
  width: 100%;
}

.hos-sectionHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.hos-sectionHead h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.hos-sectionHead p {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
}

.hos-miniLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  border: 1px solid #2563eb;
  padding: 6px 12px;
  border-radius: 4px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hos-miniLink:hover {
  background-color: #2563eb;
  color: #fff;
  text-decoration: none;
}

/* Force Pioneer wrappers not to flatten the grid */
.page.home-page .hos-grid,
.center-1 .hos-grid,
.hos-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hos-schoolCard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  min-width: 0;
}

.hos-schoolCard:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  background: #fafafa;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.hos-schoolLogo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.hos-schoolMeta {
  flex: 1 1 auto;
  min-width: 0;
}

.hos-schoolName {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.hos-schoolLoc {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
}

.hos-row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hos-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.hos-partner {
  background: #dbeafe;
  color: #1d4ed8;
}

.hos-community {
  background: #f3f4f6;
  color: #374151;
}

.hos-grid--partners {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hos-schoolCard--partner {
  border-color: #dbeafe;
  background: #fff;
}

.hos-schoolCard--partner:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}

html.hos-school-active .featured-product-grid .item-box button {
  display: none !important;
}