/* Header Box 3: one control contract. Geometry belongs here; paint/font use UI tokens. */
.dxh .dxr3-left>.dx-tool {
  --dxh-tool-accent:var(--dx-primary,#b02121);
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  position:relative;gap:7px!important;width:132px;min-width:132px;flex:0 0 132px;min-height:42px;height:42px!important;
  padding:0 9px!important;margin:0!important;box-sizing:border-box!important;
  border:1px solid transparent!important;border-radius:var(--dx-action-box-radius,10px)!important;
  background:transparent!important;background-image:none!important;color:var(--dx-text,#563039)!important;
  font-family:var(--dx-font-family,var(--darex-font-family,inherit))!important;
  font-size:13px!important;font-weight:600!important;line-height:1.4!important;text-decoration:none!important;
  box-shadow:none!important;transform:none!important;isolation:isolate;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease!important;
}
.dxh .dxr3-left>.dx-tool .dx-tool-icon {display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px;color:inherit!important}
.dxh .dxr3-left>.dx-tool .dx-tool-icon svg {display:block;width:20px;height:20px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.dxh .dxr3-left>.dx-tool .dx-tool-label {font:inherit!important;color:inherit!important;white-space:nowrap}
.dxh .dxr3-left>.dx-tool .dxh-tool-count {
  display:inline-grid;place-items:center;flex:0 0 auto;min-width:18px;height:18px;padding:0 4px;
  margin:0;border:0;border-radius:999px;background:var(--dxh-tool-accent)!important;
  color:var(--dx-primary-text,#fff)!important;font-size:10px;font-weight:800;font-style:normal;line-height:1;box-sizing:border-box;
}
.dxh .dxr3-left>.dx-tool .dxh-tool-count.is-zero {display:none!important}
.dxh .dxr3-left>.dx-tool.is-active {
  background:var(--dx-surface,#fff)!important;
  background:color-mix(in srgb,var(--dxh-tool-accent) 9%,var(--dx-surface,#fff))!important;
  border-color:color-mix(in srgb,var(--dxh-tool-accent) 38%,var(--dx-border-subtle,#d7dee7))!important;
  color:var(--dxh-tool-accent)!important;
}
.dxh .dxr3-left>.dx-tool:hover,.dxh .dxr3-left>.dx-tool:focus-visible {
  background:var(--dx-primary-hover,var(--dx-primary,#b02121))!important;
  border-color:var(--dx-primary-hover,var(--dx-primary,#b02121))!important;
  color:var(--dx-primary-text,#fff)!important;box-shadow:none!important;outline:none;
}
.dxh .dxr3-left>.dx-tool:focus-visible {outline:2px solid var(--dx-primary,var(--dx-text,#563039))!important;outline-offset:3px}
.dxh .dxr3-left>.dx-tool:hover .dxh-tool-count,.dxh .dxr3-left>.dx-tool:focus-visible .dxh-tool-count {background:var(--dx-primary-text,#fff)!important;color:var(--dx-primary-hover,var(--dx-primary,#b02121))!important}
.dxh .dx-tool .dxh-scale-beam,.dxh .dx-tool .dxh-scale-left,.dxh .dx-tool .dxh-scale-right {transform-origin:12px 8px;transition:transform .18s ease}
.dxh .dx-tool.is-active .dxh-scale-beam {transform:rotate(-14deg)}
.dxh .dx-tool.is-active .dxh-scale-left {transform:translateY(2.5px)}
.dxh .dx-tool.is-active .dxh-scale-right {transform:translateY(-2.5px)}
/* Semantic glyphs can differ; selected/hover surfaces and counters never differ. */
.dxh .dx-tool.dx-wishlist.is-active .dx-tool-icon path {fill:currentColor}
@media(max-width:1200px) and (min-width:901px){.dxh .dxr3-left>.dx-tool{width:116px;min-width:116px;flex-basis:116px;font-size:11px!important;gap:5px!important;padding-inline:6px!important}}
@media(max-width:900px){.dxh .dxr3-left>.dx-tool{flex:1 1 0;width:auto;min-width:0;min-height:44px;height:44px!important;font-size:12px!important;padding-inline:4px!important;gap:5px!important}}
@media(prefers-reduced-motion:reduce){.dxh .dxr3-left>.dx-tool,.dxh .dx-tool svg path{transition:none!important}}

@media(max-width:360px){.dxh .dxr3-left>.dx-tool{font-size:11px!important;gap:4px!important}.dxh .dxr3-left>.dx-tool .dx-tool-icon,.dxh .dxr3-left>.dx-tool .dx-tool-icon svg{width:18px;height:18px;flex-basis:18px}}

/* Slightly larger navigation text; shopping actions keep their own typography. */
@media(min-width:901px){
  .dxh .dxr3-mega>button,.dxh .dxr3-brands-mega>.dxr3-brand-trigger,.dxh .dxr3-brand,.dxh .dxr3-links>a{font-size:15px!important}
}
@media(min-width:901px) and (max-width:1200px){
  .dxh .dxr3-mega>button,.dxh .dxr3-brands-mega>.dxr3-brand-trigger,.dxh .dxr3-brand,.dxh .dxr3-links>a{font-size:13px!important}
}

/* Keep a clear breathing space between navigation and shopping actions. */
@media(min-width:901px){.dxh .dxr3-center{min-width:48px}}

/* Highlight one commercial navigation route without creating an extra row. */
.dxh .dxr3-links>a.dxh-nav-special .dxh-nav-icon{color:#c24140}


/* v0.14.5 — third row geometry harmonization.
   The category button now fits inside its flex slot; navigation targets have
   equal geometry, consistent gaps and balanced responsive treatment. */
@media (min-width:1351px){
  .dxh .dxr3-in{--dxr3-gap:10px!important;min-height:60px!important}
  .dxh .dxr3-right{gap:10px!important}
  .dxh .dxr3-mega{flex:0 0 174px!important;width:174px!important;min-width:174px!important}
  .dxh .dxr3-mega>button{width:174px!important;min-width:174px!important;max-width:174px!important;height:42px!important;padding:0 12px!important}
  .dxh .dxr3-brands-mega{flex:0 0 162px!important;width:162px!important;min-width:162px!important}
  .dxh .dxr3-brands-mega>.dxr3-brand-trigger,
  .dxh .dxr3-brand{flex:0 0 162px!important;width:162px!important;min-width:162px!important;height:42px!important;padding:0 10px!important}
  .dxh .dxr3-links{gap:10px!important}
  .dxh .dxr3-links>a{flex:0 0 162px!important;width:162px!important;min-width:162px!important;height:42px!important;padding:0 9px!important}
  .dxh .dxr3-left{gap:8px!important}
  .dxh .dxr3-left>.dx-tool{flex:0 0 116px!important;width:116px!important;min-width:116px!important;min-height:42px!important;height:42px!important;padding-inline:6px!important}
  .dxh .dxr3-center{min-width:20px!important}
}
@media (min-width:1201px) and (max-width:1350px){
  .dxh .dxr3-in{--dxr3-gap:8px!important}
  .dxh .dxr3-right,.dxh .dxr3-links{gap:8px!important}
  .dxh .dxr3-mega{flex:0 0 162px!important;width:162px!important;min-width:162px!important}
  .dxh .dxr3-mega>button{width:162px!important;min-width:162px!important;height:42px!important;padding-inline:9px!important}
  .dxh .dxr3-brands-mega,.dxh .dxr3-brand{flex:0 0 149px!important;width:149px!important;min-width:149px!important}
  .dxh .dxr3-brands-mega>.dxr3-brand-trigger{width:149px!important;min-width:149px!important}
  .dxh .dxr3-links>a{flex:0 0 149px!important;width:149px!important;min-width:149px!important;padding-inline:5px!important;font-size:13px!important}
  .dxh .dxr3-left{gap:7px!important}
  .dxh .dxr3-left>.dx-tool{flex:0 0 110px!important;width:110px!important;min-width:110px!important;padding-inline:4px!important;gap:5px!important}
  .dxh .dxr3-center{min-width:14px!important}
}
/* Small laptops and tablets: use two clean lines rather than crush text. */
@media (min-width:601px) and (max-width:1200px){
  .dxh .dxr3-in{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding-block:9px!important}
  .dxh .dxr3-center{display:none!important}
  .dxh .dxr3-right{width:100%!important;justify-content:center!important;gap:8px!important;min-width:0!important}
  .dxh .dxr3-mega{flex:0 0 166px!important;width:166px!important;min-width:166px!important}
  .dxh .dxr3-mega>button{width:166px!important;min-width:166px!important;padding-inline:10px!important}
  .dxh .dxr3-brands-mega,.dxh .dxr3-brand{flex:0 0 137px!important;width:137px!important;min-width:137px!important}
  .dxh .dxr3-brands-mega>.dxr3-brand-trigger{width:137px!important;min-width:137px!important}
  .dxh .dxr3-links{flex:0 0 auto!important;gap:8px!important}
  .dxh .dxr3-links>a{flex:0 0 141px!important;width:141px!important;min-width:141px!important;padding-inline:4px!important;font-size:13px!important}
  .dxh .dxr3-left{width:100%!important;justify-content:center!important;gap:12px!important}
  .dxh .dxr3-left>.dx-tool{width:118px!important;min-width:118px!important;flex:0 0 118px!important}
}
@media (max-width:600px){
  .dxh .dxr3-in{width:calc(100% - 20px)!important;gap:8px!important;padding-block:9px!important}
  .dxh .dxr3-right{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;align-items:stretch!important;justify-content:stretch!important}
  .dxh .dxr3-mega{grid-column:span 2;display:flex!important;width:100%!important;min-width:0!important;flex:none!important;align-self:stretch!important}
  .dxh .dxr3-mega>button{width:100%!important;min-width:0!important;min-height:42px!important;height:42px!important}
  .dxh .dxr3-brands-mega{grid-column:span 1!important;width:100%!important;min-width:0!important;flex:none!important}
  .dxh .dxr3-brand{width:100%!important;min-width:0!important;flex:none!important}
  .dxh .dxr3-brands-mega>.dxr3-brand-trigger{width:100%!important;min-width:0!important;min-height:42px!important;height:42px!important}
  .dxh .dxr3-links{display:contents!important}
  .dxh .dxr3-links>a{flex:none!important;width:100%!important;min-width:0!important;min-height:42px!important;height:42px!important;padding-inline:4px!important;font-size:12px!important}
  .dxh .dxr3-left{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px!important;width:100%!important}
  .dxh .dxr3-left>.dx-tool{width:100%!important;min-width:0!important;flex:none!important;min-height:42px!important;height:42px!important;padding-inline:3px!important;gap:4px!important;font-size:11px!important}
  .dxh .dxr3-left>.dx-tool .dx-tool-icon,.dxh .dxr3-left>.dx-tool .dx-tool-icon svg{width:18px!important;height:18px!important;flex-basis:18px!important}
}

/* v0.14.8 — the tools bundle loads after header.css: do not reinstate the
   v0.14.5 fixed 162px nav slots or the brand trigger overlaps its neighbor. */
@media(min-width:1201px){
 .dxh .dxr3-right>.dxr3-mega{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;
 }
 .dxh .dxr3-mega>button{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;
  padding-inline:15px!important;height:44px!important;
 }
 .dxh .dxr3-links>.dxr3-brands-mega{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;
 }
 .dxh .dxr3-brands-mega>.dxr3-brand-trigger{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;
  padding-inline:10px!important;height:44px!important;
 }
 .dxh .dxr3-links>a{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;
  height:44px!important;padding-inline:9px!important;font-size:15px!important;
 }
 .dxh .dxr3-left>.dx-tool{
  flex:0 0 auto!important;width:auto!important;min-width:0!important;
  height:44px!important;min-height:44px!important;padding-inline:9px!important;
 }
 .dxh .dxr3-right,.dxh .dxr3-links{gap:16px!important}
 .dxh .dxr3-left{gap:9px!important}
}
@media(min-width:901px) and (max-width:1200px){
 .dxh .dxr3-in{flex-direction:column!important;align-items:stretch!important;flex-wrap:nowrap!important;gap:8px!important;padding-block:8px!important}
 .dxh .dxr3-right{width:100%!important;display:flex!important;justify-content:space-between!important;flex:1 1 auto!important;gap:10px!important}
 .dxh .dxr3-mega{flex:0 0 auto!important;width:auto!important;min-width:0!important}
 .dxh .dxr3-mega>button{width:auto!important;min-width:0!important;max-width:none!important;height:43px!important;padding-inline:11px!important}
 .dxh .dxr3-links{flex:1 1 auto!important;justify-content:space-between!important;gap:8px!important}
 .dxh .dxr3-links>a{flex:0 0 auto!important;width:auto!important;min-width:0!important;height:43px!important;padding-inline:7px!important;font-size:13px!important}
 .dxh .dxr3-links>.dxr3-brands-mega{flex:0 0 auto!important;width:auto!important;min-width:0!important}
 .dxh .dxr3-brands-mega>.dxr3-brand-trigger{width:auto!important;min-width:0!important;height:43px!important;padding-inline:7px!important}
 .dxh .dxr3-left{width:100%!important;justify-content:flex-start!important;gap:8px!important}
 .dxh .dxr3-left>.dx-tool{flex:0 0 auto!important;width:auto!important;min-width:0!important;height:43px!important;padding-inline:10px!important}
}
@media(max-width:900px){
 .dxh .dxr3-right{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;justify-content:stretch!important}
 .dxh .dxr3-right>.dxr3-mega{grid-column:auto!important;width:100%!important;min-width:0!important;flex:none!important}
 .dxh .dxr3-mega>button{width:100%!important;min-width:0!important;max-width:100%!important}
 .dxh .dxr3-links{display:contents!important}
 .dxh .dxr3-links>a{flex:none!important;width:100%!important;min-width:0!important}
 .dxh .dxr3-links>.dxr3-brands-mega{width:100%!important;min-width:0!important;flex:none!important}
 .dxh .dxr3-brands-mega>.dxr3-brand-trigger{width:100%!important;min-width:0!important}
 .dxh .dxr3-left{width:100%!important;display:flex!important;justify-content:space-around!important;gap:6px!important}
 .dxh .dxr3-left>.dx-tool{flex:1 1 0!important;width:auto!important;min-width:0!important}
}
@media(max-width:600px){
 .dxh .dxr3-right{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .dxh .dxr3-right>.dxr3-mega{grid-column:span 2!important}
 .dxh .dxr3-left{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .dxh .dxr3-left>.dx-tool{width:100%!important;min-width:0!important;flex:none!important}
}
