/* Catalogo B2B Val di Chienti Plast */
.vdcp {
  --vdcp-ink: #22292f;
  --vdcp-muted: #5b6670;
  --vdcp-ground: #e9ecee;
  --vdcp-paper: #ffffff;
  --vdcp-line: #cdd3d8;
  --vdcp-accent: #0e5a63;
  --vdcp-accent-soft: #dcebec;
  --vdcp-sticky-top: 0px;
  --vdcp-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--vdcp-font);
  color: var(--vdcp-ink);
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
  text-align: left;
}
.admin-bar .vdcp { --vdcp-sticky-top: 32px; }
@media (max-width: 782px) { .admin-bar .vdcp { --vdcp-sticky-top: 0px; } }
.vdcp, .vdcp *, .vdcp *::before, .vdcp *::after { box-sizing: border-box; }
.vdcp button { font: inherit; color: inherit; }
.vdcp :focus-visible { outline: 3px solid var(--vdcp-accent); outline-offset: 2px; }

/* Break out of the theme's narrow content column (no transform: it would trap the fixed sheet). */
/* Block themes force margins on content children with !important, hence the !important here. */
#vdcp-app.vdcp-app { background: var(--vdcp-ground); width: min(1400px, calc(100vw - 32px)); max-width: none !important; margin-left: calc(50% - min(700px, 50vw - 16px)) !important; margin-right: 0 !important; padding: 0 16px 48px; border-radius: 4px; }
#vdcp-app.vdcp-app--inline { width: auto; max-width: 100% !important; margin-left: 0 !important; }
.vdcp-loading { padding: 48px 0; color: var(--vdcp-muted); }

/* ---- Header: three slim rows, all sticky ---- */
.vdcp-top { position: sticky; top: var(--vdcp-sticky-top); z-index: 20; background: var(--vdcp-ground); padding: 0 0 8px; border-bottom: 1px solid var(--vdcp-line); margin-bottom: 14px; }
.vdcp-top__row { display: flex; align-items: center; gap: 4px 12px; min-height: 44px; padding: 4px 0; margin-bottom: 6px; border-bottom: 1px solid var(--vdcp-line); }
.vdcp-brand__title { flex: none; margin: 0; font-size: 17px; font-weight: 750; line-height: 1.2; color: var(--vdcp-ink); }
.vdcp-brand__sub { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 13px; color: var(--vdcp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vdcp-user { flex: none; display: flex; align-items: center; gap: 10px; margin: 0 0 0 auto; font-size: 13px; color: var(--vdcp-muted); white-space: nowrap; }
.vdcp-user__name { max-width: 22ch; overflow: hidden; text-overflow: ellipsis; }
.vdcp-user a { color: var(--vdcp-accent); font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }

.vdcp-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
.vdcp-search { position: relative; min-width: 0; }
.vdcp-search svg { position: absolute; left: 13px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--vdcp-muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.vdcp-search input { width: 100%; height: 48px; margin: 0; padding: 0 48px 0 42px; font-family: var(--vdcp-font); font-size: 17px; color: var(--vdcp-ink); background: var(--vdcp-paper); border: 1px solid var(--vdcp-line); border-radius: 8px; box-shadow: none; -webkit-appearance: none; appearance: none; }
.vdcp-search input::-webkit-search-cancel-button { display: none; }
.vdcp-search input:focus { border-color: var(--vdcp-accent); outline: 2px solid var(--vdcp-accent); outline-offset: 0; }
.vdcp-search__clear { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; font-size: 26px; line-height: 1; color: var(--vdcp-muted); cursor: pointer; }
.vdcp-select { height: 48px; min-width: 0; margin: 0; padding: 0 34px 0 12px; font-family: var(--vdcp-font); font-size: 15px; color: var(--vdcp-ink); background-color: var(--vdcp-paper); border: 1px solid var(--vdcp-line); border-radius: 8px; cursor: pointer; }
.vdcp-select.is-on { border-color: var(--vdcp-accent); background-color: var(--vdcp-accent-soft); color: var(--vdcp-accent); font-weight: 650; }

.vdcp-bar { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.vdcp-filters { flex: 1 1 auto; min-width: 0; display: flex; gap: 6px 14px; padding: 1px 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vdcp-filters::-webkit-scrollbar { display: none; }
.vdcp-filters__group { display: flex; gap: 6px; flex: none; }
.vdcp-filters__group + .vdcp-filters__group { padding-left: 14px; border-left: 1px solid var(--vdcp-line); }
.vdcp-chip { flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--vdcp-line); border-radius: 20px; background: var(--vdcp-paper); font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; touch-action: manipulation; }
.vdcp-chip[aria-pressed="true"] { background: var(--vdcp-accent); border-color: var(--vdcp-accent); color: #fff; }
.vdcp-count { flex: none; margin: 0; font-size: 13px; color: var(--vdcp-muted); white-space: nowrap; }

@media (max-width: 640px) {
  .vdcp-tools { grid-template-columns: 1fr 1fr; }
  .vdcp-search { grid-column: 1 / -1; }
  .vdcp-brand__sub { display: none; }
  .vdcp-bar { flex-direction: column; align-items: stretch; gap: 6px; }
}

/* ---- Grid ---- */
.vdcp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.vdcp-card { display: flex; flex-direction: column; width: 100%; padding: 0; margin: 0; text-align: left; background: var(--vdcp-paper); border: 1px solid var(--vdcp-line); border-radius: 6px; overflow: hidden; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.vdcp-card:active { border-color: var(--vdcp-accent); }
@media (hover: hover) { .vdcp-card:hover { border-color: var(--vdcp-accent); } }
.vdcp-card__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 10px; background: #fff; border-bottom: 1px solid var(--vdcp-ground); }
.vdcp-card__img img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; margin: 0; }
.vdcp-card__body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.vdcp-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.vdcp-card__badges { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.vdcp-card__desc { font-size: 13px; color: var(--vdcp-muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }

/* The article number: the one bold element. */
.vdcp-mark { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums lining-nums; line-height: 1; letter-spacing: -0.02em; }
.vdcp-mark__n { font-size: 26px; font-weight: 800; color: var(--vdcp-ink); }
.vdcp-mark__h { font-size: 18px; font-weight: 400; color: var(--vdcp-muted); margin-left: 1px; }
.vdcp-mark--xl .vdcp-mark__n { font-size: clamp(48px, 7vw, 72px); }
.vdcp-mark--xl .vdcp-mark__h { font-size: clamp(30px, 4.4vw, 44px); }

.vdcp-badge { display: inline-block; padding: 3px 7px; font-size: 11.5px; font-weight: 650; line-height: 1.2; border-radius: 3px; white-space: nowrap; }
.vdcp-badge--new { background: var(--vdcp-accent-soft); color: var(--vdcp-accent); }
.vdcp-badge--excl { border: 1px solid var(--vdcp-line); color: var(--vdcp-muted); }

.vdcp-price { margin-top: auto; padding-top: 6px; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--vdcp-accent); }
.vdcp-price__from { font-size: 13px; font-weight: 500; }
.vdcp-price--none { font-size: 13px; font-weight: 500; color: var(--vdcp-muted); }
.vdcp-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 80px; font-size: 13px; color: #8a949c; background: repeating-linear-gradient(-45deg, #f6f7f8, #f6f7f8 8px, #fff 8px, #fff 16px); }

.vdcp-empty { grid-column: 1 / -1; padding: 48px 16px; text-align: center; color: var(--vdcp-muted); font-size: 17px; }
.vdcp-btn { min-height: 48px; padding: 0 22px; border: 0; border-radius: 6px; background: var(--vdcp-accent); color: #fff !important; font-size: 16px; font-weight: 600; cursor: pointer; }

/* ---- Detail sheet ---- */
html.vdcp-lock, html.vdcp-lock body { overflow: hidden; }
.vdcp-sheet { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; background: var(--vdcp-paper); overscroll-behavior: contain; }
.vdcp-sheet[hidden] { display: none; }
.vdcp-sheet__bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top)); border-bottom: 1px solid var(--vdcp-ground); flex: none; }
.vdcp-sheet__pos { margin: 0 auto 0 4px; font-size: 14px; color: var(--vdcp-muted); }
.vdcp-sheet__nav { display: flex; gap: 8px; }
.vdcp-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 1px solid var(--vdcp-line); border-radius: 50%; background: var(--vdcp-paper); cursor: pointer; touch-action: manipulation; }
.vdcp-iconbtn svg { width: 24px; height: 24px; fill: none; stroke: var(--vdcp-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vdcp-iconbtn[disabled] { opacity: .35; cursor: default; }
.vdcp-sheet__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.vdcp-sheet__media { position: relative; display: flex; align-items: center; justify-content: center; background: #fff; height: 46vh; min-height: 240px; padding: 16px; border-bottom: 1px solid var(--vdcp-ground); }
.vdcp-zoom { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.vdcp-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; margin: 0; }
.vdcp-sheet__media.is-zoom { overflow: auto; display: block; padding: 0; }
.vdcp-sheet__media.is-zoom .vdcp-zoom { width: auto; height: auto; min-width: 100%; min-height: 100%; cursor: zoom-out; }
.vdcp-sheet__media.is-zoom .vdcp-zoom img { max-width: none; max-height: none; width: 220%; }
.vdcp-sheet__info { padding: 20px 20px 40px; max-width: 640px; }
.vdcp-sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vdcp-sheet__code { margin: 8px 0 0; font-size: 15px; color: var(--vdcp-muted); }
.vdcp-sheet__desc { margin: 16px 0 0; padding: 0; list-style: none; font-size: 17px; line-height: 1.5; }
.vdcp-sheet__desc li { margin: 0; padding: 0; }
.vdcp-sheet__date { margin: 12px 0 0; font-size: 14px; color: var(--vdcp-muted); }

.vdcp-sizes { margin-top: 22px; }
.vdcp-sizes h3, .vdcp-prices caption { margin: 0 0 8px; font-family: var(--vdcp-font); font-size: 14px; font-weight: 650; color: var(--vdcp-muted); text-align: left; letter-spacing: 0; text-transform: none; }
.vdcp-sizes ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vdcp-sizes li { min-width: 44px; padding: 8px 10px; margin: 0; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; border: 1px solid var(--vdcp-line); border-radius: 4px; }

.vdcp-prices { width: 100%; margin: 24px 0 0; border-collapse: collapse; font-size: 16px; border: 0; }
.vdcp-prices th, .vdcp-prices td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--vdcp-ground); text-align: left; vertical-align: top; background: none; }
.vdcp-prices thead th { padding-top: 0; font-size: 13px; font-weight: 500; color: var(--vdcp-muted); }
.vdcp-prices tbody th { font-weight: 600; padding-right: 12px; }
.vdcp-prices .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vdcp-prices td.num { font-size: 20px; font-weight: 750; color: var(--vdcp-accent); }
.vdcp-prices__note { display: block; font-size: 14px; font-weight: 400; color: var(--vdcp-muted); }
.vdcp-noprice { margin: 24px 0 0; padding: 14px 16px; background: var(--vdcp-ground); border-radius: 6px; font-size: 15px; }

/* Tablet landscape and desktop: photo and details side by side. */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .vdcp-sheet__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 1fr); overflow: hidden; }
  .vdcp-sheet__media { height: auto; border-bottom: 0; border-right: 1px solid var(--vdcp-ground); padding: 32px; }
  .vdcp-sheet__info { overflow-y: auto; padding: 32px 36px 48px; max-width: none; }
}
@media (min-width: 600px) {
  .vdcp-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
}
@media (max-width: 420px) {
  .vdcp-app { padding: 0 10px 32px; }
  .vdcp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vdcp-mark__n { font-size: 22px; }
  .vdcp-mark__h { font-size: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .vdcp-sheet:not([hidden]) { animation: vdcp-in .18s ease-out; }
  @keyframes vdcp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ---- Login gate ---- */
.vdcp-gate { max-width: 440px; margin: 32px auto; padding: 28px; background: var(--vdcp-paper); border: 1px solid var(--vdcp-line); border-radius: 8px; }
.vdcp-gate__title { margin: 0 0 6px; font-family: var(--vdcp-font); font-size: 24px; font-weight: 750; color: var(--vdcp-ink); }
.vdcp-gate__text { margin: 0 0 18px; color: var(--vdcp-muted); }
.vdcp-gate form p { margin: 0 0 14px; }
.vdcp-gate label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.vdcp-gate input[type="text"], .vdcp-gate input[type="password"] { width: 100%; height: 50px; padding: 0 12px; font-size: 17px; border: 1px solid var(--vdcp-line); border-radius: 6px; background: #fff; color: var(--vdcp-ink); }
.vdcp-gate .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 400; min-height: 44px; }
.vdcp-gate input[type="submit"] { width: 100%; min-height: 52px; border: 0; border-radius: 6px; background: var(--vdcp-accent); color: #fff; font-size: 17px; font-weight: 650; cursor: pointer; }
.vdcp-gate__lost { margin: 6px 0 0; font-size: 15px; }
.vdcp-gate__lost a { color: var(--vdcp-accent); }

/* ---- Theme-proofing: themes (e.g. Nicepage) style every h2/h3 with high specificity. ---- */
#vdcp-app .vdcp-brand__title,
.vdcp .vdcp-gate__title,
#vdcp-app .vdcp-sizes h3 {
  font-family: var(--vdcp-font) !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  text-shadow: none !important;
}
#vdcp-app .vdcp-brand__title { font-size: 17px !important; font-weight: 750 !important; line-height: 1.2 !important; margin: 0 !important; color: var(--vdcp-ink) !important; }
.vdcp .vdcp-gate__title { font-size: 24px !important; font-weight: 750 !important; line-height: 1.25 !important; margin: 0 0 6px !important; color: var(--vdcp-ink) !important; }
#vdcp-app .vdcp-sizes h3 { font-size: 14px !important; font-weight: 650 !important; line-height: 1.4 !important; margin: 0 0 8px !important; color: var(--vdcp-muted) !important; letter-spacing: 0 !important; }
#vdcp-app p, #vdcp-app li, #vdcp-app td, #vdcp-app th, #vdcp-app input, #vdcp-app select, #vdcp-app button { font-family: var(--vdcp-font); }

/* ---- Pagination ---- */
.vdcp-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--vdcp-line); }
.vdcp-pager:empty { display: none; }
.vdcp-pager__per { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--vdcp-muted); }
.vdcp-pager__per .vdcp-select { height: 44px; }
.vdcp-pager__nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vdcp-pager__nums { display: flex; align-items: center; gap: 6px; }
.vdcp-pager__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--vdcp-line); border-radius: 23px; background: var(--vdcp-paper); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; touch-action: manipulation; }
.vdcp-pager__btn[aria-current="page"] { background: var(--vdcp-accent); border-color: var(--vdcp-accent); color: #fff; }
.vdcp-pager__btn[disabled] { opacity: .35; cursor: default; }
.vdcp-pager__arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--vdcp-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vdcp-pager__gap { padding: 0 2px; color: var(--vdcp-muted); }
.vdcp-pager__of { display: none; font-size: 15px; font-weight: 600; padding: 0 8px; }
@media (max-width: 640px) {
  .vdcp-pager { justify-content: center; }
  .vdcp-pager__nums { display: none; }
  .vdcp-pager__of { display: inline; }
}

/* ---- Type tabs, Filters button and panel ---- */
.vdcp-tools { grid-template-columns: minmax(0, 1fr) auto auto auto; }
.vdcp-filterbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border: 1px solid var(--vdcp-line); border-radius: 8px; background: var(--vdcp-paper); color: var(--vdcp-ink); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; touch-action: manipulation; }
.vdcp-filterbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vdcp-filterbtn[aria-expanded="true"], .vdcp-filterbtn.is-on { border-color: var(--vdcp-accent); color: var(--vdcp-accent); }
.vdcp-filterbtn[aria-expanded="true"] { background: var(--vdcp-accent-soft); }
.vdcp-filterbtn__n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--vdcp-accent); color: #fff; font-size: 12.5px; font-weight: 700; }
.vdcp-filterbtn__n[hidden] { display: none; }

.vdcp-panel { position: absolute; left: 0; right: 0; z-index: 30; margin-top: 6px; max-height: min(70vh, 520px); overflow-y: auto; padding: 18px 20px 14px; background: var(--vdcp-paper); border: 1px solid var(--vdcp-line); border-radius: 10px; box-shadow: 0 14px 36px rgba(34, 41, 47, .18); }
.vdcp-panel[hidden] { display: none; }
.vdcp-panel__group + .vdcp-panel__group { margin-top: 16px; }
#vdcp-app .vdcp-panel__label { margin: 0 0 8px; font-size: 13px; font-weight: 650; color: var(--vdcp-muted); }
.vdcp-panel__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vdcp-panel__chips .vdcp-chip { min-height: 44px; }
.vdcp-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--vdcp-ground); }
.vdcp-linkbtn { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--vdcp-accent); font-size: 15px; font-weight: 600; cursor: pointer; }

.vdcp-bar { align-items: flex-end; gap: 10px 16px; margin-top: 6px; }
.vdcp-tabs { flex: 0 1 auto; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vdcp-tabs::-webkit-scrollbar { display: none; }
.vdcp-tab { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--vdcp-muted); font-size: 15.5px; font-weight: 600; cursor: pointer; white-space: nowrap; touch-action: manipulation; }
.vdcp-tab[aria-pressed="true"] { color: var(--vdcp-ink); border-bottom-color: var(--vdcp-accent); }
@media (hover: hover) { .vdcp-tab:hover { color: var(--vdcp-ink); } }
.vdcp-active { flex: 1 1 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding-bottom: 6px; }
.vdcp-active:empty { display: none; }
.vdcp-active__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 12px; border: 1px solid var(--vdcp-accent); border-radius: 17px; background: var(--vdcp-accent-soft); color: var(--vdcp-accent); font-size: 14px; font-weight: 600; cursor: pointer; }
.vdcp-active__chip span { font-size: 18px; line-height: 1; }
.vdcp-bar .vdcp-count { margin-left: auto; padding-bottom: 12px; }

@media (max-width: 640px) {
  .vdcp-tools { grid-template-columns: 1fr 1fr auto; }
  .vdcp-filterbtn { padding: 0 12px; }
  .vdcp-bar { flex-direction: column; align-items: stretch; }
  .vdcp-active { justify-content: flex-start; }
  .vdcp-bar .vdcp-count { margin-left: 0; padding-bottom: 0; }
}
/* Tabs + count on one line, active filters on their own line below (only when present). */
.vdcp-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 16px; }
.vdcp-bar .vdcp-tabs { grid-column: 1; }
.vdcp-bar .vdcp-count { grid-column: 2; margin-left: 0; padding-bottom: 12px; }
.vdcp-bar .vdcp-active { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; }
.vdcp-bar .vdcp-active::-webkit-scrollbar { display: none; }
.vdcp-active__chip { flex: none; white-space: nowrap; font-family: var(--vdcp-font); }
#vdcp-app .vdcp-chip, #vdcp-app .vdcp-tab, #vdcp-app .vdcp-filterbtn, #vdcp-app .vdcp-linkbtn, #vdcp-app .vdcp-btn, #vdcp-app .vdcp-pager__btn { font-family: var(--vdcp-font); }
@media (max-width: 640px) {
  .vdcp-bar { grid-template-columns: minmax(0, 1fr); }
  .vdcp-bar .vdcp-count { grid-column: 1; grid-row: 3; padding-bottom: 0; }
}
@media (max-width: 640px) {
  .vdcp-tools { grid-template-columns: 1fr 1fr; }
  .vdcp-filterbtn { grid-column: 1 / -1; justify-content: center; }
  .vdcp-panel__foot .vdcp-linkbtn, .vdcp-panel__foot .vdcp-btn { white-space: nowrap; }
}

/* ---- Type bar as buttons ---- */
.vdcp-bar { align-items: center; margin-top: 10px; }
.vdcp-tabs { gap: 8px; padding: 2px 0; }
.vdcp-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--vdcp-line); border-bottom-width: 1px; border-radius: 8px; background: var(--vdcp-paper); color: var(--vdcp-ink); font-size: 15.5px; font-weight: 600; }
.vdcp-tab__n { font-size: 12.5px; font-weight: 600; color: var(--vdcp-muted); font-variant-numeric: tabular-nums; }
.vdcp-tab[aria-pressed="true"] { background: var(--vdcp-ink); border-color: var(--vdcp-ink); color: #fff; }
.vdcp-tab[aria-pressed="true"] .vdcp-tab__n { color: rgba(255, 255, 255, .7); }
.vdcp-tab:active { border-color: var(--vdcp-accent); }
@media (hover: hover) { .vdcp-tab:hover { color: var(--vdcp-ink); border-color: var(--vdcp-accent); } .vdcp-tab[aria-pressed="true"]:hover { color: #fff; } }
.vdcp-bar .vdcp-count { padding-bottom: 0; }
.vdcp-tabs.is-scroll { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.vdcp-tabs.is-scroll.is-end { -webkit-mask-image: none; mask-image: none; }
