/* GENIUS Shopfront. This stylesheet does not affect the separate Academy PHP website. */
:root { --gsl-blue:#2337ad; --gsl-deep:#142650; --gsl-ink:#1b2c47; --gsl-muted:#5e6e85; --gsl-border:#e0e7f0; --gsl-paper:#fff; }
.gsl-store, .gsl-store * {box-sizing:border-box}
.gsl-store {width:min(1200px,calc(100vw - 36px));max-width:none!important;position:relative;left:50%;transform:translateX(-50%);font-family:inherit;color:var(--gsl-ink);margin:12px 0 60px;}
.gsl-store a {text-decoration:none;}
.gsl-store .gsl-hero {position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(123deg,#142753 0%,#263ba5 68%,#5367d2 100%);border-radius:25px;padding:clamp(27px,5vw,64px);color:#fff;}
.gsl-hero-glow{position:absolute;z-index:-1;width:300px;height:300px;right:-45px;top:-120px;background:#ffffff19;border-radius:50%;box-shadow:-85px 190px 0 40px #ffffff08;}
.gsl-hero-eyebrow{display:inline-block;font-size:12px;letter-spacing:.17em;font-weight:800;color:#dfe5ff;}
.gsl-store .gsl-hero h1{font-size:clamp(29px,4.1vw,53px);line-height:1.13;color:#fff!important;max-width:700px;margin:13px 0 15px;font-weight:850;letter-spacing:-.035em;}
.gsl-hero p{max-width:705px;line-height:1.55;color:#e6ebff!important;margin:0 0 26px;font-size:16px;}
.gsl-search {max-width:720px;background:#fff;border-radius:16px;padding:12px;color:var(--gsl-ink);box-shadow:0 8px 28px #080d2630;}
.gsl-search label{font-size:12px;font-weight:800;display:block;margin-bottom:6px;color:#435470;}
.gsl-search-row{display:flex;gap:8px;align-items:stretch;}
.gsl-search-row input[type="search"]{min-width:0;flex:1;padding:12px 14px;border:1px solid #dee6ee;border-radius:10px;background:#fbfcff;font-size:15px;color:#1b2c47;}
.gsl-search-row button,.gsl-filter-actions button{background:#2337ad;color:#fff;border:0;border-radius:10px;padding:12px 20px;font-weight:750;cursor:pointer;}
.gsl-search-row button:hover,.gsl-filter-actions button:hover{background:#152982;}
.gsl-hero-features{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:20px;color:#e7eeff;font-size:13px;}
.gsl-section-head {display:flex;gap:16px;justify-content:space-between;align-items:flex-end;margin-bottom:18px;}
.gsl-mini{font-size:12px;font-weight:800;color:#4760a9;text-transform:uppercase;letter-spacing:.09em;}
.gsl-store .gsl-section-head h2 {font-size:clamp(22px,2.5vw,29px);line-height:1.22;margin:4px 0 0;color:var(--gsl-deep);font-weight:800;}
.gsl-section-head > a{font-size:14px;font-weight:750;color:var(--gsl-blue);white-space:nowrap;border-bottom:1px solid #afbeef;padding-bottom:4px;}
.gsl-dept-section,.gsl-product-section{margin-top:34px;margin-bottom:35px;}
.gsl-dept-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.gsl-dept-card{background:#fff;border:1px solid var(--gsl-border);border-radius:18px;padding:26px 25px;min-height:236px;display:flex;flex-direction:column;align-items:flex-start;gap:11px;box-shadow:0 6px 26px #1d31540a;color:var(--gsl-ink)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}
.gsl-dept-card:hover{transform:translateY(-3px);box-shadow:0 10px 35px #1d31551c;border-color:#9bb0e4;}
.gsl-dept-icon{width:56px;height:56px;border-radius:15px;display:grid;place-items:center;font-size:30px;background:#f2f5ff;}
.gsl-dept-hardware .gsl-dept-icon{background:#eaf5fd}.gsl-dept-books .gsl-dept-icon{background:#fff2e6}.gsl-dept-stationery .gsl-dept-icon{background:#edf8ee}
.gsl-dept-title{font-size:21px;font-weight:850;line-height:1.2;}.gsl-dept-desc{font-size:14px;color:var(--gsl-muted);line-height:1.45;}
.gsl-dept-bottom{margin-top:auto;font-weight:800;color:var(--gsl-blue);font-size:13px;display:flex;justify-content:space-between;width:100%;padding-top:10px;}
.gsl-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;}
.gsl-product-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--gsl-border);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 3px 15px #1b2c4708;transition:box-shadow .2s ease;}
.gsl-product-card:hover{box-shadow:0 9px 28px #1b2c471d;}
.gsl-product-card .gsl-cover{display:flex;justify-content:center;align-items:center;height:230px;padding:14px;background:#f8f9fc;overflow:hidden;}
.gsl-product-card .gsl-cover img{display:block!important;width:100%!important;height:100%!important;max-height:210px!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;border:0!important;background:transparent!important;margin:0 auto!important;position:static!important;transform:none!important;}
.gsl-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:10px;padding:17px;}
.gsl-product-title{font-size:15px;font-weight:780;line-height:1.42;color:var(--gsl-deep)!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:42px;}
.gsl-price{font-size:18px;font-weight:850;color:var(--gsl-blue);margin-top:auto;}
.gsl-price del{color:#9ca5b2;font-size:13px;margin-right:4px;}.gsl-price ins{text-decoration:none;}
.gsl-stock{font-size:12px;color:#8b531e;}
.gsl-view-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cad5f4;border-radius:9px;color:var(--gsl-blue)!important;padding:9px 12px;font-size:13px;font-weight:800;width:100%;text-align:center;}
.gsl-view-link:hover{background:#f1f5ff;}
.gsl-all-shop,.gsl-more-link{margin:28px 0;text-align:center}.gsl-all-shop a,.gsl-more-link a{background:var(--gsl-blue);color:#fff!important;border-radius:11px;padding:13px 23px;display:inline-block;font-weight:750;}
.gsl-breadcrumb{color:var(--gsl-muted);font-size:13px;margin:10px 0 24px}.gsl-breadcrumb a{color:var(--gsl-blue)}.gsl-breadcrumb span{margin:0 9px}
.gsl-department-head{border:1px solid #e1e9f5;background:linear-gradient(115deg,#eef3ff,#f9fbff);padding:clamp(22px,3vw,42px);border-radius:20px;margin-bottom:22px;}
.gsl-kicker{font-weight:850;text-transform:uppercase;letter-spacing:.09em;color:#4960ac;font-size:12px;}
.gsl-store .gsl-department-head h1{color:var(--gsl-deep);font-size:clamp(28px,3.6vw,43px);letter-spacing:-.02em;margin:5px 0 7px;}
.gsl-department-head p{font-size:16px;color:#596b86;margin:0 0 12px;}.gsl-department-count{font-size:13px;color:#526582;font-weight:700}
.gsl-category-nav{display:flex;gap:9px;overflow-x:auto;flex-wrap:wrap;padding-bottom:10px;margin-bottom:16px;}
.gsl-cat-pill{border:1px solid #dce3ed;background:#fff;border-radius:40px;padding:9px 13px;color:#274164!important;font-size:13px;font-weight:750;}
.gsl-cat-pill span{color:#7b8b9f;font-weight:600;margin-left:4px}.gsl-cat-pill:hover,.gsl-cat-pill.is-active{background:#2235ad;border-color:#2235ad;color:#fff!important;}.gsl-cat-pill.is-active span,.gsl-cat-pill:hover span{color:#e8ecff}
.gsl-filter-form{background:#f7f9fd;border:1px solid #e0e7f1;border-radius:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:19px;margin:12px 0 15px;}
.gsl-filter-title{grid-column:1/-1;font-size:16px;font-weight:800;color:var(--gsl-deep)}
.gsl-filter-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:700;color:#30486d;min-width:0;}
.gsl-filter-form select,.gsl-filter-form input{font-size:14px;background:#fff;border:1px solid #cfd9e6;border-radius:9px;padding:10px;width:100%;max-width:100%;min-width:0;color:#293d60;}
.gsl-filter-actions{grid-column:1/-1;display:flex;align-items:center;gap:14px;}.gsl-filter-actions a{font-size:14px;font-weight:700;color:#405c9c;}
.gsl-grade-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px;align-items:center;}.gsl-grade-links span{font-size:13px;font-weight:750;color:#596b86;margin-right:5px;}.gsl-grade-links a{font-size:12px;border-radius:8px;padding:7px 11px;color:#35517d;border:1px solid #dbe4f2;background:#fff;}.gsl-grade-links a.is-active,.gsl-grade-links a:hover{color:#fff;background:var(--gsl-blue);border-color:var(--gsl-blue)}
.gsl-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;margin-top:25px}.gsl-pagination a,.gsl-pagination span{border-radius:8px;padding:9px 13px;border:1px solid #e0e5f0;}.gsl-pagination a{color:var(--gsl-blue);font-weight:750;}.gsl-pagination a.is-active{background:var(--gsl-blue);color:#fff}.gsl-empty{padding:30px;text-align:center;background:#fafbff;border-radius:12px;color:#637084;}
/* Existing WooCommerce Shop / Product Collection / classic templates: shrink, center and contain covers. */
body.woocommerce-shop .wc-block-components-product-image img,
body.post-type-archive-product .wc-block-components-product-image img,
body.tax-product_cat .wc-block-components-product-image img,
body.woocommerce-page .wc-block-grid__product-image img,
body.woocommerce-page ul.products li.product a img,
body.woocommerce-page .wp-block-woocommerce-product-image img,
body.woocommerce-page .wc-block-product-template .wp-block-post-featured-image img,
body .wp-block-woocommerce-product-collection .wc-block-components-product-image img {
    display:block!important;width:100%!important;height:240px!important;max-height:240px!important;max-width:100%!important;
    object-fit:contain!important;object-position:center center!important;aspect-ratio:auto!important;
    margin-left:auto!important;margin-right:auto!important;padding:10px!important;box-sizing:border-box!important;background-color:#f8fafc!important;
}
body.woocommerce-page ul.products li.product img,body .wc-block-product-template img{object-position:center!important;}
body.single-product .woocommerce-product-gallery__image img,body.single-product .wp-block-woocommerce-product-image-gallery img{max-height:475px!important;object-fit:contain!important;object-position:center!important;}
@media (max-width:960px){.gsl-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gsl-store .gsl-dept-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gsl-dept-card{padding:20px}.gsl-filter-form{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:720px){.gsl-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gsl-store .gsl-dept-grid{grid-template-columns:1fr}.gsl-dept-card{min-height:170px}.gsl-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.gsl-section-head{align-items:flex-start;flex-wrap:wrap}.gsl-search-row{flex-direction:column}.gsl-product-card .gsl-cover{height:195px}.gsl-product-card .gsl-cover img{max-height:178px!important}.gsl-store{width:calc(100vw - 24px)} }
@media (max-width:430px){.gsl-filter-form{grid-template-columns:1fr}.gsl-product-card .gsl-cover{height:168px;padding:7px}.gsl-product-card .gsl-cover img{max-height:154px!important}.gsl-card-copy{padding:10px}.gsl-product-title{font-size:13px}.gsl-price{font-size:15px}.gsl-hero{padding:26px 19px!important}}

/* v1.1 -- bright GENIUS branded experience. The original Academy PHP site is unaffected. */
:root {
  --gsl-blue:#2453ce; --gsl-deep:#14254f; --gsl-ink:#15294a;
  --gsl-muted:#4c6080; --gsl-border:#dce6f3; --gsl-turquoise:#00c4ae;
  --gsl-yellow:#ffc84c; --gsl-sky:#eaf6ff;
}
body:not(.wp-admin) {
  background:linear-gradient(180deg,#eff7ff 0,#fafcff 330px,#ffffff 850px) !important;
  color:#182d4c;
}
/* Header: striking blue rather than default blank black/white WordPress header. */
body .wp-site-blocks > header.wp-block-template-part,
body header.wp-block-template-part {
  background:linear-gradient(115deg,#101f4b 0%,#183e91 55%,#175b97 100%) !important;
  box-shadow:0 10px 32px rgba(13,37,78,.18);
  border-bottom:4px solid var(--gsl-turquoise);
  color:#fff !important;
  margin-bottom:0 !important;
}
body header.wp-block-template-part > .wp-block-group,
body header.wp-block-template-part .wp-block-group,
body header.wp-block-template-part .has-background {
  background:transparent !important;
  color:#fff !important;
}
body header.wp-block-template-part .wp-block-site-title,
body header.wp-block-template-part .wp-block-site-title a {
  color:#fff !important;
  font-weight:850 !important;
  letter-spacing:-.025em;
  text-decoration:none !important;
  text-shadow:0 1px 0 rgba(0,0,0,.05);
}
body header.wp-block-template-part .wp-block-site-title a:hover { color:#fbdc86 !important; }
body header.wp-block-template-part .wp-block-site-title::before {
  content:'✦';
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;margin-right:10px;border-radius:11px;
  background:linear-gradient(145deg,#13cebb,#7cf0db);
  color:#092e4d; font-size:22px; vertical-align:middle; transform:translateY(-2px);
  box-shadow:0 3px 15px rgba(5,198,179,.25);
}
.gsl-main-nav {
  display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center;
  gap:6px 7px;max-width:860px; margin-left:auto;
}
.gsl-main-nav .gsl-main-link {
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 13px;min-height:41px;border-radius:11px;
  font-size:13px;line-height:1.25;font-weight:800;white-space:nowrap;
  color:#eef8ff !important;text-decoration:none !important;
  border:1px solid transparent;transition:background .18s,transform .18s,color .18s;
}
.gsl-main-nav .gsl-main-link:hover,
.gsl-main-nav .gsl-main-link:focus-visible {
  color:#102750 !important;background:#d9f9f2 !important;
  transform:translateY(-1px);
  outline-offset:2px;
}
.gsl-main-nav .gsl-main-link.gsl-active {
  color:#101f46 !important;background:var(--gsl-yellow) !important;
  box-shadow:0 4px 10px rgba(0,0,0,.14);
}
/* Extra account and profile icons from certain WooCommerce header variations. */
body header.wp-block-template-part .wp-block-woocommerce-customer-account,
body header.wp-block-template-part .wc-block-customer-account,
body header.wp-block-template-part .wp-block-loginout,
body header.wp-block-template-part a[href*="/my-account/"] { display:none !important; }

/* The new homepage's own hero is the main heading; avoid duplicate auto page title. */
body.gsl-managed-shop-page .wp-block-post-title {display:none !important;}
body.gsl-managed-shop-page main {padding-top:14px;}
.gsl-store .gsl-hero {
  background:linear-gradient(122deg,#102459 0%,#214bba 55%,#087a9b 100%);
  border:1px solid rgba(60,214,238,.4);
  box-shadow:0 19px 45px rgba(24,48,114,.22);
}
.gsl-store .gsl-hero::after {
  content:'✦'; position:absolute;right:8%;top:16%;z-index:-1;
  font-size:clamp(70px,10vw,170px);color:rgba(255,229,141,.16);
  transform:rotate(-13deg);pointer-events:none;
}
.gsl-hero-features span {display:inline-flex;align-items:center;padding:5px 10px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:50px;}
.gsl-search-row button,.gsl-filter-actions button,.gsl-all-shop a,.gsl-more-link a {
  background:linear-gradient(115deg,#19bda9,#0a83af) !important;
  box-shadow:0 5px 15px rgba(0,167,169,.19);
  color:#fff!important;
}
.gsl-search-row button:hover,.gsl-filter-actions button:hover,.gsl-all-shop a:hover,.gsl-more-link a:hover {
  background:linear-gradient(115deg,#0a9f96,#195ba9) !important;
}
.gsl-dept-card {
  position:relative; overflow:hidden;border:1px solid #d7e5f3;
  box-shadow:0 8px 24px rgba(21,63,115,.08);
  min-height:238px;
}
.gsl-dept-card::before {content:'';position:absolute;inset:0 0 auto;height:7px;background:#23bdac;}
.gsl-dept-stationery {background:linear-gradient(155deg,#f0fff8 0%,#fff 65%);}
.gsl-dept-stationery::before {background:linear-gradient(90deg,#09bc97,#66d8a4);}
.gsl-dept-hardware {background:linear-gradient(155deg,#edf7ff 0%,#fff 65%);}
.gsl-dept-hardware::before {background:linear-gradient(90deg,#1a70d8,#35c3ea);}
.gsl-dept-books {background:linear-gradient(155deg,#fff8ec 0%,#fff 65%);}
.gsl-dept-books::before {background:linear-gradient(90deg,#f4ab32,#ef6c4c);}
.gsl-dept-card:hover {transform:translateY(-6px);box-shadow:0 16px 36px rgba(21,63,115,.16);}
.gsl-dept-icon {width:66px;height:66px;font-size:33px;box-shadow:inset 0 0 0 1px rgba(20,68,90,.06);}
.gsl-dept-title{color:#122a54;font-size:22px;}
.gsl-dept-bottom{color:#164eb4;}
.gsl-product-card {border:1px solid #dbe7f4;box-shadow:0 5px 18px rgba(18,55,99,.06);}
.gsl-product-card:hover {box-shadow:0 14px 34px rgba(23,77,132,.17);transform:translateY(-2px);}
.gsl-product-card .gsl-cover {background:linear-gradient(150deg,#f4faff,#fff 78%);}
.gsl-view-link {color:#13509e!important;border-color:#a6d4e4;background:#eefafd;}
.gsl-view-link:hover {background:#dbf5f2;}
.gsl-department-head {background:linear-gradient(110deg,#e5f4ff,#f2f7ff 55%,#f0fffa);border-color:#c5e8ee;box-shadow:0 6px 20px rgba(24,79,138,.08);}
.gsl-cat-pill.is-active,.gsl-cat-pill:hover {background:#1458aa;border-color:#1458aa;}
.gsl-grade-links a.is-active,.gsl-grade-links a:hover {background:#147eac;border-color:#147eac;}
.gsl-filter-form {background:linear-gradient(160deg,#eff7ff,#f7fbff);border-color:#d2e7f6;}
/* Classic catalog cards and checkout remain functional; just unify colors. */
body.woocommerce-shop ul.products li.product,
body.post-type-archive-product ul.products li.product {border-radius:14px;overflow:hidden;}
body.woocommerce-shop .button,
body.woocommerce-page ul.products .button,
body.woocommerce-page .single_add_to_cart_button,
body.woocommerce-cart .checkout-button,
body.woocommerce-checkout #place_order {
  background:#2059bf!important;color:white!important;border-radius:10px!important;
}
/* This only hides shopper-facing coupon/review elements, not the order's audit history. */
body.woocommerce .woocommerce-tabs .reviews_tab,
body.woocommerce .woocommerce-Reviews,
body.woocommerce .woocommerce-product-rating,
body.woocommerce .star-rating,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-cart .coupon,
body .wc-block-components-totals-coupon,
body .wc-block-components-totals-coupon__form,
body .wc-block-components-order-summary-coupon-form,
body .wc-block-components-product-rating,
body .wp-block-woocommerce-product-rating,
body .wp-block-woocommerce-product-reviews { display:none!important; }

/* Replace Twenty Twenty-Five's stock footer completely. */
body .wp-site-blocks > footer.wp-block-template-part:not(.gsl-brand-footer) {display:none!important;}
.gsl-brand-footer {
  margin:60px 0 0!important;
  background:linear-gradient(125deg,#0e224a 0%,#12356c 70%,#0b5974 100%);
  color:#eff7ff!important;
  border-top:6px solid #12c2b2;
  box-shadow:0 -8px 32px rgba(10,40,82,.08);
  padding:48px max(24px,calc((100vw - 1200px)/2)) 20px;
}
.gsl-brand-footer, .gsl-brand-footer * {box-sizing:border-box;}
.gsl-brand-footer .gsl-footer-inner {
  display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:35px;align-items:start;
}
.gsl-brand-footer .gsl-footer-kicker {font-size:11px;font-weight:850;color:#70f0dc;letter-spacing:.13em;}
.gsl-brand-footer h2{color:#fff!important;font-size:clamp(23px,2.6vw,31px);font-weight:850;line-height:1.1;margin:11px 0 14px;}
.gsl-brand-footer h3{color:#a9f5ee!important;font-size:15px;font-weight:850;letter-spacing:.025em;margin:3px 0 14px;}
.gsl-brand-footer p{color:#dfedff!important;line-height:1.5;font-size:14px;margin:7px 0;}
.gsl-brand-footer a {color:#fff!important;text-decoration:none!important;display:block;overflow-wrap:anywhere;font-weight:650;}
.gsl-brand-footer a:hover {color:#ffda79!important;text-decoration:underline!important;}
.gsl-footer-contact a{margin:0 0 11px;font-size:14px;}
.gsl-brand-footer .gsl-academy-cta {
  display:inline-flex;gap:7px;align-items:center;
  margin-top:14px;background:#ffce65;border-radius:11px;padding:12px 17px;
  color:#132b56!important;font-size:14px;font-weight:850;
}
.gsl-brand-footer .gsl-academy-cta:hover{background:#fff0b6;color:#132b56!important;text-decoration:none!important;}
.gsl-footer-legal {border-top:1px solid rgba(226,245,255,.19);margin-top:30px;padding-top:18px;
  font-size:12px;color:#bfddf0;text-align:left;}
@media(max-width:1100px) {
  body header.wp-block-template-part .wp-block-group {flex-wrap:wrap!important;}
  .gsl-main-nav {max-width:100%;justify-content:center;}
}
@media(max-width:760px) {
  body header.wp-block-template-part {padding:8px 4px!important;}
  .gsl-main-nav {justify-content:flex-start;gap:4px;}
  .gsl-main-nav .gsl-main-link {padding:9px 11px;font-size:12px;min-height:37px;}
  .gsl-brand-footer {padding:35px 18px 18px;}
  .gsl-brand-footer .gsl-footer-inner {grid-template-columns:1fr;gap:22px;}
}
@media(prefers-reduced-motion:reduce) {
  .gsl-main-link,.gsl-dept-card,.gsl-product-card {transition:none!important;}
}

/* Checkout payment choice panel. Cart count is displayed by the native WooCommerce icon only. */
.gsl-pay-options {border:1px solid #bed8f5;border-radius:22px;overflow:hidden;margin:10px 0 24px;
  background:linear-gradient(115deg,#f4faff,#eaf8ff 55%,#e9fff6);box-shadow:0 8px 25px rgba(19,55,101,.10);}
.gsl-pay-intro {background:linear-gradient(110deg,#142954,#2858bd);color:#fff;padding:18px 24px;}
.gsl-pay-intro h2 {color:#fff!important;font-size:clamp(20px,2.4vw,28px)!important;margin:0 0 5px!important;}
.gsl-pay-intro p{color:#e0f8ff;margin:0;font-size:14px;}
.gsl-pay-grid {padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.gsl-pay-panel {background:#fff;border:1px solid #d7e4f5;border-radius:17px;padding:20px;min-width:0;}
.gsl-pay-panel h3 {font-size:21px;margin:0 0 8px;color:#15305f;}
.gsl-pay-panel p {color:#405371;font-size:14px;line-height:1.5;margin:7px 0 12px;}
.gsl-pay-panel ul {padding-left:20px;margin:10px 0 14px;line-height:1.6;color:#384b65;}
.gsl-pay-panel label {font-weight:800;color:#20365c;display:block;margin:8px 0 5px;}
.gsl-pay-panel select {width:100%;min-height:46px;border:1px solid #bacbe3;border-radius:9px;padding:7px 11px;background:white;color:#172e56;}
.gsl-pay-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 5px;}
.gsl-pay-btn {display:inline-flex;justify-content:center;align-items:center;text-align:center;
  min-height:46px;padding:11px 15px!important;border-radius:11px!important;
  text-decoration:none!important;font-size:14px;font-weight:850!important;transition:transform .2s,filter .2s;}
.gsl-pay-btn:hover{filter:brightness(.96);transform:translateY(-1px)}
.gsl-pay-btn-primary{background:#2457c8!important;color:#fff!important;}
.gsl-pay-btn-green{background:#087f62!important;color:#fff!important;}
.gsl-pay-btn-outline{background:#e6f5ff!important;border:1px solid #81b6e0!important;color:#123b70!important;}
.gsl-wallet-num {background:#fff8db;border:1px solid #f4daa0;color:#734d00;
  border-radius:10px;padding:12px 14px;margin:14px 0;font-size:15px;line-height:1.5;}
.gsl-pay-note {background:#f7fafc;border-top:1px solid #d5e6f4;padding:11px 20px;font-size:13px;color:#435a72;}
.gsl-wallet-method-description {font-size:13px;color:#354969;margin:9px 0;min-height:20px;}
/* Suppress shipping-only calculations/labels; storefront has no shipping charges. */
.wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__description,
.woocommerce .woocommerce-shipping-totals, .woocommerce .shipping,
.wc-block-components-totals-shipping, .wc-block-components-shipping-rates-control,
.wc-block-components-shipping-address {display:none!important;}
@media(max-width:800px){.gsl-pay-grid{grid-template-columns:1fr;padding:12px;gap:12px;}.gsl-pay-panel{padding:15px}.gsl-pay-actions{flex-direction:column}.gsl-pay-btn{width:100%;}.gsl-pay-intro{padding:17px}}

/* Keep the native WooCommerce mini-cart number legible on the dark branded header. */
body header.wp-block-template-part .wc-block-mini-cart__badge,
body .wc-block-mini-cart__badge {
  background:#ffc84c!important;color:#14254f!important;
  font-weight:900!important;border:1px solid #fff!important;
  min-width:19px!important;min-height:19px!important;
  font-size:12px!important;line-height:19px!important;
  opacity:1!important;visibility:visible!important;
}

/* v1.3: plain-text payment instructions with verified official bank destinations. */
.gsl-transfer-instructions{display:grid;gap:9px;margin:16px 0;}
.gsl-transfer-method{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;
  border:1px solid #d2e3ed;border-radius:12px;padding:13px 15px;
  background:#f6fbff;color:#1e3457;flex-wrap:wrap;}
.gsl-transfer-method>div{display:flex;flex-direction:column;gap:4px;min-width:195px;flex:1;}
.gsl-transfer-method strong{font-size:15px;color:#17305b;}
.gsl-transfer-method span{font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
.gsl-transfer-method a{color:#174aa5!important;font-size:13px;font-weight:750!important;
  text-decoration:underline!important;text-underline-offset:3px;}
.gsl-transfer-method a:hover{color:#0c7b70!important;}
.gsl-bank-eft{background:#fff7dc;border-color:#f0d38a;}
.gsl-banking-warning{font-size:12px!important;color:#515b66!important;
  padding:10px 12px;border-left:3px solid #e4b348;background:#fffdf4;margin:10px 0!important;}
/* Suppress only the redundant PayToday method list for a checkout with exactly one
   PayToday gateway. Keep the gateway input in DOM and the Place Order action visible. */
body.woocommerce-checkout #payment.gsl-paytoday-single{background:transparent!important;
  box-shadow:none!important;border:0!important;padding:0!important;}
body.woocommerce-checkout #payment.gsl-paytoday-single > ul.wc_payment_methods{display:none!important;}
body.woocommerce-checkout #payment.gsl-paytoday-single .form-row.place-order{background:#f5faff!important;
  border:1px solid #cdddff;border-radius:12px;margin:12px 0 0!important;padding:17px!important;}
body.woocommerce-checkout #payment.gsl-paytoday-single #place_order{background:#2457c8!important;color:white!important;}
@media(max-width:600px){.gsl-transfer-method{flex-direction:column;}.gsl-transfer-method a{align-self:flex-start}}


/* v1.5.0: mobile-first hardening across the Shop homepage, departments, product
   pages, classic/block cart and classic checkout. Keep PayToday gateway intact. */
.gsl-transfer-hint {font-size:12px!important;color:#586a82!important;}
.gsl-pay-options, .gsl-pay-options * {box-sizing:border-box;}
.gsl-pay-options, .gsl-pay-grid, .gsl-pay-panel, .gsl-transfer-instructions,
.gsl-transfer-method, .gsl-pay-actions {max-width:100%;min-width:0;}
.gsl-pay-panel, .gsl-transfer-method {overflow-wrap:anywhere;}
.gsl-pay-btn {max-width:100%;white-space:normal!important;line-height:1.35!important;}
.gsl-transfer-method>div {min-width:0;max-width:100%;}
/* Avoid forcing any fixed-width card or image wider than the phone viewport. */
.gsl-product-grid > *, .gsl-dept-grid > *, .gsl-store .gsl-hero,
.gsl-store .gsl-search, .gsl-store .gsl-department-head {min-width:0;max-width:100%;}
body.woocommerce-page .woocommerce,body.woocommerce-page .woocommerce * {box-sizing:border-box;}
body.woocommerce-page .woocommerce img {max-width:100%;height:auto;}

@media (max-width: 800px) {
  /* Preserve full-width cards, not narrow desktop columns in the mobile viewport. */
  .gsl-pay-grid {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:12px!important;}
  .gsl-pay-panel {width:100%!important;padding:16px!important;margin:0!important;border-radius:14px!important;}
  .gsl-pay-panel h3 {font-size:clamp(17px,4.5vw,21px)!important;line-height:1.25!important;overflow-wrap:anywhere;}
  .gsl-pay-intro {padding:16px!important;}
  .gsl-pay-intro h2 {font-size:clamp(19px,5vw,24px)!important;line-height:1.2!important;}
  .gsl-transfer-method {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;padding:13px!important;}
  .gsl-transfer-method > div {width:100%!important;flex:1 1 auto!important;min-width:0!important;}
  .gsl-transfer-method a {display:inline-block;max-width:100%;width:fit-content;overflow-wrap:anywhere;line-height:1.4;}
  .gsl-pay-actions {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;}
  .gsl-pay-btn, .gsl-pay-actions .gsl-pay-btn {display:flex!important;width:100%!important;max-width:100%!important;min-height:48px!important;padding:11px 12px!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere;}
  /* WooCommerce classic checkout columns and shipping/billing forms. */
  body.woocommerce-checkout form.checkout .col2-set,body.woocommerce-checkout .col2-set,
  body.woocommerce-checkout form.checkout .col-1,body.woocommerce-checkout form.checkout .col-2,
  body.woocommerce-checkout #customer_details,body.woocommerce-checkout #order_review,
  body.woocommerce-checkout #order_review_heading {width:100%!important;max-width:100%!important;float:none!important;min-width:0!important;}
  body.woocommerce-checkout .form-row-first,body.woocommerce-checkout .form-row-last {float:none!important;width:100%!important;}
  body.woocommerce-checkout .woocommerce-billing-fields input,
  body.woocommerce-checkout .woocommerce-additional-fields textarea,
  body.woocommerce-checkout .woocommerce-input-wrapper,
  body.woocommerce-checkout .woocommerce-input-wrapper input,
  body.woocommerce-checkout .select2-container {max-width:100%!important;min-width:0!important;}
  body.woocommerce-checkout #payment.gsl-paytoday-single .form-row.place-order {padding:12px!important;}
  body.woocommerce-checkout #payment #place_order {width:100%!important;max-width:100%!important;float:none!important;white-space:normal!important;line-height:1.35!important;min-height:48px;}
  /* Avoid forced desktop product split / huge product titles. */
  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce div.product div.summary {width:100%!important;max-width:100%!important;float:none!important;clear:both!important;}
  body.single-product .product_title {font-size:clamp(22px,5vw,34px)!important;line-height:1.22!important;overflow-wrap:anywhere;}
  body.single-product .woocommerce-product-gallery,body.single-product .woocommerce-product-gallery__wrapper {max-width:100%!important;}
  /* Block-cart desktop columns must stack on phones/tablets. */
  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart__sidebar {width:100%!important;max-width:100%!important;min-width:0!important;}
  body.woocommerce-cart .wc-block-cart {max-width:100%!important;min-width:0!important;}
  body.woocommerce-cart .wc-block-cart-items__row {max-width:100%!important;}
  .gsl-brand-footer .gsl-footer-inner {grid-template-columns:minmax(0,1fr)!important;}
}
@media (max-width: 600px) {
  /* Mobile header navigation: readable touch targets without horizontal scrolling. */
  body header.wp-block-template-part {padding:10px 12px!important;}
  body header.wp-block-template-part .wp-block-group {gap:8px!important;}
  .gsl-main-nav {display:flex!important;flex-wrap:wrap!important;justify-content:center!important;width:100%!important;max-width:100%!important;margin:0!important;gap:5px!important;}
  .gsl-main-nav .gsl-main-link {font-size:clamp(11px,3vw,12px)!important;min-height:39px!important;padding:8px 10px!important;white-space:normal!important;text-align:center!important;overflow-wrap:normal;}
  body header.wp-block-template-part .wp-block-site-title {font-size:clamp(16px,4.2vw,21px)!important;line-height:1.3!important;overflow-wrap:anywhere;}
  .gsl-pay-options {width:100%!important;margin:10px 0 20px!important;border-radius:15px!important;}
  .gsl-pay-grid {padding:9px!important;gap:9px!important;}
  .gsl-pay-panel {padding:12px!important;}
  .gsl-pay-panel p,.gsl-transfer-method span {font-size:13px!important;line-height:1.5!important;}
  .gsl-transfer-method strong {font-size:14px!important;line-height:1.35!important;}
  .gsl-transfer-method {padding:12px!important;}
  .gsl-pay-btn {font-size:13px!important;}
  .gsl-pay-note {padding:12px!important;line-height:1.5!important;overflow-wrap:anywhere;}
  .gsl-store {width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;}
  .gsl-product-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .gsl-product-card .gsl-cover {height:165px!important;padding:8px!important;}
  .gsl-product-card .gsl-cover img {max-height:150px!important;}
  .gsl-filter-form {grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:13px!important;}
  .gsl-search-row {flex-direction:column!important;align-items:stretch!important;}
  .gsl-dept-grid {grid-template-columns:minmax(0,1fr)!important;}
  .gsl-brand-footer {padding:28px 16px 16px!important;}
  .woocommerce table.shop_table,body.woocommerce-cart .wc-block-cart table {max-width:100%;}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table {font-size:13px;}
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th {padding:10px 7px!important;overflow-wrap:anywhere;}
  body .wc-block-mini-cart__drawer {max-width:100vw!important;}
  body .wc-block-mini-cart__drawer .wc-block-mini-cart__template-part {max-width:100vw!important;}
}
@media (max-width: 350px) {
  .gsl-product-grid {grid-template-columns:minmax(0,1fr)!important;}
  .gsl-main-nav .gsl-main-link {font-size:11px!important;padding:8px 7px!important;}
  .gsl-pay-intro {padding:14px!important;}
  .gsl-pay-panel {padding:10px!important;}
  .gsl-transfer-method {padding:10px!important;}
  .gsl-pay-grid {padding:7px!important;}
}

/* v1.6.0: Grade-first, immediately browsable GENIUS shop. */
body.gsl-managed-shop-page main { padding-top: 0 !important; }
.gsl-store.gsl-direct-home { margin-top:0!important; }
.gsl-direct-home .gsl-home-first { margin-top:0!important; padding-top:12px; }
.gsl-home-intro { margin:0 0 17px; padding:0; }
.gsl-home-intro .gsl-mini { color:#126c9e; letter-spacing:.09em; }
.gsl-home-intro h1 { margin:6px 0 5px!important; font-size:clamp(25px,3.2vw,40px)!important; line-height:1.12!important; color:#132954!important; font-weight:850; }
.gsl-home-intro p { margin:0; line-height:1.5;color:#536783; font-size:clamp(13px,1.3vw,16px); }
.gsl-home-first .gsl-dept-card { min-height:188px!important; padding:20px!important; gap:7px!important; }
.gsl-home-first .gsl-dept-icon { width:51px!important; height:51px!important; font-size:27px!important; }
.gsl-home-first .gsl-dept-title { font-size:20px!important; }
.gsl-home-search { margin:26px 0 40px; background:#eef7ff; border:1px solid #d7eaff; border-radius:17px; padding:18px; }
.gsl-home-search h2 { margin:0 0 12px!important; font-size:18px!important;color:#173e71!important; }
.gsl-home-search .gsl-search { margin:0; }
.gsl-home-search .gsl-search label { color:#2a4670!important; }
.gsl-grade-department { margin-top:0!important; }
.gsl-grade-page-intro { padding:8px 4px 14px; }
.gsl-grade-page-intro h1 { font-size:clamp(26px,3.3vw,38px)!important; line-height:1.2!important; margin:3px 0 4px!important;color:#132954!important; }
.gsl-grade-page-intro p { font-size:14px!important;margin:0!important;color:#526780!important; }
.gsl-grade-first { margin:0 0 18px; padding:18px; background:linear-gradient(135deg,#f0f9ff,#f1fffc); border:1px solid #cde6f0; border-radius:20px; }
.gsl-grade-first-heading { margin:0 0 13px; }
.gsl-grade-first-heading h2 { color:#143a68!important; font-size:clamp(19px,2.5vw,25px)!important;margin:4px 0!important;line-height:1.25!important; }
.gsl-grade-first-heading p { margin:4px 0 0!important;font-size:13px!important;color:#526886!important;line-height:1.4!important; }
.gsl-grade-grid { display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px; }
.gsl-grade-card { display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-width:0;min-height:79px;padding:10px 6px;background:#fff;border:1px solid #c9dcf0;border-radius:13px;color:#163f79!important;box-shadow:0 2px 7px rgba(22,65,124,.045);transition:background .15s,color .15s,transform .15s; }
.gsl-grade-card:hover,.gsl-grade-card:focus-visible { transform:translateY(-2px);border-color:#007c9e;background:#e0fbf2;outline-offset:2px; }
.gsl-grade-card.is-active { background:linear-gradient(125deg,#1066b7,#12a1b1);border-color:#1066b7;color:#fff!important; }
.gsl-grade-card.is-empty { opacity:.68; }
.gsl-grade-num { display:block;font-weight:800;font-size:clamp(12px,1.4vw,15px);line-height:1.2;white-space:normal; }
.gsl-grade-count { display:block;font-size:11px;line-height:1.25;margin-top:6px;color:#56708d; }
.gsl-grade-card.is-active .gsl-grade-count { color:#efffff; }
.gsl-grade-general { grid-column:span 2; }
.gsl-pick-grade-help { background:#fff;border-left:4px solid #12a6aa; padding:13px 17px;border-radius:10px;color:#31547c;line-height:1.55; }
.gsl-grade-result-top { display:flex;align-items:center;justify-content:space-between;gap:14px;scroll-margin-top:120px;padding:16px 2px 9px; }
.gsl-grade-result-top h2 { margin:3px 0!important;font-size:clamp(19px,2.8vw,28px)!important;color:#143961!important;line-height:1.25!important; }
.gsl-change-grade { color:#0b66af!important;background:#e5f6ff;border:1px solid #bcdff4;padding:10px 14px;border-radius:12px;font-size:13px;font-weight:750;white-space:nowrap; }
.gsl-search-panel { border:1px solid #d2e4f5;border-radius:14px;background:#f5fbff;margin:10px 0 15px;overflow:hidden; }
.gsl-search-panel summary { cursor:pointer;padding:13px 16px;font-weight:800;color:#123e75;list-style:disclosure-closed;font-size:14px; }
.gsl-search-panel[open] summary { border-bottom:1px solid #d6e6f3; }
.gsl-search-panel .gsl-filter-form { margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important; }
.gsl-grade-category-nav { margin:0 0 16px;padding:0 0 5px; }
.gsl-grade-group { padding-top:4px;margin-top:17px!important; }
.gsl-grade-group .gsl-section-head { margin-bottom:12px; }
.gsl-group-count { display:inline-block;font-size:12px;color:#56708c;margin-top:5px; }
.gsl-type-hardware .gsl-department-head { padding:17px 22px!important;min-height:0!important;margin:0 0 14px!important;border-radius:16px!important; }
.gsl-type-hardware .gsl-department-head h1 { font-size:clamp(25px,3vw,34px)!important; }
.gsl-type-hardware .gsl-category-nav { margin:0 0 10px!important; }
.gsl-store .gsl-category-nav a { max-width:100%;overflow-wrap:anywhere; }
@media(max-width:1000px) { .gsl-grade-grid { grid-template-columns:repeat(5,minmax(0,1fr)); } }
@media(max-width:720px) {
  .gsl-grade-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:8px; }
  .gsl-grade-first { padding:13px!important; }
  .gsl-grade-card { min-height:75px;padding:8px 5px; }
  .gsl-home-first .gsl-dept-card { min-height:150px!important; padding:17px!important; }
  .gsl-home-intro h1 {font-size:clamp(23px,5vw,31px)!important;}
  .gsl-grade-result-top {flex-wrap:wrap;scroll-margin-top:95px;}
  .gsl-home-search { padding:13px; }
}
@media(max-width:355px) {
  .gsl-grade-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gsl-grade-general {grid-column:span 2;}
  .gsl-grade-num {font-size:13px;}
}
/* Twenty Twenty-Five's page wrapper may add a large blank area above shortcode pages. */
body.gsl-managed-shop-page .wp-site-blocks > main,
body.gsl-managed-shop-page main.wp-block-group,
body.gsl-managed-shop-page main .wp-block-post-content,
body.gsl-managed-shop-page main .entry-content { padding-top:0!important;margin-top:0!important; }
body.gsl-managed-shop-page main .wp-block-post-content > .wp-block-shortcode {margin-top:0!important;}

/* v1.7.0: actionable product cards, subtle supplier references and compact filters */
.gsl-card-copy {gap:8px!important;}
.gsl-item-reference {
  display:block;max-width:100%;min-height:16px;margin-top:auto;
  font-size:11px;line-height:1.4;color:#677e95;font-weight:500;
  overflow-wrap:anywhere;letter-spacing:.01em;
}
.gsl-card-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;align-items:stretch;margin-top:auto;}
.gsl-card-actions .gsl-view-link,.gsl-card-actions .gsl-add-link {
  display:flex!important;justify-content:center!important;align-items:center!important;
  text-align:center!important;min-width:0!important;min-height:40px!important;
  padding:8px 8px!important;border-radius:9px!important;box-sizing:border-box!important;
  font-size:12px!important;font-weight:760!important;line-height:1.2!important;text-decoration:none!important;
  word-break:normal!important;white-space:normal!important;margin:0!important;
}
.gsl-card-actions .gsl-view-link {background:#ecf8ff!important;color:#0d4f8b!important;border:1px solid #addbed!important;}
.gsl-card-actions .gsl-add-link {background:#088e7b!important;color:#fff!important;border:1px solid #088e7b!important;box-shadow:none!important;}
.gsl-card-actions .gsl-add-link:hover,.gsl-card-actions .gsl-add-link:focus-visible{background:#06705f!important;color:#fff!important;}
.gsl-card-actions .gsl-add-link.loading {opacity:.65;pointer-events:none;}
.gsl-card-actions .gsl-add-link.added {background:#096d64!important;}
.gsl-card-actions .added_to_cart.wc-forward {grid-column:1/-1;text-align:center;font-size:12px;padding:5px 0;}
.gsl-single-cart-message {background:#e9fbf5;border-left:4px solid #0a9c73;color:#075c48;padding:11px 13px;border-radius:8px;font-size:14px;margin:12px 0;}
.gsl-single-cart-message a {font-weight:750;text-decoration:underline;}
.gsl-single-cart-message.gsl-cart-message-error {background:#fff3f2;border-left-color:#cb3434;color:#812424;}
.gsl-store .gsl-search-panel.gsl-search-compact {
  display:block;max-width:720px!important;background:transparent!important;
  border:0!important;margin:5px 0 14px!important;overflow:visible!important;
}
.gsl-store .gsl-search-panel.gsl-search-compact > summary {
  display:inline-flex;align-items:center;gap:8px;width:auto!important;
  font-size:12px!important;line-height:1.3!important;
  font-weight:750!important;color:#1e568d!important;background:#ecf7ff!important;
  border:1px solid #bfdef4!important;border-radius:10px!important;
  padding:8px 12px!important;list-style:none!important;
  cursor:pointer;
}
.gsl-store .gsl-search-panel.gsl-search-compact > summary::-webkit-details-marker {display:none;}
.gsl-store .gsl-search-panel.gsl-search-compact > summary::before {content:'⌕';font-size:17px;line-height:1;}
.gsl-store .gsl-search-panel.gsl-search-compact[open] > summary {background:#dcefff!important;}
.gsl-store .gsl-search-panel.gsl-search-compact .gsl-filter-form {
  margin:8px 0 0!important;padding:12px!important;border:1px solid #daebf8!important;
  background:#f7fbff!important;border-radius:12px!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;
}
.gsl-store .gsl-search-panel.gsl-search-compact .gsl-filter-title {font-size:13px!important;margin:0!important;}
.gsl-store .gsl-search-panel.gsl-search-compact .gsl-filter-form label {font-size:11px!important;gap:4px!important;}
.gsl-store .gsl-search-panel.gsl-search-compact .gsl-filter-form select,
.gsl-store .gsl-search-panel.gsl-search-compact .gsl-filter-form input {min-height:34px!important;padding:6px 8px!important;font-size:12px!important;}
.gsl-store .gsl-search-panel.gsl-search-compact .gsl-filter-actions button {padding:8px 13px!important;font-size:12px!important;}
@media(max-width:780px) {
  .gsl-store .gsl-search-panel.gsl-search-compact .gsl-filter-form {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:520px) {
  .gsl-card-actions {gap:5px!important;}
  .gsl-card-actions .gsl-view-link,.gsl-card-actions .gsl-add-link {min-height:36px!important;padding:6px 3px!important;font-size:10.5px!important;}
  .gsl-item-reference {font-size:10px!important;}
  .gsl-store .gsl-search-panel.gsl-search-compact .gsl-filter-form {grid-template-columns:minmax(0,1fr)!important;}
}

/* GENIUS v1.7.2: direct, grade-aware return link for product pages. */
.woocommerce div.product .gsl-product-return { margin: 12px 0 18px; font-size: 14px; }
.woocommerce div.product .gsl-product-return a { display: inline-flex; align-items: center; padding: 9px 13px; border-radius: 10px; color: #105b9b; background: #eaf7ff; border: 1px solid #c3e6fa; font-weight: 700; text-decoration: none; }
.woocommerce div.product .gsl-product-return a:hover { background: #d8effd; }

/* v1.8.0: compact six-department navigation and three new department cards. */
body header.wp-block-template-part,
body header.wp-block-template-part .wp-block-group {overflow:visible!important;}
.gsl-main-nav {position:relative;gap:4px 5px;max-width:min(100%,920px);align-items:center;}
.gsl-main-nav .gsl-main-link {min-height:39px;padding:8px 11px;font-size:12px;line-height:1.22;white-space:nowrap;}
.gsl-main-nav .gsl-nav-short {display:none;}
.gsl-main-nav .gsl-nav-more {position:relative;margin:0;min-width:0;z-index:1000;}
.gsl-main-nav .gsl-more-trigger {
  list-style:none;cursor:pointer;user-select:none;gap:7px;
  background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.3)!important;
}
.gsl-main-nav .gsl-more-trigger::-webkit-details-marker {display:none;}
.gsl-main-nav .gsl-more-trigger::marker {content:'';}
.gsl-main-nav .gsl-nav-more[open] > .gsl-more-trigger,
.gsl-main-nav .gsl-nav-more-active > .gsl-more-trigger {
  background:#fbd771!important;color:#15305a!important;
}
.gsl-main-nav .gsl-chevron {font-size:12px;transition:transform .17s ease;}
.gsl-main-nav .gsl-nav-more[open] .gsl-chevron {transform:rotate(180deg);}
.gsl-main-nav .gsl-more-menu {
  position:absolute;top:calc(100% + 10px);right:0;z-index:10000;
  width:320px;max-width:calc(100vw - 24px);
  padding:8px;display:grid;gap:5px;
  border:1px solid #d2e1f4;background:#fff;color:#172c4a;
  border-radius:16px;box-shadow:0 18px 42px rgba(6,24,53,.24);
}
.gsl-main-nav .gsl-more-item {
  display:flex;align-items:center;gap:11px;padding:11px 10px;
  border-radius:10px;text-decoration:none!important;color:#17315c!important;
  background:#fff;min-width:0;
}
.gsl-main-nav .gsl-more-item:hover,
.gsl-main-nav .gsl-more-item:focus-visible,
.gsl-main-nav .gsl-more-item.gsl-active {
  background:#eaf5ff;color:#0b4d8c!important;outline-offset:2px;
}
.gsl-main-nav .gsl-more-icon {
  flex:none;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;
  font-size:20px;background:#e9f4ff;
}
.gsl-main-nav .gsl-more-item:nth-child(2) .gsl-more-icon {background:#eafff0;}
.gsl-main-nav .gsl-more-item:nth-child(3) .gsl-more-icon {background:#fff3dd;}
.gsl-main-nav .gsl-more-copy {display:flex;flex-direction:column;min-width:0;gap:3px;}
.gsl-main-nav .gsl-more-copy strong {font-size:13px;line-height:1.2;font-weight:850;white-space:normal;}
.gsl-main-nav .gsl-more-copy small {font-size:11px;color:#5d7190;line-height:1.4;}
.gsl-dept-classroom {background:linear-gradient(155deg,#f2efff 0%,#fff 68%);}
.gsl-dept-classroom::before {background:linear-gradient(90deg,#7059ed,#ab80f6);}
.gsl-dept-classroom .gsl-dept-icon {background:#ede7ff;}
.gsl-dept-sports {background:linear-gradient(155deg,#eefcf5 0%,#fff 68%);}
.gsl-dept-sports::before {background:linear-gradient(90deg,#13a677,#6fdc91);}
.gsl-dept-sports .gsl-dept-icon {background:#e2f8eb;}
.gsl-dept-cleaning {background:linear-gradient(155deg,#ecf9ff 0%,#fff 68%);}
.gsl-dept-cleaning::before {background:linear-gradient(90deg,#009dc5,#54d9e9);}
.gsl-dept-cleaning .gsl-dept-icon {background:#e4faff;}
.gsl-store .gsl-extra-filter-form {grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto!important;}
@media(max-width:1299px) {
  .gsl-main-nav .gsl-nav-full {display:none;}
  .gsl-main-nav .gsl-nav-short {display:inline;}
}
@media(min-width:721px) and (max-width:980px) {
  .gsl-store .gsl-dept-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px) {
  .gsl-main-nav {justify-content:center!important;gap:5px!important;}
  .gsl-main-nav .gsl-main-link,
  .gsl-main-nav .gsl-more-trigger {
    padding:8px 10px!important;min-height:37px!important;font-size:12px!important;
    white-space:nowrap!important;
  }
  .gsl-main-nav .gsl-more-menu {right:0;}
  .gsl-store .gsl-extra-filter-form {grid-template-columns:minmax(0,1fr)!important;}
}
@media(max-width:355px) {
  .gsl-main-nav .gsl-main-link,
  .gsl-main-nav .gsl-more-trigger {font-size:11px!important;padding:7px 8px!important;}
  .gsl-main-nav .gsl-more-menu {width:292px;max-width:calc(100vw - 16px);}
}
