.shop-public[data-shop-page="catalog"] .catalog-section {
  padding: 22px 0 40px;
  border-top: 1px solid var(--line);
}

.shop-public[data-shop-page="catalog"] .catalog-heading {
  align-items: center;
  margin-bottom: 16px;
}

.shop-public[data-shop-page="catalog"] .catalog-heading-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.shop-public[data-shop-page="catalog"] .catalog-heading h2 {
  margin: 0;
}

.shop-public[data-shop-page="catalog"] .catalog-result-count {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  color: var(--muted);
  font-size: var(--shop-text-sm, 14px);
  font-weight: 400;
  white-space: normal;
}

.shop-public[data-shop-page="catalog"] .catalog-grouping-note {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: var(--shop-text-sm, 14px);
}

.shop-public[data-shop-page="catalog"] .catalog-toolbar {
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) minmax(100px, 132px) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--color-retained-f7faf9);
}

.shop-public[data-shop-page="catalog"] .catalog-toolbar label {
  gap: 8px;
}

.shop-public[data-shop-page="catalog"] .catalog-toolbar label > span {
  margin: 0;
  color: var(--muted);
  font-size: var(--shop-text-sm, 14px);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.shop-public[data-shop-page="catalog"] .catalog-toolbar select,
.shop-public[data-shop-page="catalog"] .catalog-toolbar input[type="search"] {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--color-retained-cbdad7);
  border-radius: 8px;
  background: var(--color-surface);
  font-size: var(--shop-text-base, 16px);
  line-height: 1.5;
}

.shop-public[data-shop-page="catalog"] .catalog-search-field {
  position: relative;
  display: block;
}

.shop-public[data-shop-page="catalog"] .catalog-search-field svg {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

.shop-public[data-shop-page="catalog"] .catalog-search-field input[type="search"] {
  padding-left: 40px;
}

.shop-public[data-shop-page="catalog"] .catalog-search-field input::placeholder {
  color: var(--color-retained-667b78);
  opacity: 1;
}

.shop-public[data-shop-page="catalog"] .catalog-view-toggle {
  align-self: end;
  gap: 4px;
  border: 0;
  border-radius: 8px;
  overflow: visible;
}

.shop-public[data-shop-page="catalog"] .catalog-view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--color-retained-cbdad7);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--muted);
}

.shop-public[data-shop-page="catalog"] .catalog-view-toggle button:hover {
  background: var(--color-retained-edf5f3);
  color: var(--ink);
}

.shop-public[data-shop-page="catalog"] .catalog-view-toggle button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--color-surface);
  box-shadow: none;
}

.shop-public[data-shop-page="catalog"] .catalog-toolbar > [data-catalog-submit] {
  grid-column: 1 / -1;
  justify-self: start;
}

.shop-public[data-shop-page="catalog"] .catalog-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
}

.shop-public[data-shop-page="catalog"] .catalog-sidebar {
  top: 18px;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding-inline-end: 12px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--color-retained-78909c) transparent;
  border-top: 1px solid var(--line);
}

.shop-public[data-shop-page="catalog"] .catalog-sidebar-head {
  min-height: 32px;
  font-size: 14px;
}

.shop-public[data-shop-page="catalog"] .catalog-filter-section summary {
  min-height: 32px;
  padding: 4px 0;
  font-size: 14px;
}

.shop-public[data-shop-page="catalog"] .catalog-filter-options {
  gap: 0;
  max-height: 220px;
  padding: 0 12px 4px 0;
  scrollbar-gutter: stable;
}

.shop-public[data-shop-page="catalog"] .catalog-filter-option {
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  padding: 1px 0;
  color: var(--ink);
  font-size: var(--shop-text-sm, 14px);
  font-weight: 400;
  line-height: 1.35;
}

.shop-public[data-shop-page="catalog"] .catalog-filter-option > span {
  min-width: 0;
  margin: 0;
  font-size: var(--shop-text-sm, 14px);
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.shop-public[data-shop-page="catalog"] .catalog-filter-option input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
}

.shop-public[data-shop-page="catalog"] .catalog-filter-option:has(input:checked) {
  background: var(--info-bg, var(--color-retained-edf6fb));
  color: var(--ink);
}
.shop-public[data-shop-page="catalog"] .catalog-filter-option:has(input:checked) > span {
  font-weight: 700;
}
.shop-public[data-shop-page="catalog"] .catalog-results[aria-busy="true"] {
  opacity: .65;
  cursor: progress;
}
.shop-public[data-shop-page="catalog"] .product-card {
  transition: border-color .16s ease, box-shadow .16s ease;
}
.shop-public[data-shop-page="catalog"] .product-card:focus-within {
  border-color: var(--blue);
}
@media (hover:hover) {
  .shop-public[data-shop-page="catalog"] .product-card:hover {
    border-color: var(--blue);
    box-shadow: 0 3px 14px var(--color-retained-047dba14);
    transform: none;
  }
  .shop-public[data-shop-page="catalog"] .product-card h3 a:hover {
    color: var(--action-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* Category and dense product-list geometry follows the audited reference flow. */
.shop-public[data-shop-page="catalog"] .shop-home-hero,
.shop-public[data-shop-page="catalog"] .shop-shortcuts {
  display: none;
}
.shop-public[data-shop-page="catalog"] .reference-category-browser {
  padding: 10px 0 20px;
}
.shop-public[data-shop-page="catalog"] .reference-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: var(--color-retained-77858c);
  font-size: 13px;
}
.shop-public[data-shop-page="catalog"] .reference-breadcrumbs a {
  color: var(--blue);
  font-weight: 700;
}
.shop-public[data-shop-page="catalog"] .reference-category-layout {
  display: grid;
  grid-template-columns: 294px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 8px;
}
.shop-public[data-shop-page="catalog"] .reference-category-tree {
  border: 1px solid var(--color-retained-d6e0e4);
  background: var(--color-surface);
}
.shop-public[data-shop-page="catalog"] .reference-category-tree > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--color-retained-d6e0e4);
  background: var(--color-retained-edf2f5);
  color: var(--ink);
  font-size: 16px;
}
.shop-public[data-shop-page="catalog"] .reference-category-tree details { border-bottom: 1px solid var(--color-retained-e2e8ea); }
.shop-public[data-shop-page="catalog"] .reference-category-tree details:last-child { border-bottom: 0; }
.shop-public[data-shop-page="catalog"] .reference-category-tree summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.shop-public[data-shop-page="catalog"] .reference-category-tree summary::-webkit-details-marker { display: none; }
.shop-public[data-shop-page="catalog"] .reference-category-tree summary::before { content: "›"; margin-right: 7px; color: var(--blue); }
.shop-public[data-shop-page="catalog"] .reference-category-tree details[open] > summary::before { content: "⌄"; }
.shop-public[data-shop-page="catalog"] .reference-category-tree summary small { color: var(--muted); font-size: 11px; font-weight: 600; }
.shop-public[data-shop-page="catalog"] .reference-category-tree details > div { padding: 0 10px 8px 30px; }
.shop-public[data-shop-page="catalog"] .reference-category-tree details a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 31px;
  padding: 4px 8px;
  color: var(--color-retained-43545c);
  font-size: 13px;
}
.shop-public[data-shop-page="catalog"] .reference-category-tree details a:hover,
.shop-public[data-shop-page="catalog"] .reference-category-tree details a[aria-current="page"] { background: var(--color-retained-eef7fb); color: var(--blue); }
.shop-public[data-shop-page="catalog"] .reference-category-tree details a small { color: var(--color-text-caption); font-size: 11px; }
.shop-public[data-shop-page="catalog"] .reference-category-content { min-width: 0; }
.shop-public[data-shop-page="catalog"] .reference-category-content h1 {
  margin: 4px 0 16px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 36px);
}
.shop-public[data-shop-page="catalog"] .reference-category-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.shop-public[data-shop-page="catalog"] .reference-category-tile {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 12px;
  border: 1px solid var(--color-retained-d8e1e5);
  background: var(--color-surface);
  color: var(--ink);
  text-align: center;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.shop-public[data-shop-page="catalog"] .reference-category-tile:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 16px var(--color-retained-047dba14);
  transform: translateY(-1px);
}
.shop-public[data-shop-page="catalog"] .reference-category-tile strong { font-size: 15px; }
.shop-public[data-shop-page="catalog"] .reference-category-tile small { color: var(--muted); font-size: 11px; }
.shop-public[data-shop-page="catalog"] .catalog-section {
  padding-top: 24px;
  border-top: 1px solid var(--color-retained-d6e0e4);
}
.shop-public[data-shop-page="catalog"] .reference-pack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 20px;
}
.shop-public[data-shop-page="catalog"] .reference-pack-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--color-retained-d5dfe3);
  border-radius: 4px;
  background: var(--color-surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.shop-public[data-shop-page="catalog"] .reference-pack-chips a:hover,
.shop-public[data-shop-page="catalog"] .reference-pack-chips a[aria-current="page"] { border-color: var(--blue); color: var(--blue); }
.shop-public[data-shop-page="catalog"] .catalog-results .product-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.shop-public[data-shop-page="catalog"] .catalog-results .product-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 250px;
  border-radius: 2px;
  border-color: var(--color-border-control);
  box-shadow: 0 1px 2px var(--color-retained-00465608);
}
.shop-public[data-shop-page="catalog"] .catalog-results .product-card-media {
  height: auto;
  min-height: 250px;
  border-right: 1px solid var(--color-retained-dfe7e9);
  border-bottom: 0;
  background: var(--color-surface);
}
.shop-public[data-shop-page="catalog"] .catalog-results .product-card-media img { padding: 24px; }
.shop-public[data-shop-page="catalog"] .catalog-results .product-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: 22px;
  padding: 18px 20px 16px;
}
.shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-article { grid-column: 1; color: var(--blue); font-size: 13px; font-weight: 700; }
.shop-public[data-shop-page="catalog"] .catalog-results .product-card h3 { grid-column: 1; margin: 3px 0 6px; color: var(--blue); font-size: 20px; line-height: 1.25; }
.shop-public[data-shop-page="catalog"] .catalog-results .product-card h3 a { color: var(--blue); }
.shop-public[data-shop-page="catalog"] .catalog-results .product-card-description {
  grid-column: 1 / -1;
  display: -webkit-box;
  margin: 5px 0 10px;
  color: var(--color-retained-4e5e65);
  font-size: 13px;
  line-height: 1.45;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-public[data-shop-page="catalog"] .catalog-results .product-card-specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 8px;
}
.shop-public[data-shop-page="catalog"] .catalog-results .product-card-specs div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 8px 4px 0;
  border-top: 1px dotted var(--color-retained-ccd8dc);
  font-size: 12px;
}
.shop-public[data-shop-page="catalog"] .catalog-results .product-card-specs dt { color: var(--muted); }
.shop-public[data-shop-page="catalog"] .catalog-results .product-card-specs dd { margin: 0; font-weight: 700; }
.shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-pack { grid-column: 1; margin: 0; color: var(--muted); }
.shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-commerce {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: end;
  min-width: 190px;
  margin: 0;
  padding: 12px 0 0 18px;
  border-top: 0;
  border-left: 1px solid var(--color-retained-e0e7e9);
}
.shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-commerce > strong { font-size: 22px; }
.shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-commerce .price-caption { font-size: 11px; }
.shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-commerce .product-order-button,
.shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-commerce .order-control { width: 100%; }

@media (max-width: 900px) {
  .shop-public[data-shop-page="catalog"] .reference-category-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
  .shop-public[data-shop-page="catalog"] .reference-category-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-card { grid-template-columns: 210px minmax(0, 1fr); }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-commerce { min-width: 160px; }
}
@media (max-width: 760px) {
  .shop-public[data-shop-page="catalog"] .reference-category-browser { padding-top: 10px; }
  .shop-public[data-shop-page="catalog"] .reference-category-layout { grid-template-columns: minmax(0, 1fr); }
  .shop-public[data-shop-page="catalog"] .reference-category-tree { order: 2; }
  .shop-public[data-shop-page="catalog"] .reference-category-content { order: 1; }
  .shop-public[data-shop-page="catalog"] .reference-category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .shop-public[data-shop-page="catalog"] .reference-category-tile { min-height: 70px; padding: 10px 8px; }
  .shop-public[data-shop-page="catalog"] .reference-category-tile strong { font-size: 13px; }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-card { grid-template-columns: minmax(0, 1fr); }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-card-media { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--color-retained-dfe7e9); }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-card-body { display: flex; padding: 16px; }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-commerce { min-width: 0; margin-top: 12px; padding: 12px 0 0; border-top: 1px solid var(--color-retained-e0e7e9); border-left: 0; }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-card-specs { grid-template-columns: minmax(0, 1fr); }
}

.shop-public[data-shop-page="catalog"] .catalog-filter-option small {
  margin: 0;
  font-size: var(--shop-text-sm, 14px);
  font-weight: 400;
  white-space: normal;
}

.shop-public[data-shop-page="catalog"] .catalog-sidebar > .catalog-reset {
  margin: 14px 0 4px;
  font-size: 14px;
}

/* Catalogue geometry lives here; shared typography is defined by the storefront. */
.shop-public[data-shop-page="catalog"] .catalog-heading .home-kicker {
  display:none;
}

.shop-public[data-shop-page="catalog"] .catalog-filter-section {
  border-color:var(--line);
}

.shop-public[data-shop-page="catalog"] .catalog-filter-section summary {
  color:var(--ink);
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-grid {
  grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));
  gap:16px;
  align-items:stretch;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card {
  min-height:0;
  height:auto;
  min-width:0;
  border-radius:10px;
  box-shadow:none;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card-media {
  height:136px;
  flex-shrink:0;
  grid-template-rows:minmax(0,1fr) auto;
  border-radius:9px 9px 0 0;
  background:var(--color-surface);
  border-bottom:1px solid var(--color-retained-edf2f3);
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card-media img {
  min-height:0;
  padding:10px;
  object-fit:contain;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card-media.image-family img {
  padding:10px;
  object-fit:contain;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card .image-note {
  position:static;
  width:100%;
  margin:0;
  padding:4px 8px;
  border-radius:0;
  font-size:var(--shop-text-xs,12px);
  line-height:1.35;
  overflow-wrap:anywhere;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card-body {
  min-width:0;
  padding:12px;
  gap:0;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-article {
  display:block;
  min-height:0;
  height:auto;
  color:var(--muted);
  font-size:var(--shop-text-xs,12px);
  line-height:1.4;
  overflow-wrap:anywhere;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-article:empty, .shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-pack:empty {
  display:none;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card h3 {
  height:auto;
  min-height:40px;
  max-height:none;
  flex-shrink:0;
  margin:3px 0 6px;
  font-size:var(--shop-text-sm,14px);
  line-height:20px;
  font-weight:600;
  letter-spacing:0;
  -webkit-line-clamp:3;
  overflow-wrap:anywhere;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card .sku {
  display:none;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card .product-pack {
  display:block;
  height:auto;
  min-height:0;
  flex-shrink:0;
  margin:0 0 10px;
  color:var(--muted);
  font-size:var(--shop-text-sm,14px);
  line-height:1.4;
  overflow-wrap:anywhere;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-commerce {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-height:0;
  margin-top:auto;
  padding-top:10px;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-commerce > strong {
  min-height:0;
  font-size:18px;
  line-height:1.3;
  overflow-wrap:anywhere;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-commerce .price-caption {
  min-height:0;
  margin:0;
  font-size:var(--shop-text-xs,12px);
  line-height:1.4;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-commerce .price-caption:empty {
  display:none;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card .button {
  width:100%;
  min-height:44px;
  height:auto;
  padding:9px 10px;
  font-size:var(--shop-text-sm,14px);
  line-height:1.35;
  white-space:normal;
  overflow-wrap:anywhere;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-order-controls, .shop-public[data-shop-page="catalog"] .catalog-results .product-family-controls {
  display:grid;
  grid-template-rows:none;
  gap:8px;
  min-height:0;
  min-width:0;
  margin-top:2px;
  align-content:start;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-family-controls .button {
  grid-row:auto;
}

.shop-public[data-shop-page="catalog"] .catalog-results .quantity-control {
  min-height:46px;
  height:auto;
  grid-template-columns:44px minmax(44px,1fr) 44px;
}

.shop-public[data-shop-page="catalog"] .catalog-results .quantity-control input, .shop-public[data-shop-page="catalog"] .catalog-results .quantity-control button {
  min-height:44px;
  height:44px;
}

.shop-public[data-shop-page="catalog"] .catalog-results .quantity-control input {
  border:0;
  border-inline:1px solid var(--line);
  border-radius:0;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card-placeholder {
  padding:12px;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card-placeholder strong {
  font-size:25px;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-card-placeholder small {
  font-size:var(--shop-text-xs,12px);
}

.shop-public[data-shop-page="catalog"] .pagination {
  flex-wrap:wrap;
  gap:7px;
}

.shop-public[data-shop-page="catalog"] .pagination .button {
  min-width:44px;
  min-height:44px;
  padding:8px;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view {
  grid-template-columns:1fr;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view .product-card {
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  min-height:0;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view .product-card-media {
  height:160px;
  min-height:0;
  border-radius:9px 0 0 9px;
  align-self:center;
  border-bottom:0;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view .product-card-body {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(210px,40%);
  column-gap:18px;
  align-content:center;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view .product-card h3 {
  min-height:0;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view .product-commerce {
  grid-column:2;
  grid-row:1 / 5;
  min-width:0;
  margin-top:0;
  padding-top:0;
  border-top:0;
}

.shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view .product-article, .shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view .product-pack {
  grid-column:1;
}

.shop-public .product-packages {
  min-width: 0;
  margin-bottom: 20px;
}

.shop-public .product-packages-label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.shop-public .product-package-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-public .product-package-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--color-surface);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.shop-public .product-package-option:hover {
  border-color: var(--blue);
}

.shop-public .product-package-option[aria-current="page"] {
  border-color: var(--blue);
  background: var(--pale);
  color: var(--blue);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.shop-public[data-shop-page="catalog"] .shop-home-hero {
  min-height: 380px;
  gap: 32px;
  padding: 36px 0;
}

.shop-public[data-shop-page="catalog"] .shop-home-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(36px, 3.5vw, 48px);
  line-height: 1;
  letter-spacing: -.045em;
}

.shop-public[data-shop-page="catalog"] .shop-home-hero-copy > p:not(.home-kicker) {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.5;
}

.shop-public[data-shop-page="catalog"] .shop-home-hero.has-motion {
  min-height: 380px;
  padding: 40px clamp(24px, 4vw, 56px);
  border-radius: 16px;
}

.shop-public[data-shop-page="catalog"] .shop-home-hero-banner {
  height: 300px;
}

.shop-public[data-shop-page="catalog"] .home-hero-limitation {
  margin-top: 16px !important;
  padding: 5px 8px;
  font-size: 14px !important;
}

@media (max-width: 1100px) {
  .shop-public[data-shop-page="catalog"] .catalog-toolbar { grid-template-columns:minmax(0,1fr) minmax(100px,160px) auto; }
  .shop-public[data-shop-page="catalog"] .catalog-toolbar .catalog-search { grid-column:1 / -1; }

  .shop-public[data-shop-page="catalog"] .catalog-layout { grid-template-columns:196px minmax(0,1fr); gap:16px; }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view .product-card { grid-template-columns:120px minmax(0,1fr); }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view .product-card-body { display:flex; }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-grid.catalog-list-view .product-commerce { margin-top:4px; }
}

@media (max-width: 760px) {
  .shop-public[data-shop-page="catalog"] .catalog-section {
    padding-top: 36px;
  }

  .shop-public[data-shop-page="catalog"] .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 8px;
    padding: 12px;
  }

  .shop-public[data-shop-page="catalog"] .catalog-toolbar .catalog-search {
    grid-column: 1 / -1;
  }

  .shop-public[data-shop-page="catalog"] .catalog-sort {
    grid-column: 1;
    grid-row: 2;
  }

  .shop-public[data-shop-page="catalog"] .catalog-view-toggle {
    grid-column: 2;
    grid-row: 2;
  }

  .shop-public[data-shop-page="catalog"] .catalog-page-size {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .shop-public[data-shop-page="catalog"] .catalog-page-size select {
    width: 68px;
    flex-shrink: 0;
  }

  .shop-public[data-shop-page="catalog"] .catalog-mobile-filters {
    display: none;
  }

  .shop-public[data-shop-page="catalog"] .catalog-filter-shell.catalog-enhanced .catalog-mobile-filters {
    display: inline-flex;
    grid-column: 2;
    grid-row: 3;
    padding-inline: 12px;
  }

  .shop-public[data-shop-page="catalog"] .catalog-toolbar > [data-catalog-submit] {
    display: inline-flex;
  }

  .shop-public[data-shop-page="catalog"] .catalog-filter-shell.catalog-enhanced .catalog-toolbar > [data-catalog-submit] {
    display: none;
  }

  .shop-public[data-shop-page="catalog"] .catalog-layout {
    display: block;
  }

  .shop-public[data-shop-page="catalog"] .catalog-sidebar {
    position: static;
    width: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    transform: none;
    box-shadow: none;
  }

  /* The storefront reference uses a single-column mobile list. The legacy
     sidebar is intentionally removed on phones; filtering remains available
     through the reference controls shown above the results. */
  .shop-public.reference-shell[data-shop-page="catalog"] .catalog-sidebar {
    display: none !important;
  }

  .shop-public[data-shop-page="catalog"] .catalog-filter-option {
    min-height: 28px;
    align-items: center;
  }

  .shop-public[data-shop-page="catalog"] .catalog-filter-option > span {
    white-space: normal;
  }

  .shop-public[data-shop-page="catalog"] .catalog-filter-shell.catalog-enhanced .catalog-sidebar {
    position: fixed;
    z-index: 120;
    top: 12px;
    bottom: 12px;
    left: 12px;
    width: min(330px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    padding: 0 16px;
    overflow: auto;
    background: var(--color-surface);
    box-shadow: 0 18px 60px var(--color-retained-00465633);
    transform: translateX(-120%);
    transition: transform .18s ease;
  }

  .shop-public[data-shop-page="catalog"] .catalog-filter-shell.catalog-enhanced .catalog-sidebar.is-open {
    transform: translateX(0);
  }

  .shop-public[data-shop-page="catalog"] .catalog-filter-shell.catalog-enhanced .catalog-sidebar-head button {
    display: block;
    min-width: 44px;
    min-height: 44px;
  }

}

@media (max-width: 760px) {
  .shop-public[data-shop-page="catalog"] .catalog-filter-shell.catalog-enhanced .catalog-sidebar { z-index:150; max-width:390px; }
}

@media (max-width: 480px) {
  .shop-public[data-shop-page="catalog"] .catalog-sort {
    grid-column: 1 / -1;
  }

  .shop-public[data-shop-page="catalog"] .catalog-view-toggle {
    grid-row: 3;
  }

  .shop-public[data-shop-page="catalog"] .catalog-filter-shell.catalog-enhanced .catalog-mobile-filters {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

/* A wide mobile card leaves room for real names, package options and touch controls. */
@media (max-width: 600px) {
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) { grid-template-columns:1fr; gap:12px; }
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) .product-card { display:grid; grid-template-columns:100px minmax(0,1fr); grid-template-rows:min-content min-content minmax(min-content,1fr) auto; align-items:start; }
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) .product-card-media { height:132px; min-height:0; border:0; border-radius:9px 0 0 0; align-self:start; }
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) .product-card-media img { padding:8px; }
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) .product-card-body { display:contents; }
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) .product-article { grid-column:2; grid-row:1; margin:12px 12px 0 0; }
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) .product-card h3 { grid-column:2; grid-row:2; min-height:0; margin:12px 12px 6px 0; -webkit-line-clamp:4; }
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) .product-article:not(:empty) + h3 { margin-top:6px; }
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) .product-pack { grid-column:2; grid-row:3; margin:0 12px 12px 0; }
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) .product-card-media { grid-row:1 / 4; }
  .shop-public[data-shop-page="catalog"] .catalog-results :is(.product-grid, .product-grid.catalog-list-view) .product-commerce { grid-column:1 / -1; grid-row:4; min-width:0; margin:0 12px 12px; padding-top:10px; border-top:1px solid var(--line); }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-order-controls { grid-template-columns:134px minmax(0,1fr); align-items:start; }
  .shop-public[data-shop-page="catalog"] .catalog-results .product-order-error, .shop-public[data-shop-page="catalog"] .catalog-results .product-order-unavailable { grid-column:1 / -1; }
}

@media (max-width: 760px) {
  .shop-public[data-shop-page="catalog"] .shop-home-hero {
    min-height: 0;
    gap: 22px;
    padding: 28px 0;
  }

  .shop-public[data-shop-page="catalog"] .shop-home-hero h1 {
    margin: 10px 0 14px;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -.045em;
  }

  .shop-public[data-shop-page="catalog"] .shop-home-hero-copy > p:not(.home-kicker) {
    font-size: 16px;
  }

  .shop-public[data-shop-page="catalog"] .shop-home-hero.has-motion {
    min-height: 390px;
    padding: 30px 22px;
    border-radius: 16px;
  }

  .shop-public[data-shop-page="catalog"] .shop-home-hero-banner {
    height: 250px;
  }
}

/* Product detail: one identity row, compact media/documents, facts and ordering.
   Keep all product geometry here; disclosures grow the page naturally. */
body.shop-public[data-shop-page="product"] main .breadcrumbs { padding-block: 8px; }
body.shop-public[data-shop-page="product"] main .product-page {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 304px;
  grid-template-rows: auto auto 1fr;
  gap: 8px 24px;
  align-items: start;
  padding-bottom: 32px;
}
body.shop-public[data-shop-page="product"] main .product-page > * { min-width: 0; }
body.shop-public[data-shop-page="product"] main .product-summary { grid-column: 1 / -1; padding: 0 0 4px; border-bottom: 1px solid var(--line); }
body.shop-public[data-shop-page="product"] main .product-summary h1 { margin: 0 0 4px; font-size: 30px; line-height: 1.2; }
body.shop-public[data-shop-page="product"] main .product-meta { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline; }
body.shop-public[data-shop-page="product"] main .product-summary .product-article { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }
body.shop-public[data-shop-page="product"] main .product-meta > p { margin: 0; font-size: 14px; line-height: 1.5; }
body.shop-public[data-shop-page="product"] main .product-meta > p:empty { display: none; }
body.shop-public[data-shop-page="product"] main .product-summary .tag-list { display: none; }
body.shop-public[data-shop-page="product"] main .product-image { grid-column: 1; grid-row: 2; display: block; width: 100%; height: auto; max-height: none; min-height: 0; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--color-surface); }
body.shop-public[data-shop-page="product"] main .product-image > :is(img, .image-placeholder) { display: grid; place-items: center; width: 100%; height: auto; aspect-ratio: 1; max-height: none; min-height: 0; padding: 16px; object-fit: contain; }
body.shop-public[data-shop-page="product"] main .product-image .image-note { position: static; display: block; width: 100%; padding: 4px 8px; border-top: 1px solid var(--line); border-radius: 0; font-size: 12px; line-height: 1.5; }
body.shop-public[data-shop-page="product"] main .product-evidence { grid-column: 2; grid-row: 2 / 4; display: grid; gap: 16px; }
body.shop-public[data-shop-page="product"] main .product-detail-section { display: block; padding: 0; margin: 0; border: 0; }
body.shop-public[data-shop-page="product"] main .product-detail-section > h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.3; }
body.shop-public[data-shop-page="product"] main .product-detail-section > div { font-size: 16px; line-height: 1.55; color: var(--ink); }
body.shop-public[data-shop-page="product"] main .product-detail-section p { margin: 0 0 8px; }
body.shop-public[data-shop-page="product"] main .product-detail-section p:last-child { margin-bottom: 0; }
body.shop-public[data-shop-page="product"] main :is(.original-copy, .product-more-specs, .product-more-documents) { margin: 0; }
body.shop-public[data-shop-page="product"] main summary { min-height: 44px; padding-block: 10px; color: var(--blue); font-size: 14px; line-height: 1.5; cursor: pointer; }
body.shop-public[data-shop-page="product"] main details[open] > summary { margin-bottom: 8px; }
body.shop-public[data-shop-page="product"] main .spec-list { display: block; margin: 0; }
body.shop-public[data-shop-page="product"] main .spec-list > div { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(0, 1fr); gap: 12px; padding: 6px 0; font-size: 14px; line-height: 1.5; }
body.shop-public[data-shop-page="product"] main .spec-list :is(dt, dd) { min-width: 0; overflow-wrap: anywhere; }
body.shop-public[data-shop-page="product"] main .spec-list dd { margin: 0; text-align: right; }
body.shop-public[data-shop-page="product"] main .identifier-list:empty { display: none; }
body.shop-public[data-shop-page="product"] main .evidence-list { gap: 8px; }
body.shop-public[data-shop-page="product"] main .evidence-list li { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 4px 0; font-size: 14px; }
body.shop-public[data-shop-page="product"] main .evidence-list li span { font-size: 12px; }
body.shop-public[data-shop-page="product"] main .product-documents { grid-column: 1; grid-row: 3; }
body.shop-public[data-shop-page="product"] main .product-documents > h2 { margin-bottom: 4px; }
body.shop-public[data-shop-page="product"] main .document-list { display: grid; list-style: none; gap: 4px; margin: 0; padding: 0; }
body.shop-public[data-shop-page="product"] main .document-card { display: block; padding: 0; border: 1px solid var(--line); border-radius: 8px; }
body.shop-public[data-shop-page="product"] main .document-card > a { display: block; min-height: 44px; padding: 8px 12px; overflow-wrap: anywhere; }
body.shop-public[data-shop-page="product"] main .document-card > a:hover { background: var(--pale); }
body.shop-public[data-shop-page="product"] main .document-card strong { display: block; font-size: 14px; line-height: 1.5; }
body.shop-public[data-shop-page="product"] main .document-card small { display: block; margin: 0; font-size: 12px; line-height: 1.5; }
body.shop-public[data-shop-page="product"] main .product-document-metadata { margin: 0; }
body.shop-public[data-shop-page="product"] main .product-document-metadata ul { margin: 0; padding-left: 16px; font-size: 12px; line-height: 1.5; }
body.shop-public[data-shop-page="product"] main .product-document-metadata li + li { margin-top: 8px; }
body.shop-public[data-shop-page="product"] main .product-document-metadata span { display: block; }
body.shop-public[data-shop-page="product"] main .document-source { display: block; color: var(--blue); font-size: 12px; line-height: 1.5; }
body.shop-public[data-shop-page="product"] main .buy-panel { grid-column: 3; grid-row: 2 / 4; width: auto; margin: 0; padding: 24px; border-radius: 12px; box-shadow: none; }
body.shop-public[data-shop-page="product"] main .product-packages { margin-bottom: 12px; }
body.shop-public[data-shop-page="product"] main .product-packages-label { margin: 0 0 8px; font-size: 14px; }
body.shop-public[data-shop-page="product"] main .product-package-options { gap: 8px; }
body.shop-public[data-shop-page="product"] main .product-package-option { padding: 8px; }
body.shop-public[data-shop-page="product"] main .product-package-option[aria-current="page"] { color: var(--color-text); }
body.shop-public[data-shop-page="product"] main .product-price { margin: 0 0 8px; font-size: 24px; line-height: 1.3; }
body.shop-public[data-shop-page="product"] main .price-caption { margin: 0 0 12px; font-size: 12px; line-height: 1.5; }
body.shop-public[data-shop-page="product"] main .price-caption:empty { display: none; }
body.shop-public[data-shop-page="product"] main .buy-panel > .form-note { display: block; margin-bottom: 4px; }
body.shop-public[data-shop-page="product"] main .product-order-controls { gap: 8px; }
body.shop-public[data-shop-page="product"] main .buy-panel .product-delivery-commerce .quantity-control { margin-bottom: 0; }
body.shop-public[data-shop-page="product"] main .buy-panel .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.5; }
body.shop-public[data-shop-page="product"] main .product-inquiry { margin-top: 4px; }
body.shop-public[data-shop-page="product"] main .buy-panel-help { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
@media (max-width: 1199px) {
  body.shop-public[data-shop-page="product"] main .product-page { grid-template-columns: 220px minmax(0, 1fr) 280px; gap: 16px; }
  body.shop-public[data-shop-page="product"] main .buy-panel { padding: 20px; }
}
@media (max-width: 959px) {
  body.shop-public[data-shop-page="product"] main .product-page { grid-template-columns: minmax(220px, 1fr) minmax(280px, 1fr); }
  body.shop-public[data-shop-page="product"] main .product-image { max-width: 280px; justify-self: center; }
  body.shop-public[data-shop-page="product"] main .buy-panel { grid-column: 2; grid-row: 2 / 4; }
  body.shop-public[data-shop-page="product"] main .product-documents { width: 100%; }
  body.shop-public[data-shop-page="product"] main .product-evidence { grid-column: 1 / -1; grid-row: 4; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 599px) {
  body.shop-public[data-shop-page="product"] main .product-page { display: flex; flex-direction: column; gap: 20px; }
  body.shop-public[data-shop-page="product"] main .product-page > * { width: 100%; }
  body.shop-public[data-shop-page="product"] main .product-summary h1 { font-size: 30px; }
  body.shop-public[data-shop-page="product"] main .product-image { max-width: 240px; align-self: center; }
  body.shop-public[data-shop-page="product"] main .buy-panel { order: 1; }
  body.shop-public[data-shop-page="product"] main .product-documents { order: 2; }
  body.shop-public[data-shop-page="product"] main .product-evidence { order: 3; display: grid; grid-template-columns: minmax(0, 1fr); }
}

/* Canonical compact SKU card geometry, shared by list and grid views. */
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) !important;
  grid-template-rows: auto;
  min-height: 0;
  border-radius: 2px;
  border-color: var(--color-border-control);
  box-shadow: none;
}
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-media {
  height: 200px !important;
  min-height: 0;
  grid-row: 1;
  align-self: start;
  border-right: 1px solid var(--color-retained-dfe7e9);
  border-bottom: 0;
  border-radius: 0;
  background: var(--color-surface);
}
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-media img { width: 100%; height: 100%; padding: 16px !important; }
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  align-content: start;
  gap: 0;
  padding: 12px !important;
  overflow: visible;
}
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card .product-article { grid-column: 1; grid-row: auto; margin: 0; color: var(--blue); font-size: 12px; font-weight: 700; }
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card h3 { display: block; grid-column: 1; grid-row: auto; min-height: 0; margin: 3px 0 6px; color: var(--blue); font-size: 16px; line-height: 1.3; overflow: visible; }
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card h3 a { color: var(--blue); }
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-description {
  grid-column: 1 / -1;
  display: block;
  max-height: none;
  overflow: visible;
  margin: 4px 0 8px;
  color: var(--color-retained-4e5e65);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
}
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-specs div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 3px 0;
  border-top: 1px dotted var(--color-retained-ccd8dc);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-specs dt { color: var(--muted); }
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-specs dd { margin: 0; font-weight: 700; text-align: left; }
body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card .product-pack { grid-column: 1; grid-row: auto; margin: 0; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card { grid-template-columns: 120px minmax(0, 1fr) !important; }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-media { height: 160px !important; }
}
@media (max-width: 600px) {
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card { grid-template-columns: 88px minmax(0, 1fr) !important; grid-template-rows: auto auto auto; }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-media { height: 116px !important; grid-row: 1 / 4; border: 0; }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-media img { padding: 8px !important; }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-body { display: contents !important; }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card .product-article { grid-column: 2; grid-row: 1; margin: 10px 8px 0 0; }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card h3 { grid-column: 2; grid-row: 2; margin: 3px 8px 4px 0; }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card .product-pack { grid-column: 2; grid-row: 3; margin: 0 8px 8px 0; }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-description { margin: 8px; }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-card-specs { margin: 0 8px; }
}

/* Grid mode changes arrangement while preserving the same type and purchase row. */
@media (min-width: 601px) {
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-grid:not(.catalog-list-view) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)) !important;
  }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-grid:not(.catalog-list-view) .product-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-grid:not(.catalog-list-view) .product-card-media {
    height: 136px !important;
    min-height: 0 !important;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }
  body.shop-public[data-shop-page="catalog"] main #catalog .catalog-results .product-grid:not(.catalog-list-view) .product-card-body {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Action controls use the same high-contrast role as the reference orange CTA,
   translated to LubrixOils green while titles and links stay blue. */
body.shop-public[data-shop-page="catalog"] main .catalog-view-toggle button.is-active {
  border-color: var(--shop-action);
  background: var(--shop-action);
}
body.shop-public[data-shop-page="catalog"] main .catalog-results .product-order-button:not(:disabled),
body.shop-public[data-shop-page="catalog"] main .catalog-results .product-commerce .button:not(.button-secondary):not(:disabled) {
  border-color: var(--shop-action);
  background: var(--shop-action);
}
body.shop-public[data-shop-page="catalog"] main .catalog-results .product-order-button:not(:disabled):hover,
body.shop-public[data-shop-page="catalog"] main .catalog-results .product-commerce .button:not(.button-secondary):not(:disabled):hover {
  border-color: var(--shop-action-hover);
  background: var(--shop-action-hover);
}
body.shop-public[data-shop-page="catalog"] main .reference-category-tree > header,
body.shop-public[data-shop-page="catalog"] main .catalog-toolbar {
  background: var(--shop-info-bg);
}
body.shop-public[data-shop-page="catalog"] main .reference-pack-chips a[aria-current="page"] {
  border-color: var(--shop-action);
  background: var(--shop-status-bg);
  color: var(--ink);
}

/* The audited catalogue page starts with the category browser; the original
   Lubrix landing hero is intentionally kept out of this reference flow. */
body.shop-public[data-shop-page="catalog"] main .shop-home-hero,
body.shop-public[data-shop-page="catalog"] main .shop-shortcuts {
  display: none !important;
}

/* The filtered catalogue follows the reference site's two-column flow: the
   tree owns the 280px rail and the results column starts immediately after it.
   Keep the category landing styles from changing this list geometry. */
@media (min-width: 761px) {
  html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-layout {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: start;
  }

  html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-layout > .catalog-sidebar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    position: static !important;
    overflow: visible !important;
    box-sizing: border-box;
  }

  html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-layout > .catalog-results {
    min-width: 0;
  }
}

/* The reference collapses the filter rail before tablet width.  The previous
   761px breakpoint left a full-width tree above the products at 768px, which
   made the list look like a duplicated/overlapping tab. Keep the result flow
   single-column through 800px, while leaving the desktop 280px rail intact. */
@media (max-width: 800px) {
  html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-layout {
    display: block !important;
  }

  html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-sidebar {
    display: none !important;
  }

  html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-results {
    width: 100% !important;
  }
}

/* Recommendation cards share content-sized rows across the carousel.
   Keep geometry here; reference-style supplies the shared colour skin. */
body.shop-public.reference-shell[data-shop-page="home"] .reference-home-products[data-recommendations] {
  height: auto !important;
  min-height: 0 !important;
  margin-top: 32px !important;
  padding: 24px 0 32px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-products-heading {
  width: 100% !important;
  height: auto !important;
  min-height: 44px !important;
  margin: 0 0 16px !important;
  gap: 12px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-products-heading h2 {
  font-size: clamp(24px, 2.1vw, 30px) !important;
  line-height: 1.2 !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-products-arrow {
  width: 44px !important;
  height: 44px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-viewport {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-grid {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-template-columns: none !important;
  grid-template-rows: 200px repeat(8, auto) !important;
  grid-auto-columns: calc((100% - 36px) / 4) !important;
  gap: 0 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-card {
  display: grid !important;
  grid-row: 1 / span 9;
  grid-template-rows: subgrid;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-image {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box;
  object-fit: contain !important;
  padding: 16px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-body {
  display: grid !important;
  grid-row: 2 / span 8;
  grid-template-rows: subgrid;
  align-items: start !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 16px 16px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-body > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-tag {
  position: static !important;
  justify-self: start;
  width: fit-content;
  margin: 0 0 12px -16px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-card h3 {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 8px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  overflow: visible !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-code {
  min-height: 0 !important;
  margin: 0 0 8px;
  font-size: 12px !important;
  line-height: 1.5 !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-description {
  min-height: 0 !important;
  margin: 0 0 12px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  overflow: visible !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-price {
  min-height: 0 !important;
  margin: 0 0 12px;
  gap: 8px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-price strong {
  font-size: 20px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-price span {
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-card .product-order-controls {
  grid-template-columns: 132px minmax(0, 1fr) !important;
  gap: 8px !important;
  margin: 0 !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-card .quantity-control {
  width: 132px !important;
  height: 44px !important;
  grid-template-columns: 44px minmax(0, 1fr) 44px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-card .quantity-control button {
  width: 44px !important;
  min-height: 44px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-card .recommendation-order-button {
  min-width: 0 !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 8px !important;
  font-size: 14px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-compare {
  margin: 8px 0 !important;
  font-size: 14px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-status {
  margin: 0 !important;
  padding-top: 8px !important;
  border-top: 1px solid var(--color-retained-eceeef);
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-status-row {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-status-row.is-delivery {
  grid-template-columns: 24px minmax(0, 1fr) !important;
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-stock,
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-status-context {
  font-size: 12px !important;
  line-height: 1.5 !important;
}
@media (max-width: 1100px) {
  body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-grid {
    grid-auto-columns: calc((100% - 24px) / 3) !important;
  }
}
@media (max-width: 900px) {
  body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-grid {
    grid-auto-columns: calc((100% - 12px) / 2) !important;
  }
}
@media (max-width: 760px) {
  body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-products-heading {
    flex-wrap: wrap !important;
    padding-inline: 12px !important;
  }
  body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-grid {
    grid-auto-columns: calc(100% - 24px) !important;
    grid-template-rows: 180px repeat(8, auto) !important;
    padding-inline: 12px !important;
    box-sizing: border-box;
  }
}
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-card .product-order-error,
body.shop-public.reference-shell[data-shop-page="home"] [data-recommendations] .reference-home-product-card .product-order-unavailable {
  grid-column: 1 / -1;
  width: 100%;
  margin: 8px 0 0;
}

/* Category tree: consistent rows and shared count rail at every depth.
   Specificity keeps legacy reference sizing from clipping translated labels. */
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-layout {
  height: auto;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined {
  height: auto;
  background: var(--color-surface);
  border: 0;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details {
  border: 0;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined summary,
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details a,
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined .reference-category-disabled {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 6px;
  height: auto;
  min-height: 30px !important;
  padding: 4px 8px;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  color: var(--color-text);
  font-size: 14px !important;
  line-height: 1.55;
  font-weight: 400;
  text-decoration: none;
  background: var(--color-surface);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined > details > summary {
  background: color-mix(in srgb, var(--color-border) 70%, var(--color-surface));
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined > details[open] > summary {
  background: var(--color-border);
  font-weight: 700;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined summary::before,
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details a::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  color: var(--color-text-muted);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details[open] > summary::before {
  transform: rotate(90deg);
  color: var(--color-text);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined .reference-category-disabled::before {
  content: "";
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details > div {
  padding: 0 0 0 16px;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-motor-category-landing .reference-category-nested[open] > div {
  display: block;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined summary > span,
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details a > span,
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined .reference-category-disabled > span {
  min-width: 0;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  width: 32px;
  height: 18px;
  box-sizing: border-box;
  padding: 2px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-border) 35%, var(--color-surface));
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details a:hover,
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details a[aria-current="page"] {
  color: var(--color-link);
  background: var(--color-surface);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details a[aria-current="page"] {
  font-weight: 700;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined summary a.reference-category-label {
  display: inline;
  min-height: 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined summary a.reference-category-label::before {
  display: none;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined summary:focus-visible,
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: -2px;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined summary:has(a[aria-current="page"]) {
  color: var(--color-link);
  font-weight: 700;
}

body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined summary a.reference-category-label[aria-current="page"] {
  font-weight: 700;
  color: var(--color-link);
}

/* Owner's full-page reference (2026-10-06): compact desktop catalogue rail.
   Keep real dimensions and normal page flow instead of scaling the browser. */
@media (min-width: 1101px) {
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-browser.page-width {
    width: min(1088px, calc(100% - 28px));
    max-width: 1088px;
    margin-inline: auto;
  }
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-layout {
    grid-template-columns: 285px minmax(0, 1fr) !important;
    gap: 22px !important;
  }
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-layout > .reference-category-tree.reference-category-refined {
    width: 285px;
  }
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-heading h1 {
    font-size: 22px;
  }
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-viscosity-grid a,
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-viscosity-grid .is-disabled {
    min-height: 72px;
    font-size: 13px;
  }
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined summary,
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details a,
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined .reference-category-disabled {
    min-height: 28px !important;
    padding-block: 3px;
    font-size: 13px !important;
  }
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined .reference-category-nested > summary {
  background: var(--color-surface);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details.reference-category-nested[open] > summary {
  background: var(--color-surface);
}
@media (min-width: 1101px) {
  body.shop-public.reference-shell[data-shop-page="catalog"] {
    --shop-page-width: min(1088px, calc(100vw - 28px));
  }
  body.shop-public.reference-shell[data-shop-page="catalog"] .site-header .header-search {
    width: 432px !important;
    max-width: 432px !important;
  }
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-root-category-tiles .is-root-category > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Recommendation cards: one offer message, one clear action, secondary specs. */
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] {
  margin-top: 24px !important;
  padding: 16px 0 24px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-products-note {
  max-width: 80ch;
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.55;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-grid {
  grid-template-rows: 200px repeat(7, auto) !important;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-card {
  grid-row: 1 / span 8;
  border-radius: 8px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-body {
  grid-row: 2 / span 7;
  text-align: left !important;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-price {
  align-items: flex-start !important;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-price strong {
  font-size: 18px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-card .product-order-controls {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-card .quantity-control {
  justify-self: start;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-card .recommendation-order-button {
  width: 100%;
  height: 44px !important;
  min-height: 44px !important;
  justify-content: center;
  white-space: nowrap;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-compare {
  justify-content: flex-start !important;
  margin: 12px 0 0 !important;
  color: var(--color-link) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-compare svg {
  width: 16px !important;
  height: 16px !important;
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-status {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px !important;
  margin-top: 12px !important;
  border-color: var(--color-border);
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-stock {
  display: inline-block !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 4px 8px !important;
}
@media (max-width: 760px) {
  body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-products-note {
    margin-inline: 12px;
  }
  body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-grid {
    grid-template-rows: 180px repeat(7, auto) !important;
  }
}
body.shop-public.reference-shell[data-shop-page="home"] main [data-recommendations] .reference-home-product-code {
  justify-content: flex-start !important;
  text-align: left !important;
}

/* Approved MOEVE catalogue skin (2026-10-06). Color and margin art only:
   existing compact geometry, responsive topology and product hooks stay owned above. */
body.shop-public.reference-shell[data-shop-page="catalog"] {
  background-color: var(--color-surface);
}
body.shop-public.reference-shell[data-shop-page="catalog"] .storefront-utility {
  background: var(--color-brand-dark);
  color: var(--color-action-text);
}
body.shop-public.reference-shell[data-shop-page="catalog"] .storefront-utility :is(a, span, svg) {
  color: var(--color-action-text);
}
body.shop-public.reference-shell[data-shop-page="catalog"] .header-search button {
  background: var(--color-brand-yellow);
  color: var(--color-text);
  border-color: var(--color-brand-yellow);
}
body.shop-public.reference-shell[data-shop-page="catalog"] .header-search button:hover {
  background: var(--color-brand-green);
  border-color: var(--color-brand-green);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree > header {
  background: var(--color-brand-yellow);
  color: var(--color-text);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined > details[open] > summary {
  background: var(--color-brand-green);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details.reference-category-nested[open] > summary,
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree.reference-category-refined details a[aria-current="page"]:not(.reference-category-label) {
  background: var(--color-retained-e0f5ed);
  color: var(--color-text);
  box-shadow: inset 3px 0 var(--color-brand-yellow);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-heading h1,
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-heading h1 {
  background: var(--color-action);
  color: var(--color-action-text);
  box-shadow: 6px 0 var(--color-action), -6px 0 var(--color-action);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-filter-panel:first-child > summary {
  background: var(--color-action);
  color: var(--color-action-text);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-filter-panel:nth-child(2) > summary {
  background: var(--color-brand-pink);
  color: var(--color-text);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-pack-chips a {
  border-color: var(--color-action);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-pack-chips a[aria-current="page"] {
  background: var(--color-brand-pink);
  color: var(--color-text);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-results .product-card {
  background: var(--color-surface);
  border-color: var(--color-brand-dark);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-results .product-card-media,
body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-results .product-card-media.image-family {
  background: var(--color-surface);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-results .product-card-specs > div:nth-child(4n+1),
body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-results .product-card-specs > div:nth-child(4n+2) {
  background: transparent;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-results .product-card .product-commerce {
  background: var(--color-retained-f2f3f4);
  border-color: var(--color-border);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-filter-panel > summary::before {
  color: currentColor;
}
/* Full existing title strip; preserve its measured box and search control. */
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-heading {
  background: var(--color-action);
  color: var(--color-action-text);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-heading :is(h1, .reference-eyebrow, .catalog-result-count, .reference-quick-search > span) {
  color: var(--color-action-text);
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-heading h1 {
  box-shadow: none;
}
body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-heading .reference-quick-search input {
  background: var(--color-surface);
  color: var(--color-text);
}

/* Compact purchase row. Feedback can grow below the price and controls. */
.shop-public #catalog .product-card .product-commerce {
  display: grid;
  grid-column: 1 / -1;
  grid-row: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-self: stretch;
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 8px 0 0;
  padding: 6px;
  gap: 4px 8px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: var(--color-retained-f2f3f4);
  color: var(--color-brand-dark);
}
.shop-public #catalog .product-commerce > strong {
  grid-column: 1;
  grid-row: 1;
  font-size: 14px;
  line-height: 1.35;
  min-width: 0;
}
.shop-public #catalog .product-commerce .price-caption {
  grid-column: 1;
  grid-row: 2;
  color: var(--color-brand-dark);
  font-size: 12px;
}
.shop-public #catalog .product-commerce :is(.product-order-controls, .product-family-controls) {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  width: auto;
  min-width: 0;
  margin: 0;
}
.shop-public #catalog .product-commerce .quantity-control {
  flex: 0 0 86px;
  width: 86px;
  height: 34px;
  min-height: 34px;
  grid-template-columns: 28px 28px 28px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.shop-public #catalog .product-commerce .quantity-control > :is(button, input) {
  width: 28px;
  min-height: 32px;
  height: 32px;
  padding: 0;
  color: var(--color-brand-dark);
  font-size: 16px;
}
.shop-public #catalog .product-commerce .quantity-control > button {
  font-size: 20px;
  font-weight: 700;
}
.shop-public #catalog .product-commerce .quantity-control > button:disabled {
  opacity: 1;
  color: var(--color-text-muted);
  background: var(--color-retained-f2f3f4);
}
.shop-public #catalog .product-commerce .product-order-button {
  width: auto;
  min-width: 0;
  min-height: 32px;
  height: auto;
  padding: 6px 8px;
  font-size: 14px;
  line-height: 1.35;
  border-radius: 2px;
}
.shop-public #catalog .product-commerce :is(.product-order-error, .product-order-unavailable, .product-order-status) {
  flex-basis: 100%;
  margin: 0;
}
.shop-public #catalog .product-commerce .product-order-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.4;
  background: var(--color-surface);
  color: var(--color-brand-dark);
  border-radius: 4px;
}
.shop-public #catalog .product-commerce .product-order-status :is(a, button) {
  color: var(--color-brand-dark);
  font-size: 12px;
  font-weight: 700;
  width: auto;
  min-height: 32px;
  padding: 4px 8px;
}
@media (max-width: 600px) {
  .shop-public #catalog .product-card .product-commerce { width: auto; margin: 8px; gap: 4px; }
  .shop-public #catalog .product-commerce .quantity-control { height: 46px; min-height: 46px; }
  .shop-public #catalog .product-commerce .quantity-control > :is(button, input),
  .shop-public #catalog .product-commerce .product-order-button { height: 44px; min-height: 44px; }
  .shop-public #catalog .product-commerce .product-order-button { padding: 6px; }
}

/* Feedback uses the full footer width without squeezing the price or controls. */
.shop-public #catalog .product-commerce:has(.product-order-controls > :is(.product-order-error, .product-order-unavailable, .product-order-status):not([hidden])) {
  grid-template-columns: minmax(0, 1fr) 86px auto;
}
.shop-public #catalog .product-commerce:has(.product-order-controls > :is(.product-order-error, .product-order-unavailable, .product-order-status):not([hidden])) .product-order-controls {
  display: contents;
}
.shop-public #catalog .product-commerce .product-order-controls > .quantity-control {
  grid-column: 2;
  grid-row: 1;
}
.shop-public #catalog .product-commerce .product-order-controls > .product-order-button {
  grid-column: 3;
  grid-row: 1;
}
.shop-public #catalog .product-commerce .product-order-controls > :is(.product-order-error, .product-order-unavailable, .product-order-status) {
  grid-column: 1 / -1;
  grid-row: auto;
}

/* Product selection keeps the same usable quantity control as catalogue cards. */
body.shop-public.reference-shell[data-shop-page="product"] main .buy-panel .product-delivery-commerce {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
body.shop-public.reference-shell[data-shop-page="product"] main .buy-panel .product-delivery-commerce .product-order-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
body.shop-public.reference-shell[data-shop-page="product"] main .buy-panel .product-delivery-commerce .quantity-control {
  flex: 0 0 134px;
  grid-template-columns: 44px 44px 44px;
  width: 134px;
  height: 46px;
  border-color: var(--color-brand-dark);
}
body.shop-public.reference-shell[data-shop-page="product"] main .buy-panel .product-delivery-commerce .quantity-control > :is(button, input) {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 16px;
  color: var(--color-brand-dark);
}
body.shop-public.reference-shell[data-shop-page="product"] main .buy-panel .product-delivery-commerce .product-order-button {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.35;
  white-space: normal;
}
body.shop-public.reference-shell[data-shop-page="product"] main .buy-panel :is(.product-order-status, .product-order-error) {
  flex-basis: 100%;
}
body.shop-public.reference-shell[data-shop-page="product"] main .buy-panel .product-order-help {
  margin: 8px 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.shop-public #catalog .product-commerce .product-order-condition {
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-brand-dark);
}
body.shop-public.reference-shell[data-shop-page="product"] main .buy-panel .product-order-condition {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-brand-dark);
}
@media (min-width: 1101px) {
  .shop-public #catalog .catalog-list-view .product-commerce .product-order-condition { grid-row: 3; }
}

/* Manufacturer and real package identifiers share the compact identity row. */
body.shop-public[data-shop-page="catalog"] main .catalog-results .product-card .product-article {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
body.shop-public[data-shop-page="catalog"] main .product-manufacturer[data-brand="cepsa"] {
  color: var(--color-brand-cepsa);
}
body.shop-public[data-shop-page="catalog"] main .product-identity-codes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  overflow-wrap: anywhere;
}
body.shop-public[data-shop-page="catalog"] main .product-identity-codes > span + span::before {
  content: "· ";
}

/* Database categories may have any depth, including a root with direct SKUs. */
.shop-public[data-shop-page="catalog"] .reference-category-tree > .reference-category-leaf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
  padding: 4px 14px;
  font-size: 13px;
  color: var(--ink);
}
.shop-public[data-shop-page="catalog"] .reference-category-leaf > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .shop-public[data-shop-page="catalog"] .reference-category-tree > .reference-category-leaf {
    font-size: 14px;
  }
}

/* Catalogue controls own their geometry here. The later reference skin still
   supplies colors, but its fixed screenshot heights must not constrain content. */
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-heading {
  display: flex;
  align-items: center;
  gap: 16px 24px;
  height: auto;
  min-height: 44px;
  flex-wrap: wrap;
  padding: 16px;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-heading > div:first-child {
  flex: 1 1 260px;
  min-width: 0;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-heading h1 {
  line-height: 1.2;
  overflow-wrap: anywhere;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-local-search {
  display: block;
  flex: 1 1 300px;
  width: 100%;
  min-width: 0;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-local-search label {
  display: block;
  margin-bottom: 4px;
  color: var(--color-action-text);
  font-size: var(--shop-text-sm, 14px);
  line-height: 1.5;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-local-search-controls {
  display: flex;
  gap: 8px;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-local-search-controls input {
  flex: 1;
  width: 0;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  font-size: var(--shop-text-base, 16px);
  line-height: 1.5;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-local-search-controls button {
  min-height: 44px;
  flex: none;
  padding: 8px 12px;
  font-size: var(--shop-text-sm, 14px);
  line-height: 1.5;
  border-radius: 8px;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-toolbar.reference-list-toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  height: auto;
  min-height: 44px;
  padding: 12px 0;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-toolbar .catalog-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 1 1 280px;
  width: auto;
  min-width: 0;
  height: auto;
  gap: 4px 8px;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-toolbar .catalog-sort > span {
  font-size: var(--shop-text-sm, 14px);
  white-space: normal;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-toolbar .catalog-sort select {
  flex: 1 1 180px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: var(--shop-text-base, 16px);
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-toolbar .reference-stock {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  min-width: 0;
  height: auto;
  min-height: 44px;
  white-space: normal;
  order: 0;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-toolbar .reference-stock input {
  flex: 0 0 16px;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-toolbar .catalog-view-toggle {
  flex: 0 0 auto;
  align-self: center;
  height: auto;
  margin-left: auto;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-list-toolbar .catalog-view-toggle button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .catalog-results .reference-filter-panel summary {
  min-height: 44px;
  padding: 8px 16px;
  gap: 8px;
  font-size: var(--shop-text-base, 16px);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-pack-chips a {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  font-size: var(--shop-text-sm, 14px);
  overflow-wrap: anywhere;
}

/* The root catalogue uses the same content-sized title/search flow. */
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center !important;
  gap: 12px 24px;
  height: auto !important;
  min-height: 44px !important;
  padding-block: 12px;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-heading > div {
  flex: 1 1 260px;
  min-width: 0;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-heading h1 {
  height: auto;
  padding: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-heading .reference-quick-search {
  flex: 0 1 300px;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-heading .reference-quick-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: var(--shop-text-base, 16px);
  border-radius: 8px;
}

/* Category navigation stages use application symbols, not unrelated SKU photos. */
/* Highlight the whole clickable category, including keyboard navigation. */
html body.shop-public.reference-shell[data-shop-page="catalog"] main :is(
  .reference-category-tile, .reference-viscosity-grid > a,
  .reference-category-tree .reference-category-leaf,
  .reference-category-tree summary
):is(:hover, :focus-visible, :has(a:focus-visible)) {
  background: var(--color-brand-yellow) !important;
  color: var(--color-text) !important;
  box-shadow: inset 0 0 0 2px var(--color-action);
  cursor: pointer;
}
html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tree summary:is(:hover, :has(a:focus-visible)) a {
  background: transparent !important;
  color: inherit !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.shop-public[data-shop-page="catalog"] .catalog-category-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  color: var(--blue);
}
.shop-public[data-shop-page="catalog"] .catalog-all-products {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 16px;
  color: var(--blue);
  text-decoration: underline;
}
.shop-public[data-shop-page="catalog"] .reference-quick-search > label {
  font-size: 14px;
}

@media (max-width: 800px) {
  html body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-category-tiles {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-root-category-tiles .is-root-category {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 12px 8px;
  }
  body.shop-public.reference-shell[data-shop-page="catalog"] main .reference-root-category-tiles .is-root-category > strong {
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
}

/* Approved horizontal category recommendations. All geometry lives here. */
body.shop-public[data-shop-page="home"] main .recommendations {
  padding: 24px 0 32px;
  margin-top: 24px;
  color: var(--color-brand-dark);
}
.recommendations [hidden] { display: none !important; }
.recommendations-eyebrow { display:flex; align-items:center; gap:16px; font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.recommendations-eyebrow::after { content:""; height:1px; background:var(--color-blue-40); flex:1; }
.recommendations-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:12px 0 20px; }
body.shop-public .recommendations-heading h2 { margin:0; font-size:clamp(24px, 2.5vw, 32px); line-height:1.2; color:var(--color-brand-dark); }
.recommendations-heading > a { color:var(--color-action); font-size:14px; font-weight:700; flex-shrink:0; text-underline-offset:4px; }
.recommendations-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-bottom:16px; }
.recommendations-tabs button { display:flex; align-items:center; justify-content:center; gap:12px; min-height:60px; padding:12px; border:1px solid var(--color-blue-40); border-radius:8px; background:var(--color-surface); color:var(--color-brand-dark); font:inherit; font-size:14px; line-height:1.35; cursor:pointer; position:relative; }
.recommendations-tabs button svg { width:28px; height:28px; flex-shrink:0; }
.recommendations-tabs button[aria-selected="true"] { background:var(--color-brand-dark); border-color:var(--color-brand-dark); color:var(--color-surface); box-shadow:inset 0 -5px var(--color-brand-green); font-weight:700; }
.recommendations-tabs button:hover { border-color:var(--color-action); }
.recommendations-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.recommendation-card { display:grid; grid-template-columns:minmax(140px,35%) minmax(0,1fr); gap:16px; padding:8px; background:var(--color-surface); border:1px solid var(--color-blue-40); border-radius:8px; min-width:0; box-shadow:0 3px 12px rgb(0 70 86 / 4%); transition:border-color .2s,box-shadow .2s; }
.recommendation-card:hover,.recommendation-card:focus-within { border-color:var(--color-action); box-shadow:0 0 0 1px var(--color-action),0 8px 24px rgb(0 70 86 / 10%); }
.recommendation-image { display:flex; align-items:center; justify-content:center; position:relative; isolation:isolate; min-width:0; min-height:205px; background:var(--color-surface-accent); border-radius:5px; overflow:hidden; text-decoration:none; }
.recommendation-image::before { content:""; position:absolute; z-index:-1; left:-12%; top:23%; width:105%; aspect-ratio:1; border-radius:50%; background:var(--color-brand-green); }
.recommendation-image img { width:100%; height:205px; object-fit:contain; padding:8px; transform:scale(1.18); transition:transform .25s ease; }
.recommendation-card:hover .recommendation-image img,.recommendation-card:focus-within .recommendation-image img { transform:scale(1.23); }
.recommendation-image-arrow { position:absolute; bottom:8px; right:8px; display:grid; place-items:center; width:36px; height:36px; background:var(--color-brand-dark); color:white; border-radius:50%; font-size:24px; transition:background .2s,color .2s; }
.recommendation-card:hover .recommendation-image-arrow,.recommendation-card:focus-within .recommendation-image-arrow { background:var(--color-brand-green); color:var(--color-brand-dark); }
.recommendation-body { display:flex; flex-direction:column; min-width:0; padding:8px 8px 8px 0; gap:12px; }
.recommendation-meta { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:4px 12px; color:var(--color-text-muted); font-size:12px; overflow-wrap:anywhere; }
.recommendation-meta a { color:var(--color-brand-dark); text-underline-offset:3px; }
body.shop-public .recommendation-body h3 { margin:0; font-size:16px; line-height:1.35; font-weight:700; overflow-wrap:anywhere; }
.recommendation-body h3 a { color:var(--color-brand-dark); text-decoration:none; }
.recommendation-body h3 a:hover { color:var(--color-action); text-decoration:underline; text-underline-offset:3px; }
.recommendation-facts { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:13px; }
.recommendation-pack { display:inline-flex; padding:3px 10px; border:1px solid var(--color-blue-40); border-radius:4px; }
.recommendation-purchase { margin-top:auto; display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding-top:12px; border-top:1px solid var(--color-blue-40); }
.recommendation-price { margin:0; font-weight:700; font-size:14px; line-height:1.45; flex:1 0 100%; color:var(--color-brand-dark); }
body.shop-public .recommendation-card .product-order-controls { display:grid; grid-template-columns:auto minmax(0,1fr); width:100%; gap:8px; margin:0; align-items:start; }
body.shop-public .recommendation-card .quantity-control { display:grid; grid-template-columns:36px 36px 36px; height:44px; width:108px; margin:0; border:1px solid var(--color-blue-40); border-radius:5px; overflow:hidden; }
body.shop-public .recommendation-card .quantity-control button,body.shop-public .recommendation-card .quantity-control input { min-width:0; width:100%; height:44px; min-height:44px; padding:0; border:0; border-radius:0; color:var(--color-brand-dark); background:var(--color-surface); font-size:16px; text-align:center; }
body.shop-public .recommendation-card .quantity-control input { border-inline:1px solid var(--color-blue-40); appearance:textfield; -moz-appearance:textfield; }
.recommendation-card input::-webkit-inner-spin-button { -webkit-appearance:none; }
body.shop-public .recommendation-card .recommendation-order-button { display:flex; justify-content:center; align-items:center; gap:6px; padding:8px; min-height:44px; height:auto; min-width:0; margin:0; border:1px solid var(--color-action); border-radius:5px; background:var(--color-action); color:var(--color-surface); box-shadow:none; font-size:13px; line-height:1.35; white-space:normal; }
.recommendation-order-button svg { width:20px; height:20px; stroke:currentColor; stroke-width:1.8; flex-shrink:0; }
body.shop-public .recommendation-card .recommendation-order-button:hover { background:var(--color-brand-dark); border-color:var(--color-brand-dark); }
.recommendation-card .product-order-error,.recommendation-card .product-order-unavailable { grid-column:1/-1; font-size:13px; overflow-wrap:anywhere; margin:0; }
.recommendations :is(a,button,input):focus-visible { outline:3px solid var(--color-action); outline-offset:3px; }
@media(min-width:1400px) { .recommendation-price { flex-basis:auto; } }
@media(max-width:1100px) { .recommendation-card { grid-template-columns: minmax(120px,30%) minmax(0,1fr); gap:12px; } .recommendations-tabs button { gap:8px; font-size:13px; } }
@media(max-width:900px) { .recommendations-panel { grid-template-columns:1fr; } .recommendation-image { min-height:190px; } .recommendation-image img { height:190px; } .recommendations-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); } .recommendation-card { grid-template-columns:180px minmax(0,1fr); } .recommendation-price { flex-basis:auto; } .recommendation-card .product-order-controls { max-width:300px; } }
@media(max-width:520px) {
  .recommendations-heading { align-items:flex-start; flex-direction:column; gap:8px; }
  .recommendations-tabs button { padding:10px 8px; min-height:64px; }
  .recommendations-tabs button svg { width:24px; height:24px; }
  .recommendation-card { grid-template-columns:100px minmax(0,1fr); gap:12px; padding:8px; }
  .recommendation-image { min-height:140px; align-self:stretch; grid-column:1; grid-row:1 / span 3; }
  .recommendation-image img { height:140px; padding:4px; }
  .recommendation-body { display:contents; }
  .recommendation-meta { grid-column:2; grid-row:1; align-content:start; padding-top:4px; }
  body.shop-public .recommendation-body h3 { grid-column:2; grid-row:2; align-self:center; font-size:16px; }
  .recommendation-facts { grid-column:2; grid-row:3; }
  .recommendation-purchase { grid-column:1/-1; margin:0; }
  body.shop-public .recommendation-card .quantity-control { width:132px; grid-template-columns:44px 44px 44px; }
  body.shop-public .recommendation-card .product-order-controls { max-width:none; }
  .recommendation-meta a { min-height:24px; }
}
@media(prefers-reduced-motion:reduce) { .recommendations * { animation:none !important; transition:none !important; } .recommendation-card:hover .recommendation-image img,.recommendation-card:focus-within .recommendation-image img { transform:scale(1.18); } }
