.makecnc-hsm-home-sections {
  width:100%;
  max-width:var(--makecnc-hsm-container-max, 1200px);
  margin:var(--makecnc-hsm-container-margin-y, 32px) auto;
  padding:var(--makecnc-hsm-container-padding-y, 22px) var(--makecnc-hsm-container-padding-x, 24px);
  box-sizing:border-box;
  overflow:hidden;
  clear:both;
}
.makecnc-hsm-home-sections * { box-sizing:border-box; }
.makecnc-hsm-home-sections.makecnc-hsm-framed {
  background:var(--makecnc-hsm-container-bg, #fff);
  border:var(--makecnc-hsm-container-border-width, 1px) solid rgba(15, 23, 42, .10);
  border-radius:var(--makecnc-hsm-container-radius, 14px);
  box-shadow:var(--makecnc-hsm-container-shadow, 0 10px 30px rgba(15,23,42,.07));
}
.makecnc-hsm-home-sections.makecnc-hsm-no-border { border-width:0; }
.makecnc-hsm-home-sections.makecnc-hsm-no-shadow { box-shadow:none; }
.makecnc-hsm-home-sections.makecnc-hsm-full-width {
  max-width:none;
  margin:var(--makecnc-hsm-container-margin-y, 32px) 0;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.makecnc-hsm-auto-fallback { width:100%; clear:both; }
.makecnc-hsm-section { margin: 36px 0; max-width:100%; }
.makecnc-hsm-section:first-child { margin-top:0; }
.makecnc-hsm-section:last-child { margin-bottom:0; }
.makecnc-hsm-section-banner { margin:0 0 18px; }
.makecnc-hsm-section-banner img { width:100%; height:auto; display:block; border-radius:10px; }
.makecnc-hsm-section-header { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin:0 0 18px; border-bottom:1px solid rgba(0,0,0,.08); padding-bottom:12px; }
.makecnc-hsm-section-header h2 { margin:0; font-size:clamp(24px, 3vw, 38px); line-height:1.1; }
.makecnc-hsm-subtitle { margin:6px 0 0; font-size:16px; opacity:.82; }
.makecnc-hsm-description p { margin:8px 0 0; }
.makecnc-hsm-view-more { display:inline-flex; align-items:center; justify-content:center; padding:9px 14px; border:1px solid currentColor; border-radius:999px; text-decoration:none; white-space:nowrap; font-weight:700; }
.makecnc-hsm-products { display:grid; grid-template-columns:repeat(var(--makecnc-hsm-cols, 4), minmax(0, 1fr)); gap:22px; max-width:100%; min-width:0; }
.makecnc-hsm-product-card { background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:10px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.05); transition:transform .16s ease, box-shadow .16s ease; min-width:0; }
.makecnc-hsm-product-card:hover { transform:translateY(-2px); box-shadow:0 7px 20px rgba(0,0,0,.10); }
.makecnc-hsm-product-image { display:block; background:#f8f8f8; }
.makecnc-hsm-product-image img { display:block; width:100%; height:auto; }
.makecnc-hsm-product-body { padding:14px; }
.makecnc-hsm-product-category { font-size:12px; text-transform:uppercase; letter-spacing:.06em; opacity:.72; margin-bottom:6px; }
.makecnc-hsm-product-title { font-size:16px; line-height:1.25; margin:0 0 9px; }
.makecnc-hsm-product-title a { text-decoration:none; color:inherit; }
.makecnc-hsm-product-excerpt { font-size:13px; line-height:1.45; opacity:.82; margin:0 0 10px; }
.makecnc-hsm-product-price { font-weight:700; margin:0 0 12px; }
.makecnc-hsm-add-to-cart.button { width:100%; text-align:center; }
.makecnc-hsm-layout-compact .makecnc-hsm-products { grid-template-columns:1fr; gap:12px; }
.makecnc-hsm-layout-compact .makecnc-hsm-product-card { display:grid; grid-template-columns:120px 1fr; align-items:center; }
.makecnc-hsm-layout-compact .makecnc-hsm-product-image img { height:120px; object-fit:cover; }
.makecnc-hsm-layout-horizontal .makecnc-hsm-products { display:flex; overflow-x:auto; overflow-y:hidden; gap:18px; padding-bottom:12px; scroll-snap-type:x proximity; max-width:100%; -webkit-overflow-scrolling:touch; }
.makecnc-hsm-layout-horizontal .makecnc-hsm-product-card { flex:0 0 min(260px, 80vw); scroll-snap-align:start; }
.makecnc-hsm-empty { background:#fff8e5; border:1px solid #f5d37a; padding:12px; border-radius:8px; }
@media (max-width: 1100px) {
  .makecnc-hsm-cols-1 .makecnc-hsm-products { grid-template-columns:1fr; }
  .makecnc-hsm-cols-2 .makecnc-hsm-products { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .makecnc-hsm-cols-3 .makecnc-hsm-products,
  .makecnc-hsm-cols-4 .makecnc-hsm-products,
  .makecnc-hsm-cols-5 .makecnc-hsm-products,
  .makecnc-hsm-cols-6 .makecnc-hsm-products { grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) { .makecnc-hsm-products { grid-template-columns:repeat(2, minmax(0, 1fr)); } .makecnc-hsm-cols-1 .makecnc-hsm-products { grid-template-columns:1fr; } .makecnc-hsm-section-header { align-items:flex-start; flex-direction:column; } }
@media (max-width: 520px) { .makecnc-hsm-home-sections { padding-left:clamp(12px, 4vw, var(--makecnc-hsm-container-padding-x, 24px)); padding-right:clamp(12px, 4vw, var(--makecnc-hsm-container-padding-x, 24px)); } .makecnc-hsm-products { grid-template-columns:1fr; } .makecnc-hsm-layout-compact .makecnc-hsm-product-card { grid-template-columns:1fr; } .makecnc-hsm-layout-compact .makecnc-hsm-product-image img { height:auto; } }

/* Product short-description style controls. Normal is explicit to prevent theme inheritance from forcing bold text. */
.makecnc-hsm-product-excerpt { font-weight:400; font-style:normal; }
.makecnc-hsm-excerpt-style-normal .makecnc-hsm-product-excerpt { font-weight:400; font-style:normal; }
.makecnc-hsm-excerpt-style-bold .makecnc-hsm-product-excerpt { font-weight:700; font-style:normal; }
.makecnc-hsm-excerpt-style-italic .makecnc-hsm-product-excerpt { font-weight:400; font-style:italic; }
.makecnc-hsm-excerpt-style-bold_italic .makecnc-hsm-product-excerpt { font-weight:700; font-style:italic; }

/* Section/category title style controls. Theme default leaves existing theme styling alone. */
.makecnc-hsm-section-header .makecnc-hsm-section-title { font-size: var(--makecnc-hsm-section-title-size, clamp(24px, 3vw, 38px)); }
.makecnc-hsm-section-title-style-normal .makecnc-hsm-section-title { font-weight:400; font-style:normal; }
.makecnc-hsm-section-title-style-bold .makecnc-hsm-section-title { font-weight:700; font-style:normal; }
.makecnc-hsm-section-title-style-italic .makecnc-hsm-section-title { font-weight:400; font-style:italic; }
.makecnc-hsm-section-title-style-bold_italic .makecnc-hsm-section-title { font-weight:700; font-style:italic; }

/* v1.1.8 expanded frontend typography controls */
.makecnc-hsm-section-header .makecnc-hsm-section-title { font-size: var(--makecnc-hsm-section-title-size, clamp(24px, 3vw, 38px)); }
.makecnc-hsm-subtitle { font-size: var(--makecnc-hsm-subtitle-size, 16px); }
.makecnc-hsm-description { font-size: var(--makecnc-hsm-description-size, inherit); }
.makecnc-hsm-view-more { font-size: var(--makecnc-hsm-view-more-size, inherit); }
.makecnc-hsm-product-title { font-size: var(--makecnc-hsm-product-title-size, 16px); }
.makecnc-hsm-product-category { font-size: var(--makecnc-hsm-category-size, 12px); }
.makecnc-hsm-product-excerpt { font-size: var(--makecnc-hsm-excerpt-size, 13px); }
.makecnc-hsm-product-price { font-size: var(--makecnc-hsm-price-size, inherit); }
.makecnc-hsm-add-to-cart.button { font-size: var(--makecnc-hsm-button-size, inherit); }

.makecnc-hsm-section-title-style-normal .makecnc-hsm-section-title,
.makecnc-hsm-subtitle-style-normal .makecnc-hsm-subtitle,
.makecnc-hsm-description-style-normal .makecnc-hsm-description,
.makecnc-hsm-view-more-style-normal .makecnc-hsm-view-more,
.makecnc-hsm-product-title-style-normal .makecnc-hsm-product-title,
.makecnc-hsm-category-style-normal .makecnc-hsm-product-category,
.makecnc-hsm-excerpt-style-normal .makecnc-hsm-product-excerpt,
.makecnc-hsm-price-style-normal .makecnc-hsm-product-price,
.makecnc-hsm-button-style-normal .makecnc-hsm-add-to-cart.button { font-weight:400; font-style:normal; }

.makecnc-hsm-section-title-style-bold .makecnc-hsm-section-title,
.makecnc-hsm-subtitle-style-bold .makecnc-hsm-subtitle,
.makecnc-hsm-description-style-bold .makecnc-hsm-description,
.makecnc-hsm-view-more-style-bold .makecnc-hsm-view-more,
.makecnc-hsm-product-title-style-bold .makecnc-hsm-product-title,
.makecnc-hsm-category-style-bold .makecnc-hsm-product-category,
.makecnc-hsm-excerpt-style-bold .makecnc-hsm-product-excerpt,
.makecnc-hsm-price-style-bold .makecnc-hsm-product-price,
.makecnc-hsm-button-style-bold .makecnc-hsm-add-to-cart.button { font-weight:700; font-style:normal; }

.makecnc-hsm-section-title-style-italic .makecnc-hsm-section-title,
.makecnc-hsm-subtitle-style-italic .makecnc-hsm-subtitle,
.makecnc-hsm-description-style-italic .makecnc-hsm-description,
.makecnc-hsm-view-more-style-italic .makecnc-hsm-view-more,
.makecnc-hsm-product-title-style-italic .makecnc-hsm-product-title,
.makecnc-hsm-category-style-italic .makecnc-hsm-product-category,
.makecnc-hsm-excerpt-style-italic .makecnc-hsm-product-excerpt,
.makecnc-hsm-price-style-italic .makecnc-hsm-product-price,
.makecnc-hsm-button-style-italic .makecnc-hsm-add-to-cart.button { font-weight:400; font-style:italic; }

.makecnc-hsm-section-title-style-bold_italic .makecnc-hsm-section-title,
.makecnc-hsm-subtitle-style-bold_italic .makecnc-hsm-subtitle,
.makecnc-hsm-description-style-bold_italic .makecnc-hsm-description,
.makecnc-hsm-view-more-style-bold_italic .makecnc-hsm-view-more,
.makecnc-hsm-product-title-style-bold_italic .makecnc-hsm-product-title,
.makecnc-hsm-category-style-bold_italic .makecnc-hsm-product-category,
.makecnc-hsm-excerpt-style-bold_italic .makecnc-hsm-product-excerpt,
.makecnc-hsm-price-style-bold_italic .makecnc-hsm-product-price,
.makecnc-hsm-button-style-bold_italic .makecnc-hsm-add-to-cart.button { font-weight:700; font-style:italic; }

/* v1.2.1 mobile section navigation and visitor-selectable product modes */

.makecnc-hsm-mobile-view-switcher { display:none; }
@media (max-width: 900px) {
  .makecnc-hsm-mobile-view-switcher {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:0 0 14px;
    padding:12px;
    border:1px solid rgba(15, 23, 42, .10);
    border-radius:12px;
    background:rgba(248,250,252,.96);
  }
  .makecnc-hsm-mobile-view-switcher-label {
    font-weight:700;
    white-space:nowrap;
  }
  .makecnc-hsm-mobile-view-switcher-buttons {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    justify-content:flex-end;
  }
  .makecnc-hsm-mobile-view-button {
    appearance:none;
    border:1px solid rgba(15,23,42,.16);
    background:#fff;
    color:inherit;
    border-radius:999px;
    min-height:38px;
    padding:8px 12px;
    font-weight:700;
    cursor:pointer;
  }
  .makecnc-hsm-mobile-view-button.is-active {
    border-color:rgba(15,23,42,.48);
    box-shadow:0 2px 8px rgba(15,23,42,.12);
  }
}
@media (max-width: 420px) {
  .makecnc-hsm-mobile-view-switcher {
    align-items:flex-start;
    flex-direction:column;
  }
  .makecnc-hsm-mobile-view-switcher-buttons {
    width:100%;
    justify-content:flex-start;
  }
}

.makecnc-hsm-section-jump-nav { display:none; }
@media (max-width: 900px) {
  .makecnc-hsm-section-jump-nav {
    display:block;
    margin:0 0 18px;
    padding:12px;
    border:1px solid rgba(15, 23, 42, .10);
    border-radius:12px;
    background:rgba(248,250,252,.96);
  }
  .makecnc-hsm-section-jump-label {
    display:block;
    font-weight:700;
    margin:0 0 8px;
  }
  .makecnc-hsm-section-jump-links {
    display:flex;
    gap:8px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:2px;
  }
  .makecnc-hsm-section-jump {
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 12px;
    border-radius:999px;
    border:1px solid rgba(15,23,42,.16);
    background:#fff;
    color:inherit;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
  }
  .makecnc-hsm-section-jump:focus,
  .makecnc-hsm-section-jump:hover { text-decoration:none; transform:translateY(-1px); }
}

@media (max-width: 900px) {
  .makecnc-hsm-mobile-view-large_single .makecnc-hsm-products {
    grid-template-columns:1fr !important;
    gap:18px;
  }
  .makecnc-hsm-mobile-view-large_single .makecnc-hsm-product-card {
    max-width:620px;
    width:100%;
    margin-left:auto;
    margin-right:auto;
  }
  .makecnc-hsm-mobile-view-large_single .makecnc-hsm-product-image img {
    width:100%;
    height:auto;
  }
  .makecnc-hsm-mobile-view-large_single .makecnc-hsm-layout-compact .makecnc-hsm-product-card {
    display:block;
  }
  .makecnc-hsm-mobile-view-large_single .makecnc-hsm-layout-compact .makecnc-hsm-product-image img {
    height:auto;
  }

  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-products {
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:10px;
  }
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-product-card {
    border-radius:9px;
    box-shadow:none;
    cursor:pointer;
  }
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-product-card:hover {
    transform:none;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
  }
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-product-image img {
    aspect-ratio:1 / 1;
    object-fit:cover;
    width:100%;
    height:auto;
  }
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-product-body { padding:8px; }
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-product-category,
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-product-excerpt,
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-add-to-cart.button { display:none; }
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-product-title {
    font-size:12px;
    line-height:1.2;
    margin:0 0 5px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-product-price {
    font-size:12px;
    margin:0;
  }
}

@media (max-width: 520px) {
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-products {
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

.makecnc-hsm-preview-modal {
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(15,23,42,.72);
}
.makecnc-hsm-preview-modal.is-open { display:flex; }
.makecnc-hsm-preview-dialog {
  width:min(92vw, 560px);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  color:#111827;
  border-radius:16px;
  box-shadow:0 24px 80px rgba(0,0,0,.32);
  position:relative;
}
.makecnc-hsm-preview-close {
  position:absolute;
  top:8px;
  right:8px;
  width:38px;
  height:38px;
  border:0;
  border-radius:999px;
  background:rgba(17,24,39,.88);
  color:#fff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.makecnc-hsm-preview-image img {
  display:block;
  width:100%;
  height:auto;
  border-radius:16px 16px 0 0;
}
.makecnc-hsm-preview-body { padding:16px; }
.makecnc-hsm-preview-title { margin:0 42px 10px 0; font-size:20px; line-height:1.2; }
.makecnc-hsm-preview-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.makecnc-hsm-preview-actions a { flex:1 1 160px; text-align:center; }
.makecnc-hsm-preview-view-product {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  text-decoration:none;
  font-weight:700;
}
.makecnc-hsm-preview-view-product:hover { color:#fff; text-decoration:none; }
@media (min-width: 901px) { .makecnc-hsm-menu-injected { display:none !important; } }

/* v1.2.0 anchor comfort and compact thumbnail image fit */
.makecnc-hsm-section { scroll-margin-top:90px; }
@media (max-width: 900px) {
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-product-image {
    display:flex;
    align-items:center;
    justify-content:center;
    aspect-ratio:1 / 1;
    background:#f8f8f8;
    overflow:hidden;
  }
  .makecnc-hsm-mobile-view-thumb_grid .makecnc-hsm-product-image img {
    width:100%;
    height:100%;
    object-fit:contain;
  }
}

/* v1.2.2 stronger mobile section navigation visibility and menu fallback */
@media (max-width: 900px) {
  .makecnc-hsm-home-sections.makecnc-hsm-mobile-nav-enabled .makecnc-hsm-section-jump-nav {
    display:block !important;
    position:sticky;
    top:0;
    z-index:50;
  }
  .makecnc-hsm-menu-injected.makecnc-hsm-menu-heading {
    padding:10px 14px;
    font-weight:700;
    opacity:.85;
  }
  .makecnc-hsm-menu-injected a {
    display:block;
  }
  .makecnc-hsm-floating-section-menu {
    position:fixed;
    left:12px;
    right:12px;
    bottom:12px;
    z-index:999998;
    max-width:520px;
    margin:0 auto;
    border:1px solid rgba(15,23,42,.16);
    border-radius:14px;
    background:#fff;
    box-shadow:0 12px 40px rgba(15,23,42,.22);
    overflow:hidden;
  }
  .makecnc-hsm-floating-section-menu summary {
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    cursor:pointer;
    font-weight:700;
    list-style:none;
  }
  .makecnc-hsm-floating-section-menu summary::-webkit-details-marker { display:none; }
  .makecnc-hsm-floating-section-links {
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding:0 12px 12px;
    -webkit-overflow-scrolling:touch;
  }
  .makecnc-hsm-floating-section-links a {
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 12px;
    border-radius:999px;
    border:1px solid rgba(15,23,42,.16);
    background:#f8fafc;
    color:inherit;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
  }
}
@media (min-width: 901px) {
  .makecnc-hsm-floating-section-menu { display:none !important; }
}

/* v1.2.3 - keep phone view controls available after section jumps and mirror them in mobile menus */
.makecnc-hsm-mobile-toolbar { display:contents; }
@media (max-width: 900px) {
  .makecnc-hsm-mobile-toolbar {
    display:block;
    position:sticky;
    top:0;
    z-index:80;
    margin:0 0 18px;
  }
  .makecnc-hsm-mobile-toolbar .makecnc-hsm-mobile-view-switcher {
    margin:0 0 8px;
    box-shadow:0 6px 18px rgba(15,23,42,.08);
  }
  .makecnc-hsm-mobile-toolbar .makecnc-hsm-section-jump-nav,
  .makecnc-hsm-home-sections.makecnc-hsm-mobile-nav-enabled .makecnc-hsm-mobile-toolbar .makecnc-hsm-section-jump-nav {
    position:relative !important;
    top:auto !important;
    z-index:auto !important;
    margin:0;
    box-shadow:0 6px 18px rgba(15,23,42,.08);
  }
  .makecnc-hsm-section[id] {
    scroll-margin-top:170px;
  }

  .makecnc-hsm-menu-subheading {
    padding:8px 14px;
    font-weight:700;
    opacity:.78;
  }
  .makecnc-hsm-menu-view {
    padding:8px 14px 12px;
  }
  .makecnc-hsm-menu-view-controls,
  .makecnc-hsm-floating-view-controls {
    display:block;
  }
  .makecnc-hsm-menu-view-label,
  .makecnc-hsm-floating-view-controls .makecnc-hsm-menu-view-label {
    display:block;
    font-weight:700;
    margin:0 0 8px;
  }
  .makecnc-hsm-menu-view-buttons,
  .makecnc-hsm-floating-view-controls .makecnc-hsm-menu-view-buttons {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }
  .makecnc-hsm-menu-view .makecnc-hsm-mobile-view-button,
  .makecnc-hsm-floating-view-controls .makecnc-hsm-mobile-view-button {
    appearance:none;
    border:1px solid rgba(15,23,42,.16);
    background:#fff;
    color:inherit;
    border-radius:999px;
    min-height:38px;
    padding:8px 12px;
    font-weight:700;
    cursor:pointer;
  }
  .makecnc-hsm-menu-view .makecnc-hsm-mobile-view-button.is-active,
  .makecnc-hsm-floating-view-controls .makecnc-hsm-mobile-view-button.is-active {
    border-color:rgba(15,23,42,.48);
    box-shadow:0 2px 8px rgba(15,23,42,.12);
  }
  .makecnc-hsm-floating-inner {
    padding:0 12px 12px;
  }
  .makecnc-hsm-floating-view-slot:empty {
    display:none;
  }
  .makecnc-hsm-floating-view-slot:not(:empty) {
    padding-bottom:10px;
    border-bottom:1px solid rgba(15,23,42,.10);
    margin-bottom:10px;
  }
  .makecnc-hsm-floating-section-links {
    padding:0;
  }
}


/* v1.2.5 - desktop section jump buttons only. Phone/mobile behavior is unchanged. */
@media (min-width: 901px) {
  .makecnc-hsm-mobile-toolbar {
    display:block;
    position:sticky;
    top:0;
    z-index:70;
    margin:0 0 24px;
  }
  .makecnc-hsm-mobile-toolbar .makecnc-hsm-mobile-view-switcher {
    display:none !important;
  }
  .makecnc-hsm-mobile-toolbar .makecnc-hsm-section-jump-nav,
  .makecnc-hsm-home-sections.makecnc-hsm-mobile-nav-enabled .makecnc-hsm-mobile-toolbar .makecnc-hsm-section-jump-nav {
    display:block !important;
    position:relative !important;
    top:auto !important;
    z-index:auto !important;
    margin:0;
    padding:12px 14px;
    border:1px solid rgba(15,23,42,.14);
    border-radius:16px;
    background:rgba(255,255,255,.96);
    box-shadow:0 8px 24px rgba(15,23,42,.10);
    backdrop-filter:blur(6px);
  }
  .makecnc-hsm-mobile-toolbar .makecnc-hsm-section-jump-label {
    display:block;
    font-weight:700;
    margin:0 0 8px;
  }
  .makecnc-hsm-mobile-toolbar .makecnc-hsm-section-jump-links {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    overflow:visible;
    padding:0;
  }
  .makecnc-hsm-mobile-toolbar .makecnc-hsm-section-jump {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 14px;
    border-radius:999px;
    border:1px solid rgba(15,23,42,.16);
    background:#fff;
    color:inherit;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
  }
  .makecnc-hsm-mobile-toolbar .makecnc-hsm-section-jump:focus,
  .makecnc-hsm-mobile-toolbar .makecnc-hsm-section-jump:hover {
    text-decoration:none;
    transform:translateY(-1px);
    box-shadow:0 4px 12px rgba(15,23,42,.10);
  }
  .makecnc-hsm-section[id] {
    scroll-margin-top:125px;
  }
}

/* v1.2.6 - desktop sticky jump nav follow fix. Phone/mobile behavior is unchanged. */
@media (min-width: 901px) {
  .makecnc-hsm-home-sections {
    overflow:visible;
  }
  .makecnc-hsm-mobile-toolbar {
    position:-webkit-sticky;
    position:sticky;
    top:12px;
    z-index:100;
  }
  .makecnc-hsm-section[id] {
    scroll-margin-top:150px;
  }
}

/* v1.2.7 - desktop fixed jump follower. Phone/mobile behavior is unchanged. */
.makecnc-hsm-desktop-floating-jump {
  display:none;
}
@media (min-width: 901px) {
  .makecnc-hsm-desktop-floating-jump {
    position:fixed;
    left:16px;
    right:auto;
    top:12px;
    width:auto;
    max-width:calc(100vw - 32px);
    z-index:99990;
    box-sizing:border-box;
    opacity:0;
    transform:translateY(-8px);
    pointer-events:none;
    transition:opacity .16s ease, transform .16s ease;
  }
  .makecnc-hsm-desktop-floating-jump.is-visible {
    display:block;
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }
  .makecnc-hsm-desktop-floating-jump .makecnc-hsm-section-jump-nav {
    display:block !important;
    margin:0;
    padding:12px 14px;
    border:1px solid rgba(15,23,42,.14);
    border-radius:16px;
    background:rgba(255,255,255,.97);
    box-shadow:0 10px 30px rgba(15,23,42,.16);
    backdrop-filter:blur(7px);
  }
  .makecnc-hsm-desktop-floating-jump .makecnc-hsm-section-jump-label {
    display:block;
    font-weight:700;
    margin:0 0 8px;
  }
  .makecnc-hsm-desktop-floating-jump .makecnc-hsm-section-jump-links {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    overflow:visible;
    padding:0;
  }
  .makecnc-hsm-desktop-floating-jump .makecnc-hsm-section-jump {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 14px;
    border-radius:999px;
    border:1px solid rgba(15,23,42,.16);
    background:#fff;
    color:inherit;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
  }
  .makecnc-hsm-desktop-floating-jump .makecnc-hsm-section-jump:focus,
  .makecnc-hsm-desktop-floating-jump .makecnc-hsm-section-jump:hover {
    text-decoration:none;
    transform:translateY(-1px);
    box-shadow:0 4px 12px rgba(15,23,42,.10);
  }
  .makecnc-hsm-desktop-floating-jump .makecnc-hsm-section-jump.is-active,
  .makecnc-hsm-mobile-toolbar .makecnc-hsm-section-jump.is-active {
    border-color:rgba(15,23,42,.42);
    box-shadow:0 4px 14px rgba(15,23,42,.12);
  }
}
@media (max-width: 900px) {
  .makecnc-hsm-desktop-floating-jump {
    display:none !important;
  }
}
