.t1-product-list {
  padding: 0 0 40px;
  background: var(--theme-bg, #fff);
}

/* ── Category banner (theme tokens) ─────────────────────────────── */
.t1-product-list .t1-pl-category-banner.category-page-banner,
.t1-product-list .t1-pl-shop-hero {
  --pl-banner-from: var(--theme-header-nav-bg, var(--color-headerNavBg, #152238));
  --pl-banner-mid: var(--theme-header-bg, var(--color-headerBg, #1a2b4b));
  --pl-banner-to: color-mix(in srgb, var(--theme-primary, var(--color-primary, #00b72f)) 22%, var(--theme-header-bg, #1a2b4b));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(
      125deg,
      var(--pl-banner-from) 0%,
      var(--pl-banner-mid) 48%,
      var(--pl-banner-to) 100%
    ) !important;
  color: var(--theme-hero-title-color, var(--color-heroTitleColor, #fff));
  padding: clamp(28px, 5vw, 48px) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-primary, #00b72f) 28%, transparent);
  margin-bottom: 0;
  min-height: 168px;
  display: flex;
  align-items: center;
}

.t1-product-list .t1-pl-category-banner.category-page-banner::before,
.t1-product-list .t1-pl-shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 92% 50%, color-mix(in srgb, var(--theme-primary, #00b72f) 28%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 60% at 8% 20%, rgba(255, 255, 255, 0.06), transparent 65%);
}

.t1-product-list .t1-pl-category-banner .container,
.t1-product-list .t1-pl-shop-hero .container {
  position: relative;
  z-index: 1;
}
.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: var(--theme-hero-title-color, var(--color-heroTitleColor, #fff));
}

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

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

.t1-product-list .category-banner-visual {
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--theme-primary, #00b72f) 55%, #fff) 0%,
      var(--theme-primary, var(--color-primary, #00b72f)) 55%,
      var(--theme-accent-dark, var(--color-accentDark, #008f25)) 100%
    );
  border: 2px solid color-mix(in srgb, #fff 55%, var(--theme-primary, #00b72f)) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    0 0 0 6px color-mix(in srgb, var(--theme-primary, #00b72f) 22%, transparent);
  padding: 14px;
}

.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;
}

.t1-product-list .category-banner-img[src*="placeholder.svg"] {
  object-fit: contain;
  filter: brightness(1.05);
}

/* Hide only truly broken empty src — never hide a real/placeholder image */
.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;
}


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

  .t1-product-list .category-banner-visual {
    width: 84px;
    height: 84px;
    padding: 12px;
  }

}

/* 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: 3;
  --cols-tablet: 2;
  --cols-mobile: 1;

  display: grid;
  gap: 24px;
  grid-template-columns: repeat(var(--cols-desktop), minmax(0, 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: image only — never stretch over title/button */
.t1-pl-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: auto;
  flex: 0 0 auto;
}

/* 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: 6px;
  margin-top: 0;
  min-height: 0;
  text-align: left;
  padding: 12px 14px 0;
  position: relative;
  z-index: 1;
}

/* Title: 2 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: 32px;
  position: relative;
  z-index: 1;
}
.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: none;
  margin: 0;
  text-align: center;
  padding: 10px 14px 14px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  margin-top: auto;
}
.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, description 2 lines - same as grid view */
.t1-pl-view-list.t1-pl-grid .t1-pl-name {
  -webkit-line-clamp: 1;
}

.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.)
 */
[data-controller="ProductList"]:not([data-pl-pagination-ready]) .t1-pl-pagination,
.t1-product-list:not([data-pl-pagination-ready]) .t1-pl-pagination {
  display: none !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);
  }

  /* Mobile list view: use the same "card" layout as grid (prevents squished row layout) */
  .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;
  }

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

  .t1-pdng-both {
    max-width: none;
    padding: 10px 14px 14px;
  }
}

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

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

/* ============================================================
   Petshop shop layout — sidebar filters + toolbar + cards
   ============================================================ */

.t1-product-list--petshop {
  --pl-sticky-top: 152px;
  background: var(--theme-bg, #ffffff);
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.t1-product-list--petshop .t1-pl-shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  width: min(1240px, calc(100% - 40px));
  margin: 28px auto 64px;
  align-items: start;
  position: relative;
  z-index: 0;
}

/* Grid lives inside shop layout — don't double-constrain width */
.t1-product-list--petshop .t1-pl-grid,
.t1-product-list--petshop .t1-pl-pagination {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.t1-product-list--petshop .t1-pl-grid.t1-pl-view-grid {
  --cols-desktop: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ── Sticky filter: clear sticky header, stay under it in paint order ── */
.t1-product-list--petshop .t1-pl-sidebar {
  position: sticky;
  top: var(--pl-sticky-top);
  z-index: 1;
  align-self: start;
  width: 100%;
  max-height: calc(100vh - var(--pl-sticky-top) - 20px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 18px 14px 18px 16px;
  background: var(--theme-surface, #fff);
  border: 1px solid var(--theme-border, #e2e6e3);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(26, 43, 75, 0.06);
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 43, 75, 0.28) transparent;
}

.t1-product-list--petshop .t1-pl-sidebar::-webkit-scrollbar {
  width: 6px;
}

.t1-product-list--petshop .t1-pl-sidebar::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}

.t1-product-list--petshop .t1-pl-sidebar::-webkit-scrollbar-thumb {
  background: rgba(26, 43, 75, 0.22);
  border-radius: 999px;
}

.t1-product-list--petshop .t1-pl-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(26, 43, 75, 0.38);
}

.t1-product-list--petshop .t1-pl-sidebar-heading {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--theme-hero-heading, #1a2b4b);
  font-family: var(--theme-font-serif, Georgia, serif);
}

.t1-product-list--petshop .t1-pl-filter-acc {
  border-top: 1px solid var(--theme-border, #e5e5e5);
  padding: 0;
}

.t1-product-list--petshop .t1-pl-filter-acc:last-of-type {
  border-bottom: 1px solid var(--theme-border, #e5e5e5);
}

.t1-product-list--petshop .t1-pl-filter-acc-summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--theme-hero-heading, #1a2b4b);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

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

.t1-product-list--petshop .t1-pl-filter-acc-summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: var(--theme-muted, #5f6f69);
  line-height: 1;
}

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

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

.t1-product-list--petshop [data-pl-category-pills] {
  max-height: min(280px, 40vh);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding-right: 4px;
  margin-right: -2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 43, 75, 0.25) transparent;
}

.t1-product-list--petshop [data-pl-category-pills]::-webkit-scrollbar {
  width: 5px;
}

.t1-product-list--petshop [data-pl-category-pills]::-webkit-scrollbar-thumb {
  background: rgba(26, 43, 75, 0.22);
  border-radius: 999px;
}

.t1-product-list--petshop [data-pl-category-pills] .t1-pill {
  all: unset;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  color: var(--theme-muted, #475569);
  cursor: pointer;
  text-align: left;
  background: transparent;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}

.t1-product-list--petshop [data-pl-category-pills] .t1-pill:hover {
  color: var(--theme-primary, #00b72f);
  background: rgba(0, 183, 47, 0.08);
}

.t1-product-list--petshop [data-pl-category-pills] .t1-pill--active {
  color: var(--theme-primary, #00b72f);
  background: rgba(0, 183, 47, 0.12);
  font-weight: 700;
}

.t1-product-list--petshop .t1-pl-price-filter {
  display: grid;
  gap: 10px;
}

.t1-product-list--petshop .t1-pl-price-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-muted, #5f6f69);
}

.t1-product-list--petshop .t1-pl-price-label input {
  padding: 9px 11px;
  border: 1px solid var(--theme-border, #d9d9d4);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: var(--theme-text, #0f2f2c);
}

.t1-product-list--petshop .t1-pl-price-label input:focus {
  outline: none;
  border-color: var(--theme-primary, #00b72f);
  box-shadow: 0 0 0 3px rgba(0, 183, 47, 0.15);
}

.t1-product-list--petshop .t1-pl-price-error {
  display: block;
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--theme-danger, #b91c1c);
}

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

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

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

.t1-product-list--petshop .t1-pl-price-apply {
  background: var(--theme-primary, #00b72f);
  color: #fff;
}

.t1-product-list--petshop .t1-pl-price-apply:hover {
  background: var(--theme-accent-dark, #008f25);
}

.t1-product-list--petshop .t1-pl-price-reset {
  background: #fff;
  color: var(--theme-muted, #5f6f69);
  border: 1px solid var(--theme-border, #d9d9d4);
}

.t1-product-list--petshop .t1-pl-price-reset:hover {
  background: var(--theme-bg-muted, #f2f2ef);
  color: var(--theme-text, #0f2f2c);
}

.t1-product-list--petshop .t1-pl-main {
  min-width: 0;
  position: relative;
  z-index: 0;
}

.t1-product-list--petshop .t1-pl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: transparent;
  border: none;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(26, 43, 75, 0.04);
}

.t1-product-list--petshop .t1-pl-toolbar-spacer {
  flex: 1 1 auto;
}

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

.t1-product-list--petshop .t1-pl-sort-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-muted, #5f6f69);
  white-space: nowrap;
}

.t1-product-list--petshop .t1-pl-sort-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--theme-border, #d9d9d4);
  border-radius: 999px;
  padding: 8px 36px 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-text, #0f2f2c);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%235f6f69' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.t1-product-list--petshop .t1-pl-sort-select:focus {
  outline: none;
  border-color: var(--theme-primary, #00b72f);
  box-shadow: 0 0 0 3px rgba(0, 183, 47, 0.15);
}

.t1-product-list--petshop .t1-pl-view-toggle {
  display: inline-flex;
  gap: 4px;
}

.t1-product-list--petshop .t1-pl-view-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--theme-border, #d9d9d4);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  color: var(--theme-muted, #5f6f69);
}

.t1-product-list--petshop .t1-pl-view-btn.is-active {
  background: var(--theme-primary, #00b72f);
  border-color: var(--theme-primary, #00b72f);
  color: #fff;
}

/* ── Product cards (grid) ── */
.t1-product-list--petshop .t1-pl-item {
  min-height: 0;
  height: 100%;
  background: var(--theme-surface, #fff);
  border: 1px solid rgba(26, 43, 75, 0.08) !important;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
  transition:
    box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.35s ease;
}

.t1-product-list--petshop .t1-pl-item:hover {
  z-index: 0;
  box-shadow: 0 14px 32px rgba(38, 52, 87, 0.12), 0 0 0 1px rgba(38, 52, 87, 0.06);
  transform: translateY(-4px);
  border-color: rgba(38, 52, 87, 0.12) !important;
}

.t1-product-list--petshop .t1-pl-link,
.t1-product-list .t1-pl-link {
  display: block !important;
  height: auto !important;
  flex: 0 0 auto !important;
  flex-direction: unset !important;
}

.t1-product-list--petshop .t1-pl-img,
.t1-product-list--petshop .t1-pl-img.product-image-wrap {
  height: 200px;
  background: linear-gradient(145deg, #f4f5f4, #e6e9e6);
}

.t1-product-list--petshop .t1-pl-item:hover .t1-pl-img img {
  transform: scale(1.05);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.t1-product-list--petshop .t1-pl-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 4px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.t1-product-list--petshop .t1-pl-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  min-height: 2.6em;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--theme-text, #0d1f1b);
  text-decoration: none;
}

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

.t1-product-list--petshop .t1-pl-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--theme-text, #0f2f2c);
  line-height: 1.2;
}

.t1-product-list--petshop .t1-pl-price--sale {
  color: var(--theme-primary, #00b72f);
}

.t1-product-list--petshop .t1-pl-price-original {
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-muted, #6d7a76);
  text-decoration: line-through;
}

.t1-product-list--petshop .t1-pl-shipping {
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-muted, #5f6f69);
  text-decoration: none;
  margin-top: 2px;
}

.t1-product-list--petshop .t1-pl-shipping:hover {
  color: var(--theme-primary, #00b72f);
  text-decoration: underline;
}

.t1-product-list--petshop .t1-pdng-both {
  width: 100%;
  max-width: none;
  margin: 0;
  margin-top: auto;
  padding: 12px 16px 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.t1-product-list--petshop .t1-pl-btn {
  margin-top: 0;
  border-radius: 8px !important;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

.t1-product-list--petshop .t1-pl-btn-add:hover {
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.28);
}

.t1-product-list--petshop .t1-pl-btn-view:hover {
  background: var(--theme-primary, #16a34a) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

.t1-product-list--petshop .t1-pl-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  background: var(--theme-overlay-dark, #003c3a);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.t1-product-list--petshop .t1-pl-badge--sale {
  background: var(--theme-primary, #00b72f);
}

/* List view polish */
.t1-product-list--petshop .t1-pl-view-list.t1-pl-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(140px, 180px);
  align-items: center;
  gap: 16px 20px;
  padding: 14px !important;
  transform: none;
}

.t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-item:hover {
  transform: none;
  box-shadow: 0 8px 24px rgba(38, 52, 87, 0.1);
}

.t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-link {
  grid-column: 1;
}

.t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-img,
.t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-img.product-image-wrap {
  width: 140px;
  height: 140px !important;
  border-radius: 10px;
  border: 1px solid var(--theme-border, #e7e7e7);
}

.t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-info {
  grid-column: 2;
  padding: 0;
}

.t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pdng-both {
  grid-column: 3;
  padding: 0;
  margin: 0;
}

.t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-btn {
  width: 100%;
  min-width: 0;
}

.t1-product-list--petshop .t1-pl-empty-text {
  margin: 8px 0 16px;
  color: var(--theme-muted, #5f6f69);
}

.t1-product-list--petshop .t1-pl-empty-reset {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--theme-primary, #00b72f);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.t1-product-list--petshop .t1-pl-pagination {
  margin-top: 28px;
}

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

.t1-product-list--petshop .t1-pl-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--theme-border, #d9d9d4);
  background: #fff;
  color: var(--theme-text, #0f2f2c);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.t1-product-list--petshop .t1-pl-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.t1-product-list--petshop .t1-pl-pagination-meta {
  margin: 0;
  font-size: 13px;
  color: var(--theme-muted, #5f6f69);
}

@media (max-width: 1100px) {
  .t1-product-list--petshop .t1-pl-grid.t1-pl-view-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .t1-product-list--petshop {
    --pl-sticky-top: 0px;
  }

  .t1-product-list--petshop .t1-pl-shop-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(1240px, calc(100% - 28px));
    margin-top: 20px;
  }

  .t1-product-list--petshop .t1-pl-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .t1-product-list--petshop [data-pl-category-pills] {
    max-height: none;
  }

  .t1-product-list--petshop .t1-pl-toolbar {
    justify-content: flex-start;
  }

  .t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-item {
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

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

  .t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pdng-both {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .t1-product-list--petshop .t1-pl-shop-layout {
    width: calc(100% - 24px);
    gap: 16px;
  }

  .t1-product-list--petshop .t1-pl-grid.t1-pl-view-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .t1-product-list--petshop .t1-pl-toolbar {
    gap: 10px;
  }

  .t1-product-list--petshop .t1-pl-sort-label {
    display: none;
  }

  .t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 !important;
  }

  .t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-img,
  .t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-img.product-image-wrap {
    width: 100%;
    height: 200px !important;
    border-radius: 0;
    border: 0;
  }

  .t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pl-info {
    padding: 14px 16px 4px;
  }

  .t1-product-list--petshop .t1-pl-view-list.t1-pl-grid .t1-pdng-both {
    padding: 12px 16px 16px;
  }
}