@import "./page-shared.css";

.t1-product-list .t1-pl-category-banner.category-page-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 55%, #3a3228 100%) !important;
  color: #fff;
  padding: clamp(48px, 8vw, 70px) 24px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.t1-product-list .t1-pl-category-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(91,173,232, 0.18), transparent 55%);
  pointer-events: none;
}
.t1-product-list .category-banner-title {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  color: #fff !important;
}
.t1-product-list .category-banner-sub {
  color: rgba(255,255,255,0.8) !important;
}

.t1-product-list {
  padding: 0 0 40px;
  background: var(--theme-bg, #fff);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* ── JPRO shop banner: full-bleed, all breakpoints ── */
.t1-product-list--jpro .jpro-page-banner {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 0;
  overflow: hidden;
  background: #eef2f6;
  box-sizing: border-box;
}

.t1-product-list--jpro .jpro-page-banner::before,
.t1-product-list--jpro .jpro-page-banner::after {
  content: none !important;
  display: none !important;
}

.t1-product-list--jpro .jpro-page-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center center;
  vertical-align: top;
}

/* Toolbar view toggle */
.t1-product-list--jpro .t1-pl-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.t1-product-list--jpro .t1-pl-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.t1-product-list--jpro .t1-pl-view-btn {
  appearance: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fff;
  color: #555;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.t1-product-list--jpro .t1-pl-view-btn:hover {
  border-color: var(--jpro-blue, #03318f);
  color: var(--jpro-blue, #03318f);
}

.t1-product-list--jpro .t1-pl-view-btn.is-active {
  background: var(--jpro-blue, #03318f) !important;
  border-color: var(--jpro-blue, #03318f) !important;
  color: #fff !important;
}

.t1-product-list--jpro .t1-pl-view-btn svg {
  display: block;
  pointer-events: none;
}

/* List view layout */
.t1-product-list--jpro .t1-pl-grid.t1-pl-view-list,
.t1-product-list--jpro [data-pl-list].t1-pl-view-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  grid-template-columns: none !important;
}

@media (min-width: 901px) {
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item--jpro {
    display: grid !important;
    grid-template-columns: 160px minmax(0, 1fr) 168px !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 16px !important;
    background: #fff;
    border: 1px solid #eaedf2;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(3, 49, 143, 0.06);
    height: auto !important;
    flex-direction: unset !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-link,
  .t1-product-list--jpro .t1-pl-view-list .product-card-link {
    display: block !important;
    width: 160px !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img,
  .t1-product-list--jpro .t1-pl-view-list .product-image-wrap {
    width: 160px !important;
    height: 160px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    border-radius: 8px;
    overflow: hidden;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-info,
  .t1-product-list--jpro .t1-pl-view-list .product-details {
    padding: 0 !important;
    min-width: 0;
    text-align: left !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pdng-both {
    margin: 0 !important;
    padding: 0 !important;
    width: 168px !important;
    min-width: 168px !important;
    max-width: 168px !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn-add,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn-view {
    width: 168px !important;
    min-width: 168px !important;
    max-width: 168px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 720px) {
  /* Legacy block — superseded by end-of-file 900px list overrides */
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item--jpro {
    display: grid !important;
    grid-template-columns: 110px minmax(0, 1fr) !important;
    grid-template-areas:
      "img info"
      "img actions" !important;
    align-items: start !important;
  }
}

/* ── Alfies-style category banner (product-list page) ───────────── */
.t1-product-list .t1-pl-category-banner.category-page-banner {
  background: linear-gradient(135deg, var(--theme-header-nav-bg, #15233f) 0%, var(--theme-header-bg, #263457) 60%, var(--theme-hero-banner-bg, #3b5190) 100%) !important;
  color: #fff;
  padding: clamp(24px, 4vw, 36px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0;
}
.rating.t1-pgb-rating-12 {
    font-size: 11.5px !important;
    color: var(--theme-muted, #5a7a72);
    line-height: 23px;
    font-weight: 700;
    margin-top: 9px;
}
.t1-product-grid--petshop-block .product .variant-meta.t1-pgb-meta {
    font-size: 11px;
    color: var(--theme-muted, #5a7a72);
    margin-top: 4px;
    line-height: 1.4;
    font-weight: 500;
}
.t1-product-grid--petshop-block .product.t1-pgb-product:hover {
    box-shadow: rgba(38, 52, 87, 0.15) 0px 8px 28px, rgba(38, 52, 87, 0.08) 0px 0px 0px 1.5px !important;
    transform: translateY(-2px);
}

.t1-product-list .t1-pl-category-banner .container {
  width: min(1160px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
.t1-pl-pagination {
  display: block !important;
  text-align: center;
}
.t1-pl-page-nmbr{
  padding: 0 5px !important;
}
.t1-product-list .category-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.t1-product-list .category-banner-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.t1-product-list .category-banner-title.t1-pl-title {
  margin: 0 0 8px;
  font-family: var(--theme-font-serif, Georgia, serif) !important;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.t1-product-list .category-banner-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}

.t1-product-list .category-banner-sub[hidden] {
  display: none !important;
}

.t1-product-list .category-banner-visual {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--theme-hero-banner-bg, #4c5c8a);
  border: 1px solid rgba(255,255,255,.22) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 18px;
}

.t1-product-list .category-banner-visual[hidden] {
  display: none !important;
}

.t1-product-list .category-banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 !important;
  display: block;
}

/* Never paint a broken empty image icon inside the circle */
.t1-product-list .category-banner-img:not([src]),
.t1-product-list .category-banner-img[src=""],
.t1-product-list .category-banner-visual:has(img:not([src])),
.t1-product-list .category-banner-visual:has(img[src=""]) {
  display: none !important;
}

/* Optional tint per category slug (Alfies parity) */
.t1-product-list .t1-pl-category-banner[data-banner-cat="dog-clothing"] {
  background: linear-gradient(135deg, #1a3a5c, #1e4d70);
}
.t1-product-list .t1-pl-category-banner[data-banner-cat="collars-leads"] {
  background: linear-gradient(135deg, #0a3d28, #0f5236);
}
.t1-product-list .t1-pl-category-banner[data-banner-cat="feeding-bowls"] {
  background: linear-gradient(135deg, #4a3200, #6b4700);
}
.t1-product-list .t1-pl-category-banner[data-banner-cat="beds-comfort"] {
  background: linear-gradient(135deg, #4a2010, #6b3018);
}
.t1-product-list .t1-pl-category-banner[data-banner-cat="travel-essentials"] {
  background: linear-gradient(135deg, #2e1060, #3d1878);
}
.t1-product-list .t1-pl-category-banner[data-banner-cat="grooming-care"] {
  background: linear-gradient(135deg, #004840, #006655);
}

@media (max-width: 640px) {
  .t1-product-list .category-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .t1-product-list .category-banner-visual {
    width: 80px;
    height: 80px;
  }

}

/* Top filters bar */
.t1-pl-filters-top {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 16px 0;
  width: min(1160px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto 24px;
  box-sizing: border-box;
}

.t1-pl-filters-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Inputs / selects */
.t1-pl-search,
.t1-pl-category,
.t1-pl-tags,
.t1-pl-sort {
  padding: 8px 10px;
  border: 1px solid var(--theme-border, #ccc);
  border-radius: var(--theme-radius, 6px);
  background: var(--theme-surface, #fff);
  color: var(--theme-text, #333);
  font-size: 14px;
}

/* View toggle */
.t1-pl-view-toggle {
  display: flex;
  gap: 4px;
}

.t1-pl-view-btn {
  padding: 8px;
  border: 1px solid var(--theme-border, #ccc);
  background: var(--theme-surface, #fff);
  border-radius: var(--theme-radius, 6px);
  cursor: pointer;
  color: var(--theme-text, #333);
}

.t1-pl-view-btn.is-active {
  background: var(--theme-primary, #333);
  color: #fff;
  border-color: var(--theme-primary, #333);
}

/* Filter buttons */
.t1-pl-filter-btn {
  padding: 8px 12px;
  border-radius: var(--theme-radius, 6px);
  border: 1px solid var(--theme-border, #ccc);
  background: var(--theme-surface, #fff);
  color: var(--theme-text, #333);
  cursor: pointer;
  font-size: 14px;
}

/* Filter dropdown: button + panel */
.t1-pl-filter-dropdown-wrap {
  position: relative;
}

.t1-pl-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--theme-radius, 6px);
  border: 1px solid var(--theme-border, #ccc);
  background: var(--theme-surface, #fff);
  color: var(--theme-text, #333);
  cursor: pointer;
  font-size: 14px;
}

.t1-pl-filter-toggle:hover {
  background: var(--theme-bg-muted, #f5f5f5);
}

.t1-pl-filter-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 240px;
  padding: 16px;
  background: var(--theme-surface, #fff);
  border: 1px solid var(--theme-border, #e7e7e7);
  border-radius: var(--theme-radius, 8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.t1-pl-filter-dropdown[hidden] {
  display: none !important;
}

.t1-pl-filter-block {
  margin-bottom: 16px;
}

.t1-pl-filter-block label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--theme-text, #333);
}

.t1-pl-filter-block input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--theme-border, #ccc);
  border-radius: var(--theme-radius, 6px);
  font-size: 14px;
}

/* Filter dropdown: sort buttons */
.t1-pl-sort-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.t1-pl-sort-btn {
  padding: 8px 12px;
  border: 1px solid var(--theme-border, #ccc);
  border-radius: var(--theme-radius, 6px);
  background: var(--theme-surface, #fff);
  color: var(--theme-text, #333);
  font-size: 13px;
  cursor: pointer;
}

.t1-pl-sort-btn:hover {
  background: var(--theme-bg-muted, #f5f5f5);
}

.t1-pl-sort-btn.is-selected {
  background: var(--theme-primary, #333);
  color: #fff;
  border-color: var(--theme-primary, #333);
}

/* Filter toggle button (On Sale) */
.t1-pl-filter-btn-toggle {
  padding: 8px 12px;
  border: 1px solid var(--theme-border, #ccc);
  border-radius: var(--theme-radius, 6px);
  background: var(--theme-surface, #fff);
  color: var(--theme-text, #333);
  font-size: 13px;
  cursor: pointer;
}

.t1-pl-filter-btn-toggle:hover {
  background: var(--theme-bg-muted, #f5f5f5);
}

.t1-pl-filter-btn-toggle.is-selected {
  background: var(--theme-primary, #333);
  color: #fff;
  border-color: var(--theme-primary, #333);
}

/* Filter dropdown: variant options container */
.t1-pl-variant-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t1-pl-variant-group {
  display: block;
  margin-bottom: 4px;
}

.t1-pl-variant-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--theme-text, #333);
}

.t1-pl-variant-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.t1-pl-variant-btn {
  padding: 6px 10px;
  border: 1px solid var(--theme-border, #ccc);
  border-radius: var(--theme-radius, 6px);
  background: var(--theme-surface, #fff);
  color: var(--theme-text, #333);
  font-size: 12px;
  cursor: pointer;
}

.t1-pl-variant-btn:hover {
  background: var(--theme-bg-muted, #f5f5f5);
}

.t1-pl-variant-btn.is-selected {
  background: var(--theme-primary, #333);
  color: #fff;
  border-color: var(--theme-primary, #333);
}

/* Filter submit button */
.t1-pl-filter-submit {
  margin-top: 16px;
  width: 100%;
  padding: 10px 16px;
  background: var(--theme-primary, #333);
  color: #fff;
  border: none;
  border-radius: var(--theme-radius, 6px);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.t1-pl-filter-submit:hover {
  opacity: 0.9;
}

/* Grid */
.t1-product-list .t1-pl-grid,
.t1-product-list .t1-pl-pagination {
  width: min(1160px, calc(100% - 32px));
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.t1-pl-grid {
  --cols-desktop: 4;
  --cols-tablet: 2;
  --cols-mobile: 1;

  display: grid;
  gap: 24px;
  grid-template-columns: repeat(var(--cols-desktop), 1fr);
}

.t1-pl-item {
  background: var(--theme-surface, #fff);
  border: 1px solid rgba(0, 0, 0, .08) !important;
  border-radius: var(--theme-radius, 8px);
  overflow: hidden;
  padding: 0px !important;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.t1-pl-item:hover {
  box-shadow: 0 8px 28px rgba(38, 52, 87, 0.15), 0 0 0 1.5px rgba(38, 52, 87, 0.08);
  transform: translateY(-2px);
}

/* Product link: no underline, inherit color */
.t1-pl-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Match home product-grid-block media (170px box + cover — no stretch, no letterbox) */
.t1-product-list .t1-pl-img,
.t1-product-list .t1-pl-img.product-image-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 170px;
  aspect-ratio: auto;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(135deg, #f3f4f3, #e2e5e2);
}

.t1-product-list .t1-pl-img img,
.t1-product-list .t1-pl-img .product-img-primary,
.t1-product-list .t1-pl-img img[data-pl-item-img] {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: none;
  object-fit: cover !important;
  object-position: center center;
  transition: transform 0.35s ease;
  transform: scale(1);
}

.variant-meta.t1-pgb-meta {
  font-size: 11px;
  color: var(--theme-muted, #5a7a72);
  margin-top: 4px !important;
  line-height: 1.4;
  font-weight: 500;
}

.t1-product-list .t1-pl-item:hover .t1-pl-img img {
  transform: scale(1.08);
}

.t1-pl-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  min-height: 0;
  text-align: left;
  padding:12px 11px 0px;
}

/* Title: 1 line clamp */
.t1-pl-name {
display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 13px;
    line-height: 1.25;
    color: var(--theme-text, #0d1f1b);
    font-weight: 700;
    text-decoration: none;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    min-height: 36px;
}
.t1-pl-name:hover {
    color: var(--theme-primary, #1ba54e);
    text-decoration: underline;
}
/* Description: 2 line clamp */
.t1-pl-description {
  font-size: 13px;
  color: var(--theme-text-muted, #666);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price.t1-pgb-price-row{
    margin-top: auto;
    padding-top: 16px;
    font-weight: 900;
    font-size: 16px;
    color: var(--theme-text, #0f2f2c);
    line-height: 1.15;
}
.t1-pdng-both {
  width: 100%;
  max-width: 234px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 17px;
}
.price.t1-pgb-price-row small {
    font-weight: 300;
    font-size: 14px;
    font-size: 11px;
    color: var(--theme-muted, #6d7a76);
    font-weight: 700;
    text-transform: lowercase;
    margin-right: 6px;
}
.t1-pl-btn {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: var(--theme-radius, 6px);
  text-decoration: none;
  cursor: pointer;
  margin-top: 8px;
  text-align: center;
  border: none;
  width: 100%;
}

/* .t1-pl-btn { display:block } would otherwise override the UA [hidden] rule */
.t1-pl-btn[hidden],
.t1-pl-btn-add[hidden],
.t1-pl-btn-view[hidden] {
  display: none !important;
}

.t1-pl-btn-view {
  text-align: center;
  text-decoration: none;
  background: var(--theme-surface, #fff) !important;
  color: var(--theme-primary, #16a34a) !important;
  border: 1px solid var(--theme-primary, #16a34a) !important;
  border-radius: 6px !important;
  padding: 11px 14px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transition: background 0.15s ease, transform 0.1s ease !important;
  width: 100%;
  box-sizing: border-box
}

.t1-pl-btn-add {
  text-align: center;
  text-decoration: none;
  background: var(--theme-primary, #16a34a) !important;
  color: var(--theme-text-inverse, #fff);
  border: 0;
  border-radius: 6px !important;
  padding: 11px 14px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transition: background 0.15s ease, transform 0.1s ease !important;
  width: 100%;
  box-sizing: border-box
}

.t1-pl-btn-add:hover {
  background: var(--theme-accent-dark, #147a3a) !important;
  transform: translateY(-1px) !important;
}

/* List view layout */
.t1-pl-view-list.t1-pl-grid {
  grid-template-columns: 1fr;
}

.t1-pl-view-list.t1-pl-grid .t1-pl-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  text-align: left;
  /* override base .t1-pl-item { padding: 0 !important; } */
  padding: 16px !important;
}

/* Link wraps image + info, flexes to fill space */
.t1-pl-view-list.t1-pl-grid .t1-pl-link {
  flex: 1;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  min-width: 0;
  margin-top: 0;
}

/* Larger product image in list view - with border and radius */
.t1-pl-view-list.t1-pl-grid .t1-pl-img,
.t1-pl-view-list.t1-pl-grid .t1-pl-img.product-image-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px !important;
  border-radius: var(--theme-radius, 8px);
  border: 1px solid var(--theme-border, #e7e7e7);
}

.t1-pl-view-list.t1-pl-grid .t1-pl-info {
  flex: 1;
  margin-top: 0;
  min-width: 0;
  padding-bottom: 12px;
}

/* Title 1 line desktop list; mobile allows 2 lines via later media queries */
.t1-pl-view-list.t1-pl-grid .t1-pl-name {
  -webkit-line-clamp: 1;
}

@media (max-width: 900px) {
  .t1-pl-view-list.t1-pl-grid .t1-pl-name {
    -webkit-line-clamp: 2;
    height: auto !important;
    min-height: 0 !important;
  }
}

.t1-pl-view-list.t1-pl-grid .t1-pl-description {
  -webkit-line-clamp: 2;
}

/* Button on the right, vertically centered */
.t1-pl-view-list.t1-pl-grid .t1-pl-btn {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  flex-shrink: 0;
  width: auto;
  min-width: 140px;
  align-self: center;
  border-radius: var(--theme-radius, 6px);
}

/* Pagination */
.t1-pl-pagination {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

/*
 * No flash on reload: hide until ProductList has fetched and set data-pl-pagination-ready.
 * (Icons were visible before JS ran even for single-page results.)
 * JPRO SSR pages set data-pl-pagination-ready in liquid — keep them visible.
 */
[data-controller="ProductList"]:not([data-pl-pagination-ready]) .t1-pl-pagination,
.t1-product-list:not([data-pl-pagination-ready]):not(.t1-product-list--jpro) .t1-pl-pagination {
  display: none !important;
}

.t1-product-list--jpro .t1-pl-pagination {
  display: flex !important;
}

/* Single page: ProductList.ts sets hidden when only one page of data */
.t1-pl-pagination[hidden] {
  display: none !important;
}

/* Responsive grid */
@media (max-width: 992px) {
  .t1-pl-grid {
    grid-template-columns: repeat(var(--cols-tablet), 1fr);
  }
}

@media (max-width: 768px) {
  .t1-pl-grid {
    grid-template-columns: repeat(var(--cols-mobile), 1fr);
  }

  /* Legacy Alfies list stacking — disabled for JPRO below */
  .t1-pl-view-list.t1-pl-grid .t1-pl-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .t1-pl-view-list.t1-pl-grid .t1-pl-link {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .t1-pl-view-list.t1-pl-grid .t1-pl-img {
    width: 100%;
    height: auto;
    min-height: 170px;
    border-radius: 0;
    border: 0;
  }

  .t1-pl-view-list.t1-pl-grid .t1-pl-btn {
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    align-self: stretch;
  }

  .t1-pl-filter-dropdown {
    left: 0;
    right: 0;
    min-width: auto;
  }

  .t1-pdng-both {
    max-width: 294px;
  }

  /* JPRO mobile list: larger thumb + content (override tall 170px stack) */
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-item,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item--jpro {
    display: grid !important;
    grid-template-columns: 110px minmax(0, 1fr) !important;
    grid-template-areas:
      "img info"
      "img actions" !important;
    align-items: start !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
    padding: 10px !important;
    flex-direction: unset !important;
  }

  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-link,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-link {
    grid-area: img !important;
    flex-direction: unset !important;
    align-items: unset !important;
    gap: 0 !important;
    width: 110px !important;
    height: 110px !important;
    max-height: 110px !important;
  }

  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-img,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img.product-image-wrap {
    width: 110px !important;
    max-width: 110px !important;
    height: 110px !important;
    max-height: 110px !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 8px !important;
    border: 0 !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-info {
    grid-area: info !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pdng-both {
    grid-area: actions !important;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-btn,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    align-self: start !important;
  }
}

/* ── Empty state ── */
.t1-pl-empty {
  padding: clamp(64px, 10vw, 120px) 24px;
  text-align: center;
}

.t1-pl-empty[hidden] {
  display: none !important;
}

.t1-pl-empty-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--theme-text, #0d1f1b);
  margin: 0;
}

.t1-pl-empty-text {
  margin: 10px 0 0;
  color: #666;
  font-size: 15px;
}

.t1-pl-empty-reset {
  display: inline-block;
  margin-top: 18px;
  color: #03318f;
  font-weight: 600;
  text-decoration: underline;
}

.t1-product-list--jpro .t1-pl-empty-title {
  color: #1a1a1a;
}

/* ═══════════════════════════════════════════════════════════════════
   JPRO Live Shop — matches jpronumbingcream.co.uk/shop
   Layout: SHOP hero → Filter by sidebar + Sort → product cards
   Card: image → title → blue price → Shipping Policy → Add to Cart
   (no product description on the card)
   ═══════════════════════════════════════════════════════════════════ */

.t1-product-list--jpro {
  --jpro-blue: #03318f;
  --jpro-blue-bright: #1a56c4;
  --jpro-blue-soft: #5b8def;
  --jpro-ink: #1a1a1a;
  --jpro-muted: #666;
  background: #fff;
  font-family: "Open Sans", "Montserrat", sans-serif;
}

/* Sidebar + main */
.t1-product-list--jpro .t1-pl-shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  width: min(1200px, calc(100% - 48px));
  margin: 36px auto 64px;
  align-items: start;
}

.t1-product-list--jpro .t1-pl-sidebar {
  position: sticky;
  top: 120px;
  z-index: 20;
  align-self: start;
  width: 100%;
  max-height: calc(100vh - 136px);
  overflow-y: auto;
  overflow-x: clip;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #3d5bbf #e8eefc;
  background: #fff;
}

.t1-product-list--jpro .t1-pl-sidebar::-webkit-scrollbar {
  width: 4px;
}

.t1-product-list--jpro .t1-pl-sidebar::-webkit-scrollbar-track {
  background: #e8eefc;
  border-radius: 999px;
}

.t1-product-list--jpro .t1-pl-sidebar::-webkit-scrollbar-thumb {
  background: #3d5bbf;
  border-radius: 999px;
}

.t1-product-list--jpro .t1-pl-sidebar::-webkit-scrollbar-thumb:hover {
  background: #03318f;
}

.t1-product-list--jpro .t1-pl-sidebar-heading {
  margin: 0 0 18px;
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #091654;
}

.t1-product-list--jpro .t1-pl-filter-acc {
  border-top: 1px solid #e5e5e5;
  padding: 0;
}

.t1-product-list--jpro .t1-pl-filter-acc:last-of-type {
  border-bottom: 1px solid #e5e5e5;
}

.t1-product-list--jpro .t1-pl-filter-acc-summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 4px;
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #091654;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.t1-product-list--jpro .t1-pl-filter-acc-summary::-webkit-details-marker {
  display: none;
}

.t1-product-list--jpro .t1-pl-filter-acc-summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: #666;
}

.t1-product-list--jpro .t1-pl-filter-acc[open] > .t1-pl-filter-acc-summary::after {
  content: "−";
}

.t1-product-list--jpro .t1-pl-filter-acc-body {
  padding: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.t1-product-list--jpro .t1-pl-cat-link,
.t1-product-list--jpro [data-pl-category-pills] .t1-pill {
  all: unset;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: #475569;
  cursor: pointer;
  text-align: left;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  transition: color 0.18s ease, background 0.18s ease;
}

.t1-product-list--jpro .t1-pl-cat-link:hover,
.t1-product-list--jpro [data-pl-category-pills] .t1-pill:hover {
  color: #3d5bbf !important;
  background: #f0f5ff !important;
}

.t1-product-list--jpro .t1-pl-cat-link.t1-pill--active,
.t1-product-list--jpro [data-pl-category-pills] .t1-pill--active {
  color: #3d5bbf !important;
  background: #e8eefc !important;
  font-weight: 700;
}

.t1-product-list--jpro .t1-pl-price-filter {
  gap: 10px;
}

.t1-product-list--jpro .t1-pl-price-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #666;
}

.t1-product-list--jpro .t1-pl-price-label input {
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 14px;
}

.t1-product-list--jpro .t1-pl-price-label input.is-invalid {
  border-color: #dc2626;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
  color: #991b1b;
}

.t1-product-list--jpro .t1-pl-price-error {
  display: block;
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #dc2626;
}

.t1-product-list--jpro .t1-pl-price-error[hidden] {
  display: none !important;
}

.t1-product-list--jpro .t1-pl-price-hint {
  display: none !important;
}

.t1-product-list--jpro .t1-pl-price-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.t1-product-list--jpro .t1-pl-price-apply,
.t1-product-list--jpro .t1-pl-price-reset {
  flex: 1;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.t1-product-list--jpro .t1-pl-price-apply {
  background: var(--jpro-blue);
  color: #fff;
}

.t1-product-list--jpro .t1-pl-price-reset {
  background: #fff;
  color: var(--jpro-blue);
  border: 1px solid var(--jpro-blue);
}

.t1-product-list--jpro .t1-pl-price-reset:hover {
  background: var(--jpro-blue);
  color: #fff;
}

.t1-product-list--jpro .t1-pl-mobile-filters {
  margin-top: 16px;
  display: none;
}

/* Toolbar / Sort */
.t1-product-list--jpro .t1-pl-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.t1-product-list--jpro .t1-pl-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t1-product-list--jpro .t1-pl-sort-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.t1-product-list--jpro .t1-pl-sort-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  padding: 9px 36px 9px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333333' d='M1.4 0.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 7px;
  color: #222;
  min-width: 168px;
  height: 40px;
  box-sizing: border-box;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.t1-product-list--jpro .t1-pl-sort-select:hover {
  border-color: #3d5bbf;
  color: #222;
  font-size: 14px !important;
}

.t1-product-list--jpro .t1-pl-sort-select:focus,
.t1-product-list--jpro .t1-pl-sort-select:focus-visible {
  border-color: #3d5bbf !important;
  color: #222 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(61, 91, 191, 0.2) !important;
}

.t1-product-list--jpro .t1-pl-sort-select option {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  background: #fff;
}

/* Override default pl width constraints inside jpro layout */
.t1-product-list--jpro .t1-pl-grid,
.t1-product-list--jpro .t1-pl-pagination {
  width: 100%;
  max-width: none;
}

.t1-product-list--jpro .t1-pl-pagination {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 28px 0 8px;
  padding: 18px 12px 4px;
  border-top: 1px solid #e8edf5;
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
}

.t1-product-list--jpro .t1-pl-pagination-meta {
  margin: 0;
  min-width: 4.5rem;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #64748b;
  line-height: 1;
}

.t1-product-list--jpro .t1-pl-pagination-meta strong {
  color: #0f1f3d;
  font-weight: 700;
}

.t1-product-list--jpro .t1-pl-pagination-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.t1-product-list--jpro .t1-pl-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #d7deea;
  border-radius: 5px;
  background: #fff;
  color: #1a2b4a;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.t1-product-list--jpro a.t1-pl-page-btn:hover {
  border-color: var(--jpro-blue, #1a56c4);
  color: var(--jpro-blue, #1a56c4);
  background: #f5f8ff;
  box-shadow: 0 1px 4px rgba(26, 86, 196, 0.1);
}

.t1-product-list--jpro a.t1-pl-page-btn:active {
  transform: translateY(1px);
}

.t1-product-list--jpro .t1-pl-page-btn--nav {
  padding: 0 11px;
  text-transform: none;
}

.t1-product-list--jpro .t1-pl-page-btn:disabled,
.t1-product-list--jpro button.t1-pl-page-btn:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: #eef2f7;
  color: #7b8ba5;
  border-color: #c9d3e3;
  box-shadow: none;
}

@media (max-width: 640px) {
  .t1-product-list--jpro .t1-pl-pagination {
    margin-top: 22px;
    padding-top: 14px;
  }

  .t1-product-list--jpro .t1-pl-page-btn {
    height: 28px;
    font-size: 11px;
    padding: 0 9px;
  }
}

.t1-product-list--jpro .t1-pl-grid {
  --cols-desktop: 3;
  --cols-tablet: 2;
  --cols-mobile: 1;
  display: grid !important;
  grid-template-columns: repeat(var(--cols-desktop), minmax(0, 1fr));
  gap: 28px 24px;
  align-items: stretch;
}

/* Product card — grid view only (column stack) */
.t1-product-list--jpro .t1-pl-view-grid .t1-pl-item.product-card,
.t1-product-list--jpro .t1-pl-view-grid .t1-pl-item--jpro {
  background: #fff;
  border: 1px solid #eaedf2 !important;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(3, 49, 143, 0.05);
  overflow: hidden;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  min-width: 0;
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    border-color 0.26s ease;
}

.t1-product-list--jpro .t1-pl-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(3, 49, 143, 0.16);
  border-color: rgba(3, 49, 143, 0.20) !important;
}

.t1-product-list--jpro .t1-pl-link {
  display: block;
  height: auto;
}

.t1-product-list--jpro .t1-pl-img,
.t1-product-list--jpro .t1-pl-img.product-image-wrap {
  position: relative;
  height: auto;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.t1-product-list--jpro .t1-pl-img img {
  object-fit: cover !important;
  object-position: center center;
}

/* Quick View — same as product-grid-block bottom blue bar */
.t1-product-list--jpro .t1-pl-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(3, 49, 143, 0.11);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0.26s ease;
  pointer-events: none;
}

.t1-product-list--jpro .t1-pl-img::after {
  content: "QUICK VIEW";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 3;
  width: 100%;
  height: 40px;
  transform: translateY(100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  box-sizing: border-box;
  background: #3d5bbf !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: Arial, Helvetica, "Open Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 40px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  word-spacing: 0.05em;
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.26s ease,
    visibility 0.26s ease,
    transform 0.26s ease;
}

.t1-product-list--jpro .t1-pl-item:hover .t1-pl-img::before,
.t1-product-list--jpro .t1-pl-item:focus-within .t1-pl-img::before {
  opacity: 1;
  visibility: visible;
}

.t1-product-list--jpro .t1-pl-item:hover .t1-pl-img::after,
.t1-product-list--jpro .t1-pl-item:focus-within .t1-pl-img::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Touch / narrow: hide Quick View bar (no reliable hover) */
@media (hover: none), (max-width: 900px) {
  .t1-product-list--jpro .t1-pl-img::before,
  .t1-product-list--jpro .t1-pl-img::after {
    display: none !important;
  }
}

.t1-product-list--jpro .t1-pl-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: var(--jpro-blue);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 5px 12px;
  border-radius: 999px;
  line-height: 1;
}

.t1-product-list--jpro .t1-pl-badge[hidden] {
  display: none !important;
}

.t1-product-list--jpro .t1-pl-info {
  padding: 14px 12px 0;
  gap: 8px;
  text-align: left;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.t1-product-list--jpro .t1-pl-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  height: 40px;
  margin: 0;
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--jpro-ink);
  text-decoration: none;
}

.t1-product-list--jpro .t1-pl-name:hover {
  color: var(--jpro-blue);
  text-decoration: none;
}

/* Hide any accidental description nodes */
.t1-product-list--jpro .t1-pl-description,
.t1-product-list--jpro [data-pl-item-description],
.t1-product-list--jpro .product-desc {
  display: none !important;
}

.t1-product-list--jpro .t1-pl-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.t1-product-list--jpro .t1-pl-price {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--jpro-blue-bright);
  line-height: 1.2;
}

.t1-product-list--jpro .t1-pl-price--sale {
  color: var(--jpro-blue-bright);
}

.t1-product-list--jpro .t1-pl-price-original {
  font-size: 14px;
  font-weight: 400;
  color: #8a9bb8;
  text-decoration: line-through;
}

.t1-product-list--jpro .t1-pl-price-original[hidden] {
  display: none !important;
}

.t1-product-list--jpro .t1-pl-shipping {
  font-size: 13px;
  color: var(--jpro-blue-soft);
  text-decoration: underline;
  width: fit-content;
}

.t1-product-list--jpro .t1-pl-shipping:hover {
  color: var(--jpro-blue);
}

.t1-product-list--jpro .t1-pdng-both {
  max-width: none;
  width: 100%;
  margin: auto 0 0;
  padding: 12px 12px 14px;
  text-align: left;
  box-sizing: border-box;
}

.t1-product-list--jpro .t1-pl-btn-add,
.t1-product-list--jpro .t1-pl-btn-view {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 42px;
  background: #3d5bbf !important;
  background-color: #3d5bbf !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
  border-radius: 20px !important;
  padding: 11px 14px !important;
  font-family: "Montserrat", "Open Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
  text-transform: none;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  box-sizing: border-box !important;
  box-shadow: none;
  transition: background 0.2s ease;
}

.t1-product-list--jpro .t1-pl-btn-add:hover,
.t1-product-list--jpro .t1-pl-btn-view:hover {
  background: #3d5bbf !important;
  background-color: #3d5bbf !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: underline !important;
  transform: none !important;
}

/* List view: horizontal row + equal button widths (desktop only) */
@media (min-width: 901px) {
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item.product-card,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item--jpro {
    display: grid !important;
    grid-template-columns: 160px minmax(0, 1fr) 168px !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 16px !important;
    height: auto !important;
    flex-direction: unset !important;
    background: #fff;
    border: 1px solid #eaedf2 !important;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(3, 49, 143, 0.06);
    overflow: hidden;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-link,
  .t1-product-list--jpro .t1-pl-view-list .product-card-link {
    display: block !important;
    width: 160px !important;
    max-width: 160px !important;
    margin: 0 !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img,
  .t1-product-list--jpro .t1-pl-view-list .product-image-wrap {
    width: 160px !important;
    height: 160px !important;
    max-width: 160px !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    border-radius: 8px;
    overflow: hidden;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-info,
  .t1-product-list--jpro .t1-pl-view-list .product-details {
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
    text-align: left !important;
    flex: unset !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-name {
    height: auto !important;
    min-height: 0 !important;
    text-align: left !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pdng-both {
    width: 168px !important;
    min-width: 168px !important;
    max-width: 168px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn-add,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn-view {
    width: 168px !important;
    min-width: 168px !important;
    max-width: 168px !important;
    min-height: 44px !important;
    padding: 11px 10px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}

.t1-product-list--jpro .price.t1-pgb-price-row,
.t1-product-list--jpro .price.t1-pgb-price-row small {
  display: none !important;
}

@media (max-width: 900px) {
  .t1-product-list--jpro {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .t1-product-list--jpro .t1-pl-shop-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 48px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .t1-product-list--jpro .t1-pl-sidebar {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
    padding-right: 0 !important;
    background: transparent;
  }

  .t1-product-list--jpro .t1-pl-sidebar-heading {
    font-size: 18px;
  }

  .t1-product-list--jpro .t1-pl-main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .t1-product-list--jpro .t1-pl-toolbar {
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 10px;
    width: 100%;
  }

  .t1-product-list--jpro .t1-pl-sort-wrap {
    flex: 1 1 auto;
    min-width: 0;
  }

  .t1-product-list--jpro .t1-pl-sort-select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .t1-product-list--jpro .t1-pl-mobile-filters {
    display: block;
  }

  .t1-product-list--jpro .t1-pl-grid {
    --cols-desktop: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 16px !important;
  }

  /*
   * Mobile LIST view — larger thumb row:
   * [ 110px img ] | title / price / shipping
   *               | [ View details ]
   * Kill base height:170px + flex stretch that made tall images + button bleed.
   */
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item.product-card,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item--jpro,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-item {
    display: grid !important;
    grid-template-columns: 110px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "img info"
      "img actions" !important;
    align-items: start !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
    padding: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    flex-direction: unset !important;
    overflow: hidden !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-link,
  .t1-product-list--jpro .t1-pl-view-list .product-card-link,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-link {
    grid-area: img !important;
    display: block !important;
    flex: none !important;
    flex-direction: unset !important;
    width: 110px !important;
    max-width: 110px !important;
    height: 110px !important;
    max-height: 110px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img.product-image-wrap,
  .t1-product-list--jpro .t1-pl-view-list .product-image-wrap,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-img,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-img.product-image-wrap {
    position: relative !important;
    display: block !important;
    width: 110px !important;
    max-width: 110px !important;
    height: 110px !important;
    max-height: 110px !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: #f3f4f3 !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img img,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img .product-img-primary,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img img[data-pl-item-img] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 110px !important;
    object-fit: cover !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-info,
  .t1-product-list--jpro .t1-pl-view-list .product-details,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-info {
    grid-area: info !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    align-self: start !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-price {
    font-size: 16px !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pdng-both,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pdng-both {
    grid-area: actions !important;
    grid-column: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start !important;
    align-self: start !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn-add,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn-view,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 28px !important;
    padding: 6px 18px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    flex-shrink: 1 !important;
    align-self: start !important;
    font-size: 11px !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 560px) {
  .t1-product-list--jpro .t1-pl-shop-layout {
    padding: 0 12px !important;
    margin: 16px 0 40px !important;
  }

  .t1-product-list--jpro .t1-pl-grid,
  .t1-product-list--jpro .t1-pl-view-grid {
    --cols-desktop: 1;
    --cols-tablet: 1;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item.product-card,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-item--jpro,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-item {
    grid-template-columns: 120px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
    padding: 10px !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-link,
  .t1-product-list--jpro .t1-pl-view-list .product-card-link,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-link {
    width: 120px !important;
    max-width: 120px !important;
    height: 120px !important;
    max-height: 120px !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img.product-image-wrap,
  .t1-product-list--jpro .t1-pl-view-list .product-image-wrap,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-img,
  .t1-product-list--jpro .t1-pl-view-list.t1-pl-grid .t1-pl-img.product-image-wrap {
    width: 120px !important;
    max-width: 120px !important;
    height: 120px !important;
    max-height: 120px !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img img,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img .product-img-primary,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-img img[data-pl-item-img] {
    max-height: 120px !important;
  }

  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn-add,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn-view,
  .t1-product-list--jpro .t1-pl-view-list .t1-pl-btn {
    min-height: 32px !important;
    padding: 7px 14px !important;
    font-size: 12px !important;
  }
}