/* Catalogue controls and product cards only. The separate ILBM showcase is unchanged. */
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-heading.c104-store-heading {
  position: static !important;
  inset: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 17px 18px !important;
  border: 1px solid #e7e2db !important;
  border-radius: 12px;
  background: #fffdfa !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-store-heading h1 { font-size: 26px !important; color: #292827 !important; letter-spacing: -.035em !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-store-heading .c67-title-dot { color: #ff4000 !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-store-heading .c104-store-intro { display: block !important; max-width: 620px; margin: 6px 0 0; color: #72685d; font-size: 12px !important; line-height: 1.5; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-heading .c104-store-actions { gap: 7px; align-items: center; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-heading .c104-store-actions > button:not([hidden]) { min-height: 40px; padding: 10px 12px; border: 1px solid #e1d9ce !important; border-radius: 8px; background: #fff !important; color: #574d43 !important; font-size: 12px !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-heading .c104-store-actions > button:hover:not(:disabled) { background: #fff1e9 !important; border-color: #edb59f !important; color: #a92b00 !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation { padding: 6px 8px; border: 1px solid #e7e2dc !important; border-radius: 11px !important; background: #fff; box-shadow: none !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-category-segments { display: flex; flex-wrap: nowrap; gap: 6px; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-category-row button { min-height: 42px; padding: 10px 13px; border-radius: 8px; color: #5c554e; font-size: 12px !important; font-weight: 600; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-category-row button[aria-current="page"] { background: #fff0e8 !important; color: #a92b00 !important; border-color: transparent !important; box-shadow: inset 0 -2px #ff4000 !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-category-row button:hover { background: #fff5ee !important; color: #a92b00; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-category-row button small { padding: 2px 6px; border-radius: 5px; background: #f3f0ec; color: #74695f; font-size: 10px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c95-category-select { min-width: 210px; padding: 5px 0; color: #6e6256; font-size: 11px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c95-category-select select { min-height: 42px; border-color: #dfd7cd; font-size: 13px; }

/* Labels remain visible, and the controls never float over products or the site header. */
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-store { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools.c104-catalog-toolbar { position: relative; grid-column: 1; grid-row: 1; display: flex; flex-wrap: wrap; align-items: end; gap: 10px; min-width: 0; margin: 0; padding: 14px; border: 1px solid #e7e1d9; border-radius: 12px; background: #fffdfa; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools .c90-search { flex: 1 1 230px; min-width: 150px; color: #544c44; font-size: 12px; font-weight: 650; line-height: 1.4; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-search::before { top: 37px; left: 14px; border-color: #837b72; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-search::after { top: 52px; left: 26px; background: #837b72; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-search input { width: 100%; min-width: 0; height: 46px; min-height: 46px; margin-top: 7px; padding: 10px 12px 10px 39px; border: 1px solid #d9d1c8; border-radius: 8px; background: #fff; box-shadow: none; color: #302b26; font-size: 15px !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools > label:not(.c90-search) { flex: 0 1 174px; min-width: 138px; color: #544c44; font-size: 12px; font-weight: 650; line-height: 1.4; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools > label select { height: 46px; min-height: 46px; margin-top: 7px; border-color: #d9d1c8; background: #fff; font-size: 12px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools :is(.c95-refine-toggle,.c104-cart-button) { flex: 0 0 auto; order: 3; align-self: end; height: 46px; min-height: 46px; padding: 10px 12px; border: 1px solid #d9d1c8 !important; background: #fff !important; color: #51483f !important; font-size: 12px !important; white-space: nowrap; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools .c104-cart-button { order: 4; border-color: #bcd4f5 !important; color: #1f5ea9 !important; background: #f2f7ff !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools .c95-refine-toggle[aria-expanded="true"] { color: #a92b00 !important; border-color: #efb299 !important; background: #fff1e8 !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c104-cart-count] { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 6px; background: #dceaff; color: #164e91; font-size: 11px; font-variant-numeric: tabular-nums; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-connection { grid-column: 2; grid-row: 1; align-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 260px; margin-bottom: 14px; overflow: visible; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-connection .c90-link { min-height: 44px; padding: 10px 12px; border: 1px solid #ded6cc; border-radius: 8px; background: #fff !important; color: #62564a !important; text-decoration: none; font-size: 12px !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-connection .c90-link[aria-pressed="true"] { color: #a92b00 !important; border-color: #edb39b; background: #fff1e8 !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-menu { grid-column: 1 / -1; grid-row: 2; gap: 5px; margin: 0; padding: 6px; border: 1px solid #e7e1d9; border-radius: 10px; background: #fff; overscroll-behavior-inline: contain; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-menu button { min-height: 40px; padding: 9px 13px; border-radius: 7px; font-size: 12px !important; color: #62584f; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-menu button.active { border-color: #ff4000 !important; background: #fff0e8 !important; color: #a92b00 !important; box-shadow: inset 0 -2px #ff4000; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-active-filters { grid-column: 1 / -1; grid-row: 3; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-state { grid-column: 1 / -1; grid-row: 4; margin: 0; padding: 0 2px; color: #7b736b !important; font-size: 11px !important; line-height: 1.5; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-layout { grid-column: 1 / -1; grid-row: 5; min-width: 0; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-count { margin: 3px 0 13px; color: #675c51; font-size: 13px !important; line-height: 1.5; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row { align-items: stretch; gap: 10px; margin: 16px 0 12px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row .c67-search { min-width: 0; min-height: 50px; padding: 0 8px 0 15px; border: 1px solid #d9d1c8; border-radius: 10px; background: #fffdfa; box-shadow: none; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row .c67-search input { min-height: 48px; font-size: 15px !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row .c67-search > button { flex: none; min-width: 40px; min-height: 40px; padding: 8px; border-radius: 7px; background: #fff1e9; color: #a92b00; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row .c67-filter-trigger { min-height: 50px; padding: 10px 15px; border-color: #d9d1c8 !important; background: #fff !important; color: #574b40 !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-results-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 10px 0 14px; color: #675c51; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-results-toolbar [data-c67-count] { flex: 1 1 200px; margin: 0; font-size: 13px; font-weight: 500; line-height: 1.5; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-results-toolbar select { min-height: 44px; border-color: #d9d1c8; border-radius: 8px; color: #51483f; font-size: 12px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c104-active-filters,.c67-filter-chips) { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; margin: 0 0 12px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c104-active-filters,.c67-filter-chips):empty { display: none; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-filter-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 34px; padding: 7px 10px; border: 1px solid #ecd0bf; border-radius: 7px; background: #fff4eb !important; color: #8b3e21 !important; text-align: left; font: 600 11px/1.5 Inter, Arial, sans-serif; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-filter-chip svg { flex: none; width: 13px; height: 13px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-clear-filters { min-height: 34px; padding: 7px 8px; border: 0; background: transparent !important; color: #755b4c !important; font: 600 11px/1.5 Inter, Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 18px; margin-bottom: 18px; border: 1px solid #e5dacf; border-radius: 11px; background: #fffdfa; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] > h3 { color: #40372f; font-size: 15px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] :is(label,legend) { color: #64594e; font-size: 12px; line-height: 1.5; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] .c90-check { display: flex; align-items: center; gap: 8px; min-height: 32px; margin: 0; cursor: pointer; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] .c90-check input { flex: none; width: 17px; height: 17px; min-height: 0; margin: 0; accent-color: #d73800; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] :is(select,input:not([type="checkbox"])) { width: 100%; min-width: 0; min-height: 42px; padding: 9px; border: 1px solid #d9d1c8; background: #fff; font-size: 13px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-filter-form:not([hidden]) { padding: 17px; border-color: #e5dacf; border-radius: 11px; background: #fffdfa; }

/* Consistent card geometry, with room for the real title and the chosen variant. */
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-grid,.c90-grid) { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 12px !important; align-items: stretch; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card,.c90-card) { border: 1px solid #e6e0d9 !important; border-radius: 12px !important; background: #fff; box-shadow: 0 2px 5px #35251904 !important; transform: none; transition: border-color .18s ease, box-shadow .18s ease; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card,.c90-card):hover { border-color: #dbc5b4 !important; box-shadow: 0 6px 18px #3525190b !important; transform: none; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card-media,.c90-photo) { position: relative; display: block; box-sizing: border-box; aspect-ratio: 1; width: 100%; height: auto; padding: 0 !important; border: 0 !important; background: #fff !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card-media,.c90-photo) img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; object-fit: contain; object-position: center; mix-blend-mode: normal; transform: none !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card-body,.c90-card-body) { min-width: 0; padding: 12px !important; gap: 6px !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card h2,.c67-card h2 a,.c67-card h2 button,.c90-card .c90-title) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: 40px; max-height: 40px; margin: 0; overflow: hidden; color: #332e29 !important; font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; text-decoration: none; overflow-wrap: anywhere; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card h2 a,.c90-card .c90-title):hover { color: #a92b00 !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card-category,.c90-card .c90-tag) { min-height: 14px; margin: 0 !important; color: #8a6c55; font-size: 9px !important; line-height: 14px; font-weight: 650; letter-spacing: .06em; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card .c90-sku { margin: 0; color: #837a72; font-size: 10px !important; line-height: 1.4; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-variant-label { position: static; width: auto; height: auto; margin: 1px 0 -2px; overflow: visible; clip: auto; color: #71665b; font-size: 10px; line-height: 1.4; font-weight: 600; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card select { width: 100%; min-width: 0; min-height: 40px; margin: 0; padding: 8px; border: 1px solid #ded7cf; border-radius: 7px; background: #fff; color: #52483e; font-size: 13px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card .c90-option { min-height: 40px; display: flex; align-items: center; margin: 0; font-size: 11px !important; line-height: 1.5; color: #71665b; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card-price,.c90-card .c90-price) { margin: 3px 0 0; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card-price strong,.c90-card .c90-price) { color: #282521 !important; font-size: 24px !important; font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card .c90-price:has(.c100-price-login) { font-size: 13px !important; line-height: 1.4; letter-spacing: 0; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c90-card .c100-price-login,.c67-card .c67-price-login) { display: block; width: 100%; min-height: 36px; height: auto; margin: 0; padding: 6px 0; border: 0 !important; border-radius: 4px; background: transparent !important; color: #245f9f !important; font: 600 13px/1.4 Inter, Arial, sans-serif !important; letter-spacing: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; box-shadow: none; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c90-card .c100-price-login,.c67-card .c67-price-login):hover { color: #174773 !important; text-decoration: underline; text-underline-offset: 3px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card-price span,.c67-card-moq,.c90-card .c90-stock,.c67-card .c75-fx) { color: #756a5f; font-size: 11px !important; line-height: 1.5; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card .c90-stock.available { color: #267047; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-card-cart { margin: 0; padding: 5px 7px; border: 1px solid #cce2d2; border-radius: 6px; color: #27623b; background: #f2faf3; font-size: 11px; line-height: 1.4; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card-actions { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: auto 0 0; padding-top: 3px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card-actions .c90-btn { width: 100%; min-width: 0; min-height: 40px; margin: 0; padding: 9px 8px; border-radius: 7px; font-size: 12px !important; line-height: 1.35; text-align: center; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card-actions .c90-buy { border-color: #2369c8 !important; background: #2369c8 !important; color: #fff !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card-actions .c90-add-cart { border-color: #c7d9ef !important; background: #f0f6ff !important; color: #235b9c !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card-actions .c90-buy:hover:not(:disabled) { border-color: #1853a3 !important; background: #1853a3 !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card-actions .c90-add-cart:hover:not(:disabled) { border-color: #a6c7ee !important; background: #e3efff !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-card-body > .c67-primary { width: 100%; min-height: 40px; padding: 10px 8px; border: 1px solid #c7d9ef !important; border-radius: 7px; background: #f0f6ff !important; color: #235b9c !important; font-size: 12px !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-card-body > .c67-primary:hover:not(:disabled) { border-color: #a6c7ee !important; background: #e3efff !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-card-body > .c67-text-button { min-height: 36px; padding: 8px; border: 1px solid #e7dfd7; border-radius: 7px; color: #79523b !important; font-size: 11px !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card,.c90-card) button.c95-favorite { width: 38px; height: 38px; min-height: 38px; border-color: #e7e0d8; background: #fffffff2; color: #7e746a; box-shadow: none; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card,.c90-card) button.c95-favorite[aria-pressed="true"] { color: #d63a09; border-color: #efb29b; background: #fff5ed; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 230px; padding: 28px 20px; border: 1px solid #e6ddd3; border-radius: 13px; background: #fffdfa; text-align: center; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-empty :is(h2,h3) { margin: 0 0 10px; color: #40372f; font-size: 21px !important; line-height: 1.35; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-empty > p { max-width: 480px; margin: 0 0 16px; color: #796a5d; font-size: 13px; line-height: 1.7; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-empty :is(.c90-btn,.c67-primary) { min-height: 44px; margin-top: 0; border: 1px solid #2369c8 !important; background: #2369c8 !important; color: #fff !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-pagination,.c90-pager) { gap: 12px; margin: 22px 0 8px; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-pagination,.c90-pager) button { min-height: 44px; border: 1px solid #d8cec3 !important; background: #fff !important; color: #6a5140 !important; }
body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c90-store,.c104-search-row,.c104-results-toolbar,.c67-filter-chips,.c67-grid) [hidden] { display: none !important; }
.p-cart-popover-physical > .c104-cart-delivery-note { margin: 8px 0 12px; color: #6c6258; font-size: 12px; line-height: 1.5; }

@media (max-width: 1200px) {
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-grid,.c90-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 1100px) {
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-store { grid-template-columns: minmax(0, 1fr); }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-connection { grid-column: 1; grid-row: 2; max-width: none; margin: 0; justify-content: flex-start; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-menu { grid-row: 3; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-active-filters { grid-row: 4; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-state { grid-row: 5; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-layout { grid-row: 6; }
}
@media (max-width: 960px) {
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-grid,.c90-grid) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 680px) {
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-heading.c104-store-heading { padding: 14px !important; gap: 12px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-store-heading h1 { font-size: 24px !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-store-heading .c104-store-intro { font-size: 11px !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-heading .c104-store-actions { justify-content: flex-start; gap: 6px; padding-bottom: 2px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-heading .c104-store-actions > button:not([hidden]) { min-height: 44px; font-size: 11px !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-category-row,.c90-menu) button { min-height: 44px; padding: 10px 12px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c95-category-select { min-width: 175px; max-width: 100%; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c95-category-select select { min-height: 44px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools.c104-catalog-toolbar { padding: 12px; gap: 10px 8px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools .c90-search { flex-basis: 100%; min-width: 0; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools > label:not(.c90-search) { flex: 1 1 100%; min-width: 0; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools :is(.c95-refine-toggle,.c104-cart-button) { flex: 1 1 0; min-width: 0; padding: 10px 7px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools .c95-refine-toggle { flex: 1 1 75px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-tools .c104-cart-button { flex: 2 1 165px; flex-wrap: wrap; gap: 4px 7px; height: auto; min-height: 46px; white-space: normal; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c90-search input,.c90-tools > label select,.c104-search-row .c67-search input) { font-size: 16px !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-connection { justify-content: flex-start; gap: 8px; padding: 0; overflow: visible; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-connection .c90-link { flex: 1 1 auto; min-height: 44px; font-size: 12px !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row { gap: 7px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row .c67-search { gap: 7px; padding-left: 10px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row .c67-search > button { min-width: 44px; min-height: 44px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row .c67-filter-trigger { padding: 10px; font-size: 11px !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-results-toolbar { gap: 8px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c104-filter-chip,.c104-clear-filters) { min-height: 44px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] { padding: 14px; gap: 14px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] .c90-check { min-height: 44px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] :is(select,input:not([type="checkbox"])) { min-height: 44px; font-size: 16px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-grid,.c90-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card-media,.c90-photo) { padding: 0 !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card-body,.c90-card-body) { padding: 10px !important; gap: 6px !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card h2,.c67-card h2 a,.c67-card h2 button,.c90-card .c90-title) { min-height: 38px; max-height: 38px; font-size: 13px !important; line-height: 19px !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card-price strong,.c90-card .c90-price) { font-size: 22px !important; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c90-card select { min-height: 44px; padding: 8px 5px; font-size: 13px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c90-card .c100-price-login,.c67-card .c67-price-login) { min-height: 44px; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c90-card-actions .c90-btn,.c67-card-body > .c67-primary,.c67-card-body > .c67-text-button) { min-height: 44px; padding: 9px 6px; font-size: 11px !important; white-space: normal; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card,.c90-card) :is(button.c95-favorite,button.c100-share-button) { width: 44px; height: 44px; min-height: 44px; padding: 11px; }
}
@media (max-width: 380px) {
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) [data-c90-filters] { grid-template-columns: minmax(0, 1fr); }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row { flex-wrap: wrap; }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-search-row .c67-search { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) :is(.c67-card,.c90-card) { transition: none !important; }
}

/* A square photo stage uses the available height without adding side bands or cropping. */
body .c90-dialog.c90-detail-dialog .c90-detail {
  grid-template-columns: minmax(0, min(46%, 460px, max(220px, calc(100dvh - var(--c90-header-offset, 78px) - 100px)))) minmax(0, 1fr);
}
body .c90-dialog.c90-detail-dialog .c90-detail > div:first-child { grid-template-columns: 46px minmax(0, 1fr); gap: 8px; min-width: 0; }
body .c90-dialog.c90-detail-dialog .c90-main-photo { box-sizing: border-box; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 1; margin: 0; padding: 0; border: 0; border-radius: 8px; background: #fff; object-fit: contain; object-position: center; }
body .c90-dialog.c90-detail-dialog .c90-thumbs { max-height: min(406px, max(166px, calc(100dvh - var(--c90-header-offset, 78px) - 154px))); }
body .c90-dialog.c90-detail-dialog .c90-thumbs button { flex-basis: 44px; width: 44px; height: 44px; min-height: 44px; padding: 2px; }
body .c90-dialog.c90-detail-dialog .c90-thumbs img { width: 36px; height: 36px; }
body .c67-dialog.c67-detail-dialog .c67-detail-grid {
  grid-template-columns: minmax(0, min(46%, 460px, max(180px, calc(100dvh - var(--c67-header-offset, 78px) - 110px)))) minmax(0, 1fr);
}
body .c67-dialog.c67-detail-dialog .c67-detail-image { position: relative; display: grid; place-items: center; box-sizing: border-box; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 1; margin: 0; padding: 0; border: 0; border-radius: 8px; background: #fff; }
body .c67-dialog.c67-detail-dialog .c67-detail-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; object-fit: contain; object-position: center; mix-blend-mode: normal; }
@media (max-width: 850px) {
  body .c90-dialog.c90-detail-dialog .c90-detail,
  body .c67-dialog.c67-detail-dialog .c67-detail-grid { grid-template-columns: minmax(0, 1fr); }
  body .c90-dialog.c90-detail-dialog .c90-detail > div:first-child { grid-template-columns: minmax(0, 1fr); width: min(100%, 460px, max(180px, calc(100dvh - var(--c90-header-offset, 64px) - 180px))); justify-self: center; }
  body .c90-dialog.c90-detail-dialog .c90-main-photo { grid-column: 1; grid-row: 1; }
  body .c90-dialog.c90-detail-dialog .c90-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; max-height: 52px; overflow-x: auto; overflow-y: hidden; padding: 2px 0 4px; }
  body .c67-dialog.c67-detail-dialog .c67-gallery { width: min(100%, 460px, max(180px, calc(100dvh - var(--c67-header-offset, 64px) - 190px))); justify-self: center; }
}

/* The public shop is a fixed-height storefront and must keep its own scrolling
   catalogue. The student panel already scrolls in its parent (#v210Main), so
   only the student layout can expand without creating nested scrollbars. */
html body[data-c67-products="student"] #v201Student .c67-products .c67-layout {
  height:auto!important;
  min-height:100%!important;
  max-height:none!important;
}
html body[data-c67-products="student"] #v201Student .c67-products .c67-main {
  height:auto!important;
  min-height:0!important;
  overflow-y:visible!important;
  overflow-x:clip!important;
  overscroll-behavior:auto!important;
  scrollbar-gutter:auto!important;
}
html body[data-c67-products="student"] #v201Student#v201Student#v201Student #v210Main:has(> .c67-products) {
  background:#f4f4f4!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-color:var(--shop-accent,#ff4000) #f4f4f4!important;
}
html body[data-c67-products="student"] #v201Student .c67-products {
  height:auto!important;
  min-height:100%!important;
  overflow:visible!important;
  border-radius:0!important;
}
