/* Canonical category/brand directories and existing bundle campaign presentation. */
.native-directory-page { min-width: 0; min-height: 62vh; padding-block: 20px 56px; }
.native-directory-page .woocommerce-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 18px; padding: 0; color: var(--vt-muted); font-size: 10px; line-height: 1.55; }
.native-directory-page .woocommerce-breadcrumb a { color: inherit; text-decoration: none; }
.native-directory-page > .eyebrow { margin: 0; font-size: 11px; font-weight: 850; line-height: 1.2; letter-spacing: .16em; }
.native-directory-page .vt-content-heading, .native-directory-heading { margin: 0 0 20px; padding: 0; border: 0; }
.native-directory-page :is(.vt-content-title, .native-directory-heading h1) { margin: 6px 0 0; font-size: clamp(22px, 2.1vw, 28px); font-weight: 800; line-height: 1.18; letter-spacing: -.035em; }
.native-directory-page .entry-content > :last-child:not(header) { margin-bottom: 20px; }
.native-directory-page > article { margin-bottom: 0; }
.native-category-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.native-category-directory > a { display: grid; grid-template-columns: 42% minmax(0, 1fr); min-width: 0; min-height: 170px; overflow: hidden; border: 1px solid var(--vt-border); border-radius: 8px; background: var(--vt-panel); color: var(--vt-text); text-decoration: none; }
.native-category-directory > a > img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--vt-raised); }
.native-category-directory > a > span:last-child { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 15px; }
.native-category-directory small { color: var(--vt-orange); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.native-category-directory strong { margin-top: 6px; font-size: 20px; font-weight: 700; line-height: 1.05; overflow-wrap: anywhere; }
.native-category-directory b { display: flex; align-items: center; gap: 5px; margin-top: 18px; color: var(--vt-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.native-category-image-missing { display: grid; align-items: center; padding: 12px; background: var(--vt-raised); color: var(--vt-muted); font-size: 11px; text-align: center; }
.native-brand-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; padding-block: 11px; border-block: 1px solid var(--vt-border); }
.native-brand-tools > label { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; width: min(340px, 100%); padding-left: 10px; border: 1px solid var(--vt-border); border-radius: 6px; background: var(--vt-panel); }
.native-brand-tools input { width: 100%; min-width: 0; height: 43px; padding: 0 11px; border: 0; border-radius: 6px; background: transparent; color: var(--vt-text); font: inherit; box-shadow: none; }
.native-brand-tools nav { display: flex; gap: 5px; max-width: 100%; }
.native-brand-tools nav a { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border: 1px solid var(--vt-border); border-radius: 4px; background: var(--vt-panel); color: var(--vt-text); font-size: 10px; font-weight: 850; text-decoration: none; }
.native-brand-directory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.native-brand-directory-grid > a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; min-height: 72px; padding: 10px; border: 1px solid var(--vt-border); border-radius: 6px; background: var(--vt-panel); color: var(--vt-text); text-decoration: none; scroll-margin-top: calc(var(--vt-header-offset, 138px) + 14px); }
.native-brand-directory-grid > a:hover { border-color: #aaa7a0; transform: translateY(-1px); }
.native-directory-brand-mark { display: grid; grid-row: 1 / 3; place-items: center; width: 48px; height: 48px; padding: 6px; overflow: hidden; border: 1px solid #d9dce0; border-radius: 5px; background: #fff; color: #11151a; }
.native-directory-brand-mark--dark { background: #111827; color: #fff; }
.native-directory-brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.native-directory-brand-mark b { max-width: 100%; font-size: 10px; font-weight: 850; line-height: 1; text-align: center; overflow-wrap: anywhere; }
.native-brand-directory-grid strong { align-self: end; min-width: 0; font-size: 17px; font-weight: 700; line-height: 1; overflow-wrap: anywhere; }
.native-brand-directory-grid small { align-self: start; color: var(--vt-muted); font-size: 9px; }
.native-directory-arrow { grid-column: 3; grid-row: 1 / 3; }
.native-directory-empty { display: grid; justify-items: start; gap: 12px; min-height: 180px; align-content: center; padding: 28px; border: 1px solid var(--vt-border); border-radius: 8px; background: var(--vt-panel); }
.native-directory-empty h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.native-directory-empty p { margin: 0; color: var(--vt-muted); }
.native-directory-empty--campaign { min-height: 380px; justify-items: center; gap: 0; text-align: center; }
.native-directory-empty--campaign .native-directory-empty-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--vt-raised); color: var(--vt-orange); }
.native-directory-empty--campaign h2 { margin-top: 14px; font-size: 25px; line-height: 1.2; }
.native-directory-empty--campaign .button { min-height: 44px; margin-top: 16px; }
.native-directory-page [hidden] { display: none !important; }
.native-bundle-campaign { min-width: 0; overflow: hidden; border: 1px solid var(--vt-border); border-radius: 12px; background: var(--vt-panel); }
.native-bundle-campaign > header { padding: 18px 20px 0; }
.native-bundle-campaign > header > span { color: var(--vt-orange); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.native-bundle-campaign h2 { margin: 7px 0; font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.native-bundle-campaign p { margin: 6px 0; font-size: 13px; line-height: 1.5; }
.native-bundle-items { display: grid; gap: 10px; margin: 0; padding: 12px 20px; list-style: none; }
.native-bundle-items li { display: flex; align-items: center; gap: 14px; }
.native-bundle-items a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce.native-campaign-products ul.products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; }
@media (max-width: 1280px) {
  .native-directory-page { width: min(var(--vt-container), calc(100% - 32px)); }
  .woocommerce.native-campaign-products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .native-category-directory, .native-brand-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .woocommerce.native-campaign-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .native-directory-page { width: min(var(--vt-container), calc(100% - 24px)); padding-block: 14px 38px; }
  .native-category-directory, .native-brand-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .native-category-directory > a { grid-template-columns: minmax(0, 1fr); min-height: 220px; }
  .native-category-directory > a > img, .native-category-image-missing { height: 125px; }
  .native-brand-tools { align-items: stretch; flex-direction: column; }
  .native-brand-tools nav { overflow-x: auto; }
  .native-brand-directory-grid > a { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .native-directory-brand-mark { width: 40px; height: 40px; }
  .native-bundle-campaign h2 { font-size: 20px; }
  .woocommerce.native-campaign-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
}
@media (max-width: 440px) {
  .native-category-directory, .native-brand-directory-grid { grid-template-columns: minmax(0, 1fr); }
}
