.category-shell.section-sidebar > nav[aria-label="Percorso"] { margin-block-end: 14px; }

.category-shell.section-sidebar .category-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-block-end: 20px;
  padding: clamp(14px, 2vw, 20px) clamp(14px, 3vw, 27px);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--orange);
  border-radius: 10px;
  background: #fff;
}

.category-shell.section-sidebar .category-intro h1 {
  max-width: none;
  font-size: clamp(1.75rem, 4.2vw, 2.55rem);
  text-wrap: initial;
  overflow-wrap: anywhere;
}

.category-shell.section-sidebar .category-intro p { margin-block-start: 4px; }
.category-shell.section-sidebar .category-intro nav { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.category-shell.section-sidebar .category-intro .pill {
  min-height: 36px;
  padding: 3px 12px;
  border-color: #d8e7f1;
  background: var(--ice);
  font-size: .83rem;
}
.category-shell.section-sidebar .category-intro .pill:hover { border-color: var(--blue-ink); }

.row[data-category-columns] {
  --bs-gutter-x: clamp(16px, 2.5vw, 30px);
  --bs-gutter-y: 20px;
  align-items: start;
}

[data-category-columns] h2 { margin-block-end: 12px; font-size: clamp(1.2rem, 2vw, 1.48rem); }
#offerte-categoria, #negozi-categoria { scroll-margin-top: 180px; }
#offerte-categoria .item-wrapper { display: grid; gap: 10px; }
#offerte-categoria .single-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
#offerte-categoria .single-box:focus-within { border-color: #a7cada; }
#offerte-categoria .portal-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #f7fafd;
}
#offerte-categoria .start-area { display: grid; gap: 3px; justify-items: start; min-width: 0; overflow-wrap: anywhere; }
#offerte-categoria .start-area > a,
#offerte-categoria time { color: var(--muted); font-size: .84rem; line-height: 1.32; }
#offerte-categoria .start-area a:hover { color: var(--blue-ink); text-decoration: underline; }
#offerte-categoria h3 { font-size: clamp(.99rem, 1.8vw, 1.13rem); line-height: 1.25; }
#offerte-categoria .box-second {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-ink);
  font-size: .87rem;
  font-weight: 650;
  text-align: center;
}
#offerte-categoria .box-second:hover { background: var(--ink); }
#offerte-categoria .box-second span { padding-inline-start: 8px; border-inline-start: 1px solid #ffffff80; }

[data-category-columns] aside .single-item {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
[data-category-columns] aside > * + * { margin-block-start: 12px; }
#negozi-categoria .directory-store-list { gap: 0 18px; }
#negozi-categoria .directory-store {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  min-height: 54px;
  padding: 6px 5px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
#negozi-categoria .directory-store-logo { width: 34px; height: 34px; border-radius: 7px; }
#negozi-categoria .directory-store-logo img { width: 27px; height: 27px; }
#negozi-categoria .directory-store-name { font-size: .95rem; }
#negozi-categoria .directory-pagination { margin-block-start: 14px; }
[data-category-columns] aside nav.single-item ul { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; list-style: none; }
[data-category-columns] aside nav.single-item li a { display: inline-block; padding-block: 5px; color: var(--blue-ink); }
[data-category-columns] aside nav.single-item li a:hover { text-decoration: underline; }

@media (min-width: 992px) {
  [data-category-columns] .col-lg-4 .directory-store-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  #offerte-categoria, #negozi-categoria { scroll-margin-top: 119px; }
  #offerte-categoria .single-box { grid-template-columns: 42px minmax(0, 1fr); padding: 10px; align-items: start; }
  #offerte-categoria .portal-logo { width: 42px; height: 42px; }
  #offerte-categoria .end-area { grid-column: 2; }
  #offerte-categoria .box-second { padding-inline: 12px; }
}
