/* Match the mobile home row without changing the menu, search, or cart handlers. */
html body:not(.home) #header [data-device="mobile"] [data-row="middle:boxed"] > .ct-container {
  display:flex!important;align-items:center!important;gap:8px!important;padding-inline:10px!important;
}
html body:not(.home) #header [data-device="mobile"] [data-column="start"] {
  width:auto!important;min-width:calc(clamp(74px, 24vw, 105px) - 6px)!important;
  flex:0 1 105px!important;
}
html body:not(.home) #header [data-device="mobile"] [data-column="end"] {
  width:auto!important;min-width:0!important;flex:1 1 auto!important;
}
html body:not(.home) #header [data-device="mobile"] [data-column="end"] [data-items="primary"] {gap:7px!important;}
html body:not(.home) #header [data-device="mobile"] .search-input-container {background:#fbf8f0!important;}
/* The shared header retains its column widths; only the logo link changes. */
html body #header [data-device="mobile"] .site-branding > a.site-logo-container {
  --dg-mobile-signature-width:clamp(74px, 24vw, 105px);
  width:var(--dg-mobile-signature-width)!important;
  min-width:var(--dg-mobile-signature-width)!important;
  max-width:var(--dg-mobile-signature-width)!important;
  flex:0 0 var(--dg-mobile-signature-width)!important;
  margin-inline-start:-3px!important;
  justify-content:center!important;align-items:center!important;
}
html body #header [data-device="mobile"] .site-branding > a.site-logo-container > img:is(.default-logo,.sticky-logo,.custom-logo) {
  width:100%!important;max-width:100%!important;flex:0 0 100%!important;
  height:auto!important;max-height:48px!important;min-height:0!important;
  object-fit:contain!important;object-position:center!important;
  transform:translateY(-2px)!important;
}
/* Keep the original artwork, without a second accent below the logo. */
html body #header [data-device="mobile"] .site-branding > a.site-logo-container::after {
  content:none!important;display:none!important;
}
/* The 74px fixed mobile header is out of flow. Reserve 78px before the
   shop's existing 8px finder margin; the WordPress toolbar already reserves space. */
html body.woocommerce-shop:not(.admin-bar) #main-container > main#main > .ct-container {
  padding-block-start:78px!important;
}
/* Product-category archives: reserve the fixed row once, then compact the hero
   and the empty WooCommerce title wrapper without hiding any category copy. */
html body.tax-product_cat #main-container > main#main {
  padding-block-start:74px!important;
}
html body.tax-product_cat.admin-bar #main-container > main#main {
  padding-block-start:max(0px,calc(74px - var(--wp-admin--admin-bar--height,46px)))!important;
}
html body.tax-product_cat #main-container > main#main > .hero-section {
  min-height:0!important;padding-block:16px 14px!important;
}
html body.tax-product_cat #main-container > main#main > .hero-section .entry-header {
  margin-block:0!important;
}
html body.tax-product_cat #main-container > main#main > .hero-section h1.page-title {
  margin-block:0!important;padding-block:0!important;
}
html body.tax-product_cat #main-container > main#main > .hero-section .ct-breadcrumbs {
  margin-block:10px 0!important;
}
html body.tax-product_cat #main-container > main#main > .ct-container {
  padding-block-start:12px!important;
}
html body.tax-product_cat #main-container > main#main > .ct-container .woocommerce-products-header {
  padding-block:0!important;margin-block:0!important;min-height:0!important;
}
html body.tax-product_cat #main-container > main#main > .ct-container .dg-guide-card {
  margin-block-start:14px!important;
}