/* D&B PACK identity over ZBI layout tokens. Owner-editable content lives in WP. */
.dbpack-site {
  --bg: #f3efe6;
  --paper: #fffdf8;
  --surface: #fffdf8;
  --surface-2: #ebe4d4;
  --ink: #1b1914;
  --text: #2b2720;
  --muted: #6a6356;
  --green: #2b2924;
  --green-2: #161512;
  --green-3: #3f3a32;
  --accent: #c4a46a;
  --gold: #c4a46a;
  --border: #d8d0bf;
  --shadow: 0 16px 40px rgba(27, 25, 20, 0.08);
}

/* One chrome: WP admin bar + utility strip + nav share the same charcoal/gold. */
#wpadminbar {
  background: #161512 !important;
  color: #f0e6d0 !important;
}
#wpadminbar .ab-item,
#wpadminbar a.ab-item,
#wpadminbar > #wp-toolbar span.ab-label,
#wpadminbar > #wp-toolbar span.noticon {
  color: #f0e6d0 !important;
}
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before {
  color: #c4a46a !important;
}
#wpadminbar .menupop .ab-sub-wrapper,
#wpadminbar .ab-submenu {
  background: #1b1914 !important;
}

.dbpack-chrome {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fffdf8;
  box-shadow: 0 8px 24px rgba(27, 25, 20, 0.08);
}
.admin-bar .dbpack-chrome { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .dbpack-chrome { top: 46px; }
}

.dbpack-site .topbar {
  background: #161512;
  color: #f0e6d0;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.dbpack-site .topbar a { color: #f6edd8; }
.dbpack-site .topbar-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.dbpack-site .site-header {
  position: relative;
  top: auto;
  background: #fffdf8;
  border-bottom: 1px solid #d8d0bf;
  box-shadow: none;
}

.dbpack-site .logo-brand {
  min-width: 0;
  line-height: 0;
}
.dbpack-site .logo-brand img,
.dbpack-site .custom-logo {
  display: block;
  width: auto;
  height: 64px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}
.dbpack-site .brand-mark { display: none; }
.dbpack-site .brand-text { display: none; }

.dbpack-site .nav-cta,
.dbpack-site .btn {
  background: #c4a46a !important;
  border-color: #b8944f !important;
  color: #1b1914 !important;
  box-shadow: none;
}
.dbpack-site .nav-cta:hover,
.dbpack-site .btn:hover {
  background: #d4b67c !important;
  text-decoration: none;
}
.dbpack-site .btn.secondary {
  background: #fff !important;
  color: #1b1914 !important;
  border-color: var(--border) !important;
}

.site-nav .site-nav-menu,
.site-footer .site-nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav .site-nav-menu li,
.site-footer .site-nav-menu li { margin: 0; }
.site-footer .menu,
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer ul li { margin: 0.35rem 0; }

.dbpack-nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 800;
  padding: 0.55rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
}

.dbpack-page,
.dbpack-product {
  padding: 2.4rem 0 3.2rem;
}
.dbpack-page-head { margin-bottom: 1.6rem; }
.dbpack-page-head h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0.2rem 0 0;
  color: var(--ink);
}
.dbpack-content h2 {
  margin: 2.1rem 0 0.7rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.dbpack-content h3 {
  margin: 1.4rem 0 0.45rem;
  font-size: 1.12rem;
}
.dbpack-content p,
.dbpack-content li { max-width: 72ch; }
.dbpack-content figure {
  margin: 1.4rem 0;
}
.dbpack-content figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.dbpack-content figcaption,
.dbpack-product-photo figcaption,
.dbpack-slider-slide figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.45rem;
}

.dbpack-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 1rem 0 2.4rem;
}
.dbpack-hero:not(:has(figure)) {
  grid-template-columns: 1fr;
  max-width: 46rem;
}
.dbpack-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0.15rem 0 1rem;
}
.dbpack-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.dbpack-kicker span {
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
}

.dbpack-product-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 1.2rem 0 2rem;
}
.dbpack-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
  gap: 1.5rem;
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.15rem 1.25rem;
}
.dbpack-product-row-copy h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}
.dbpack-product-row-copy p { margin: 0 0 0.85rem; max-width: 56ch; }
.dbpack-product-row-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: #f3efe6;
  border-radius: 4px;
  padding: 0.6rem;
}
.dbpack-product-row-media img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.dbpack-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.dbpack-facts > div {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 4px;
}
.dbpack-facts dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 800;
}
.dbpack-facts dd { margin: 0.35rem 0 0; }

.dbpack-home-groups {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.35rem;
  align-items: stretch;
  margin: 0.6rem 0 1.4rem;
}
.dbpack-home-groups .dbpack-teaser {
  margin: 0;
}
.dbpack-home-videos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  min-width: 0;
}
.dbpack-home-video {
  background: #f3efe6;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  min-width: 0;
}
.dbpack-home-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f3efe6;
  vertical-align: middle;
}

.dbpack-teaser {
  list-style: none;
  margin: 0.6rem 0 1.4rem;
  padding: 0;
  border-top: 1px solid var(--border);
}
.dbpack-teaser-item {
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.dbpack-teaser-link {
  display: flex;
  gap: 0.95rem;
  align-items: center;
  padding: 0.85rem 0.15rem;
  color: inherit;
  text-decoration: none;
}
.dbpack-teaser-link:hover strong {
  text-decoration: underline;
}
.dbpack-teaser-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 54px;
  flex-shrink: 0;
  background: #f3efe6;
  border-radius: 4px;
  overflow: hidden;
}
.dbpack-teaser-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.dbpack-teaser-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}
.dbpack-teaser-copy strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.dbpack-teaser-copy span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 62ch;
}

.dbpack-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 1.4rem 0 2.2rem;
}
.dbpack-card {
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 0;
  overflow: hidden;
}
.dbpack-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: #f3efe6;
  padding: 1rem;
  min-height: 0;
}
.dbpack-card-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.dbpack-card-ph {
  color: var(--muted);
  font-size: 0.9rem;
}
.dbpack-card-copy {
  padding: 1.05rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.dbpack-card-title {
  margin: 0;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}
.dbpack-card-title a { color: inherit; text-decoration: none; }
.dbpack-card-title a:hover { text-decoration: underline; }
.dbpack-card-excerpt {
  margin: 0;
  color: var(--text);
  max-width: none;
}
.dbpack-card-copy .btn { align-self: flex-start; margin-top: auto; }

.dbpack-lamination {
  margin: 0 0 2rem;
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--border);
  background: #fffdf8;
}
.dbpack-lamination h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.dbpack-lamination p {
  margin: 0;
  max-width: 70ch;
}

.dbpack-chips,
.dbpack-chips-hero {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0;
  padding: 0;
}
.dbpack-chips li,
.dbpack-kicker span {
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.32rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
}

.dbpack-group-hero .lead { max-width: 62ch; }
.dbpack-product-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  max-width: none;
  background: #f3efe6;
  padding: 1.1rem 1.1rem 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.dbpack-product-photo img,
.dbpack-product-photo img.dbpack-contain {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.dbpack-product-photo figcaption {
  margin: 0.65rem 0 0.35rem;
  text-align: center;
}

.dbpack-slider-block { margin: 1.8rem 0 2rem; }
.dbpack-slider {
  outline: none;
}
.dbpack-slider:focus-visible {
  box-shadow: 0 0 0 3px #c4a46a;
  border-radius: 6px;
}
.dbpack-slider-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f3efe6;
  aspect-ratio: 4 / 3;
  max-height: 560px;
}
.dbpack-slider-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  transition: transform 0.28s ease;
}
.dbpack-slider-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.85rem 0.55rem;
  box-sizing: border-box;
}
.dbpack-slider-slide figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  min-height: 0;
}
.dbpack-slider-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  flex: 1 1 auto;
}
.dbpack-slider-slide figcaption {
  flex: 0 0 auto;
  margin: 0.45rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text);
}
.dbpack-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.dbpack-slider-btn {
  min-width: 2.6rem;
  min-height: 2.6rem;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 4px;
  cursor: pointer;
}
.dbpack-slider-btn:focus-visible {
  outline: 3px solid #c4a46a;
  outline-offset: 2px;
}
.dbpack-slider-status { font-size: 0.85rem; color: var(--muted); }
.dbpack-slider-note { color: var(--muted); font-size: 0.88rem; }

.dbpack-cta-band {
  margin: 2.2rem 0 0;
  padding: 1.4rem 1.3rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.dbpack-cta-band h2 { margin-top: 0; }
.dbpack-cta-band p { max-width: 62ch; }

.dbpack-accordion details,
.dbpack-content .dbpack-accordion details {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin: 0.55rem 0;
}
.dbpack-accordion summary {
  font-weight: 800;
  cursor: pointer;
}
.dbpack-accordion details p,
.dbpack-accordion details li { max-width: 72ch; }
.dbpack-accordion details[open] summary { margin-bottom: 0.45rem; }

.dbpack-models h3 { margin-top: 1.1rem; }

@media (max-width: 860px) {
  .dbpack-catalog { grid-template-columns: 1fr; }
  .dbpack-slider-frame { max-height: 280px; }
}

.dbpack-footer-grid {
  grid-template-columns: 1.3fr 1fr 1fr !important;
}
.footer-logo {
  display: inline-block;
  margin: 0 0 0.75rem;
}
.footer-logo img {
  display: block;
  height: 56px;
  width: auto;
  background: #fff;
  border-radius: 4px;
  padding: 4px;
}

.dbpack-diagram {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
}
.dbpack-faq details {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.dbpack-faq summary {
  font-weight: 800;
  cursor: pointer;
}
.dbpack-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.4rem;
}
.dbpack-content th,
.dbpack-content td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.dbpack-content th { background: var(--surface-2); }

.wpcf7 form { max-width: 36rem; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
}
.wpcf7 textarea { min-height: 9rem; }
.wpcf7-submit {
  background: #c4a46a !important;
  color: #1b1914 !important;
  border: 0;
  font-weight: 800;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .dbpack-home-groups {
    grid-template-columns: 1fr;
  }
  .dbpack-home-videos {
    justify-content: flex-start;
  }
  .dbpack-home-video video {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .dbpack-hero { grid-template-columns: 1fr; }
  .dbpack-product-row { grid-template-columns: 1fr; }
  .dbpack-nav-toggle { display: inline-flex; }
  .site-header-inner { flex-wrap: wrap; }
  #dbpack-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.6rem;
  }
  #dbpack-nav.is-open { display: flex; }
  .site-nav .site-nav-menu { flex-direction: column; width: 100%; }
  .dbpack-site .nav-cta { margin: 0.4rem 0 0; }
  .site-footer-inner,
  .dbpack-footer-grid { grid-template-columns: 1fr !important; }
}
