.page-products {
  --cat-red: #E53935;
  --cat-red-deep: #B71C1C;
  --cat-leaf: #7CB342;
  --cat-mo: #33691E;
  --cat-cream: #FFF8E7;
  --cat-yellow: #FFD54F;
  --cat-orange: #FF8A65;
  --cat-pink: #FCE4EC;
  --cat-mango: #FDD835;
  --cat-dark: #333333;
  --cat-mid: #666666;
  font-family: var(--font-body);
  color: var(--cat-dark);
  overflow-x: hidden;
}

.page-products .breadcrumb {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 20px 16px 0;
  font-size: 13px;
}

.page-products .crumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .crumb-link {
  color: var(--cat-red);
  text-decoration: none;
  font-weight: 600;
}

.page-products .crumb-link:hover {
  text-decoration: underline;
}

.page-products .crumb-current {
  color: var(--cat-mid);
}

.page-products .crumb-sep {
  color: var(--cat-mid);
}

.page-products .catalog-hero {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 28px 16px 36px;
  display: grid;
  gap: 14px;
}

.page-products .page-kicker {
  width: fit-content;
  font-family: var(--font-headline);
  font-size: 13px;
  letter-spacing: 2px;
  background: var(--cat-yellow);
  border: 2px solid var(--cat-mo);
  box-shadow: 2px 2px 0 var(--cat-mo);
  padding: 4px 10px;
  color: var(--cat-dark);
  text-transform: uppercase;
  margin: 0;
}

.page-products .page-title {
  font-family: var(--font-headline);
  font-size: clamp(30px, 7vw, 56px);
  line-height: 1.06;
  color: var(--cat-red);
  letter-spacing: 1px;
  margin: 0;
  text-wrap: balance;
}

.page-products .page-desc {
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--cat-mid);
  margin: 0;
  padding-left: 10px;
  border-left: 4px solid var(--cat-leaf);
}

.page-products .cat-browse {
  background: linear-gradient(180deg, var(--cat-pink) 0%, #fff4ea 100%);
  border-block: 4px solid var(--cat-mo);
}

.page-products .cat-browse-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 36px 16px 40px;
}

.page-products .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-size: 24px;
  margin: 0 0 22px;
}

.page-products .section-title::before {
  content: "";
  width: 10px;
  height: 26px;
  background: var(--cat-red);
  border-radius: 3px;
  box-shadow: 2px 2px 0 var(--cat-mo);
}

.page-products .section-index {
  background: var(--cat-yellow);
  border: 2px solid var(--cat-mo);
  box-shadow: 2px 2px 0 var(--cat-mo);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--cat-dark);
}

.page-products .cat-tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.page-products .cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 190px;
  padding: 18px;
  border: 3px solid var(--cat-mo);
  box-shadow: 4px 4px 0 var(--cat-mo);
  text-decoration: none;
  color: var(--cat-dark);
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.page-products .cat-tile:hover,
.page-products .cat-tile:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--cat-mo);
  outline: none;
}

.page-products .cat-tile .tile-main,
.page-products .cat-tile .tile-count,
.page-products .cat-tile .tile-note {
  position: relative;
  z-index: 2;
}

.page-products .cat-tile .tile-main {
  font-family: var(--font-headline);
  font-size: 40px;
  line-height: 1;
}

.page-products .cat-tile .tile-count {
  display: inline-block;
  margin-top: 8px;
  background: var(--cat-red);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 2px solid var(--cat-mo);
}

.page-products .cat-tile .tile-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--cat-mid);
}

.page-products .cat-tile .tile-img {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 48%;
  max-width: 180px;
  height: auto;
  object-fit: cover;
  rotate: -8deg;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.page-products .tile-look {
  background: var(--cat-pink);
}

.page-products .tile-touch {
  background: #ffe2cf;
}

.page-products .tile-smell {
  background: var(--cat-cream);
}

.page-products .tile-taste {
  background: #dceda0;
}

.page-products .table-section {
  background: var(--cat-cream);
  border-block: 4px solid var(--cat-mo);
}

.page-products .table-section-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 38px 16px 46px;
}

.page-products .table-banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  border: 3px solid var(--cat-mo);
  box-shadow: 4px 4px 0 var(--cat-mo);
  margin-bottom: 16px;
  background: var(--cat-pink);
}

.page-products .catalog-scroll {
  max-height: 430px;
  overflow-y: auto;
  overflow-x: auto;
  border: 3px solid var(--cat-mo);
  box-shadow: 4px 4px 0 var(--cat-mo);
  background: #fff;
}

.page-products .catalog-index-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  min-width: 640px;
}

.page-products .catalog-index-table caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  color: var(--cat-mid);
  padding: 8px 10px;
  background: #fff;
  border-bottom: 2px dashed var(--cat-leaf);
}

.page-products .catalog-index-table th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--cat-mo);
  color: #fff;
  text-align: left;
  padding: 10px 12px;
  font-family: var(--font-headline);
  font-size: 13px;
  letter-spacing: 1px;
  border-right: 1px solid #4d7a2f;
}

.page-products .catalog-index-table th:last-child {
  border-right: 0;
}

.page-products .catalog-index-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #f0e4d2;
  vertical-align: top;
}

.page-products .catalog-index-table tbody tr:nth-child(even) {
  background: var(--cat-pink);
}

.page-products .catalog-index-table tbody tr:nth-child(odd) {
  background: #fff;
}

.page-products .catalog-index-table tbody tr:hover {
  background: #fff7d6;
}

.page-products .col-no {
  font-family: var(--font-headline);
  font-size: 12px;
  color: var(--cat-mid);
  white-space: nowrap;
}

.page-products .col-title {
  font-weight: 600;
  color: var(--cat-dark);
  min-width: 200px;
}

.page-products .row-summary {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--cat-mid);
  margin-top: 2px;
  line-height: 1.5;
}

.page-products .col-cat {
  font-weight: 700;
  white-space: nowrap;
}

.page-products .cat-look {
  color: var(--cat-red);
}

.page-products .cat-touch {
  color: var(--cat-orange);
}

.page-products .cat-smell {
  color: var(--cat-leaf);
}

.page-products .cat-taste {
  color: #b36500;
}

.page-products .col-batch {
  color: var(--cat-mid);
  white-space: nowrap;
}

.page-products .status-badge {
  white-space: nowrap;
}

.page-products .batch-section {
  background: linear-gradient(135deg, var(--cat-mo) 0%, var(--cat-leaf) 100%);
  border-block: 4px solid #1d3b0e;
}

.page-products .batch-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 38px 16px 46px;
}

.page-products .batch-section .section-title {
  color: #fff;
}

.page-products .batch-section .section-title::before {
  background: var(--cat-yellow);
}

.page-products .batch-banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: cover;
  border: 3px solid var(--cat-mo);
  box-shadow: 4px 4px 0 #1d3b0e;
  margin-bottom: 16px;
  border-radius: 6px;
}

.page-products .batch-guide {
  color: #f1f8e9;
  font-size: 14px;
  margin: 0 0 14px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--cat-yellow);
}

.page-products .batch-index-scroll {
  overflow-x: auto;
  background: var(--cat-cream);
  border: 3px solid var(--cat-mo);
  box-shadow: 4px 4px 0 #1d3b0e;
  padding: 12px;
  border-radius: 6px;
}

.page-products .batch-index-bar {
  display: flex;
  gap: 8px;
  min-width: 860px;
}

.page-products .batch-index-bar .index-bar-item {
  flex: 1 0 0;
  min-width: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--cat-dark);
  background: var(--cat-pink);
  border: 2px solid var(--cat-mo);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--cat-mo);
  padding: 8px 4px;
  transition: transform 0.14s ease;
}

.page-products .batch-index-bar .index-bar-item:nth-child(3n+1) {
  background: #fff0d6;
}

.page-products .batch-index-bar .index-bar-item:nth-child(3n+2) {
  background: var(--cat-pink);
}

.page-products .batch-index-bar .index-bar-item:nth-child(3n+3) {
  background: #e2f1c8;
}

.page-products .batch-index-bar .index-bar-item:hover {
  transform: translateY(-2px);
}

.page-products .batch-index-bar .index-bar-item strong {
  font-family: var(--font-headline);
  font-size: 14px;
}

.page-products .batch-index-bar .index-bar-item span {
  font-size: 11px;
  color: var(--cat-mid);
}

.page-products .tag-section {
  background: linear-gradient(180deg, var(--cat-yellow) 0%, var(--cat-orange) 100%);
  border-block: 4px solid var(--cat-mo);
}

.page-products .tag-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 38px 16px 46px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-products .tag-guide {
  margin: 14px 0 16px;
  font-size: 14px;
  color: var(--cat-dark);
  background: rgba(255, 255, 255, 0.55);
  padding: 6px 12px;
  border-left: 4px solid var(--cat-red);
}

.page-products .catalog-search-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  background: #fff;
  border: 3px solid var(--cat-mo);
  box-shadow: 4px 4px 0 var(--cat-mo);
  padding: 12px 14px;
  text-decoration: none;
  color: var(--cat-dark);
  font-family: var(--font-headline);
  font-size: 14px;
  border-radius: 999px;
  box-sizing: border-box;
}

.page-products .search-entry-icon {
  width: 22px;
  height: 22px;
  color: var(--cat-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-products .search-entry-badge {
  margin-left: auto;
  background: var(--cat-red);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 2px solid var(--cat-mo);
  white-space: nowrap;
}

.page-products .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 3px solid var(--cat-mo);
  box-shadow: 4px 4px 0 var(--cat-mo);
  border-radius: 8px;
}

.page-products .tag {
  border: 2px solid var(--cat-mo);
  background: var(--cat-pink);
  color: var(--cat-dark);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--cat-mo);
  transition: transform 0.14s ease;
}

.page-products .tag:hover {
  transform: translateY(-2px);
}

.page-products .tag.is-hot {
  font-size: 18px;
  background: var(--cat-red);
  color: #fff;
}

.page-products .tag.is-yellow {
  background: var(--cat-yellow);
}

.page-products .tag.is-orange {
  background: var(--cat-orange);
  color: #fff;
}

.page-products .tag.is-green {
  background: var(--cat-leaf);
  color: #fff;
}

.page-products .tag.is-pink {
  background: var(--cat-pink);
}

.page-products .tag-deco {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 3px solid var(--cat-mo);
  box-shadow: 4px 4px 0 var(--cat-mo);
  border-radius: 8px;
}

@media (min-width: 768px) {
  .page-products .catalog-scroll {
    max-height: 760px;
  }

  .page-products .row-summary {
    display: none;
  }

  .page-products .catalog-index-table tr:hover .row-summary,
  .page-products .catalog-index-table tr:focus-within .row-summary {
    display: block;
  }
}

@media (min-width: 820px) {
  .page-products .tag-inner {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }

  .page-products .tag-deco {
    max-width: 280px;
    position: sticky;
    top: 24px;
  }
}

@media (min-width: 990px) {
  .page-products .cat-tile-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1480px) {
  .page-products .side-deco {
    display: block;
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 100px;
    pointer-events: none;
  }
}
