/* The theme's loading screen can obscure rendered storefront content. */
body.home .site-loading,
body.single-product .site-loading { display: none; }

.nntools-projects {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: stretch;
  width: min(1120px, calc(100% - 32px));
  margin: clamp(2rem, 5vw, 4rem) auto;
  border: 1px solid #e1e6e9;
  background: #faf8f5;
  color: #1a1a1a;
  text-align: start;
}

.nntools-projects-copy { padding: clamp(1.25rem, 4vw, 3.5rem); }
.nntools-projects h2 { margin: 0 0 .5rem; font-size: clamp(1.85rem, 3vw, 2.7rem); line-height: 1.15; }
.nntools-projects p { margin: 0 0 1.25rem; color: #424242; }
.nntools-projects ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ddd8d0; }
.nntools-projects li { margin: 0; border-bottom: 1px solid #ddd8d0; }
.nntools-projects a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding: .55rem .2rem; color: #242424; font-weight: 650; text-decoration: none; }
.nntools-projects a span { color: #a24b03; font-size: 1.3em; transition: transform 160ms ease; }
.nntools-projects a:hover { text-decoration: underline; text-underline-offset: .18em; }
.nntools-projects a:hover span { transform: translateX(-3px); }
.nntools-projects a:focus-visible, .nntools-offer-link:focus-visible { outline: 2px solid #193651; outline-offset: 3px; }
.nntools-projects-photo { min-width: 0; background: #fff; }
.nntools-projects-photo img { display: block; width: 100%; height: 100%; max-height: 470px; object-fit: contain; }
.nntools-offer { text-align: start; color: #242424; }
.nntools-offer-link { display: inline-block; padding: .7rem 1rem; background: #193651; color: #fff; font-weight: 650; border-radius: 4px; }
.nntools-offer-link:hover, .nntools-offer-link:focus-visible { color: #fff; text-decoration: underline; }
@media (max-width: 700px) {
  .nntools-projects { grid-template-columns: minmax(0, 1fr); }
  .nntools-projects-photo img { max-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .nntools-projects a span { transition: none; }
}

@media (max-width: 767px) {
  .elementor-element-2948966 .elementor-widget-machic-product-grid .products.mobile-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .elementor-element-2948966 .elementor-widget-machic-product-grid .products.mobile-2 > * {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

.nntools-purchase-info {
  margin-block: 1rem;
  padding: .75rem 1rem;
  border: 1px solid #e1e6e9;
  background: #faf8f5;
  color: #242424;
  text-align: start;
}

.nntools-purchase-info p { margin: 0; }
.nntools-purchase-info a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #193651;
  text-decoration: underline;
  text-underline-offset: .16em;
}
.nntools-purchase-info strong + a { margin-inline-start: .55rem; }
.nntools-purchase-info a:focus-visible { outline: 2px solid #193651; outline-offset: 2px; }

.nntools-mobile-navigation,
.nntools-menu-trigger { display: none; }

@media (max-width: 767px) {
  :root { --nntools-nav-height: calc(65px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-block-end: var(--nntools-nav-height); }
  body { padding-block-end: var(--nntools-nav-height); }
  html.nntools-menu-open { overflow: hidden; }

  .nntools-mobile-navigation { display: block; color: #142c43; }
  .nntools-mobile-navigation .dashicons::before { font-family: dashicons !important; font-weight: 400; }

  .nntools-bottom-nav {
    position: fixed;
    z-index: 1000;
    inset: auto 0 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: stretch;
    min-height: var(--nntools-nav-height);
    padding: 4px max(6px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
    border-top: 1px solid #dce2e8;
    background: #fff;
    box-shadow: 0 -4px 16px rgb(20 44 67 / 9%);
  }

  .nntools-bottom-nav a,
  .nntools-menu-enhanced .nntools-menu-trigger {
    display: flex;
    min-width: 0;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    padding: 3px 2px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #34485b;
    line-height: 1.15;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
  }

  .nntools-bottom-nav [aria-current="page"],
  .nntools-bottom-nav button[aria-expanded="true"] { background: #eef3f7; color: #142c43; font-weight: 750; }
  .nntools-bottom-nav a:active,
  .nntools-bottom-nav button:active { background: #e1eaf1; }
  .nntools-bottom-nav .dashicons { width: 21px; height: 21px; font-size: 21px; }
  html.pum-open .nntools-bottom-nav { visibility: hidden; }

  .nntools-mobile-menu {
    position: fixed;
    inset: auto 0 0;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    max-height: 88vh;
    max-height: 88dvh;
    margin: 0;
    padding: 1.2rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border: none;
    border-radius: 16px 16px 0 0;
    background: #fff;
    color: #142c43;
    font-family: inherit;
    text-align: start;
    box-shadow: 0 -8px 32px rgb(20 44 67 / 18%);
  }

  .nntools-mobile-menu::backdrop { background: rgb(20 44 67 / 58%); }
  .nntools-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: .8rem; }
  .nntools-menu-heading h2 { margin: 0; font-size: 1.4rem; line-height: 1.25; }
  .nntools-menu-heading form, .nntools-menu-search { margin: 0; }
  .nntools-menu-close { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 8px; background: #eef3f7; color: #142c43; }
  .nntools-menu-search label { display: block; margin-bottom: .3rem; font-weight: 650; }
  .nntools-menu-search > div { display: flex; gap: .45rem; }
  .nntools-menu-search input[type="search"] { flex: 1; min-width: 0; min-height: 46px; margin: 0; padding: .5rem .65rem; border: 1px solid #afbbc7; border-radius: 6px; background: #fff; color: #142c43; font-size: 16px; }
  .nntools-mobile-menu .nntools-menu-search input[type="search"]::placeholder { color: #526b83 !important; opacity: 1; }
  .nntools-menu-search button { min-height: 46px; padding: .45rem .85rem; border: 0; border-radius: 6px; background: #193651; color: #fff; font-weight: 650; }
  .nntools-menu-links h3 { margin: 1.1rem 0 .2rem; font-size: 1rem; }
  .nntools-menu-links ul { margin: 0; padding: 0; list-style: none; }
  .nntools-menu-links li + li { border-top: 1px solid #e5eaf0; }
  .nntools-menu-links a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 45px; color: #193651; font-weight: 600; text-decoration: none; }
  .nntools-menu-links .dashicons { color: #526b83; }
  .nntools-menu-support { display: flex; gap: .9rem; margin-top: .35rem; border-top: 1px solid #dce2e8; }
  .nntools-menu-support a { text-decoration: underline; text-underline-offset: .18em; }
  .nntools-mobile-navigation :focus-visible { outline: 2px solid #193651; outline-offset: 1px; }
}
