:root {
  --phadin-green-950: #052e22;
  --phadin-green-900: #063e2d;
  --phadin-green-800: #0b4f39;
  --phadin-green-700: #0f6b4b;
  --phadin-green-600: #12805a;
  --phadin-green-500: #1a9a6d;
  --phadin-green-soft-1: #eaf5f0;
  --phadin-green-soft-2: #f4faf7;
  --phadin-green-soft-3: #f8fcfa;
  --phadin-accent-700: #a84e2d;
  --phadin-accent-600: #c86b3c;
  --phadin-accent-500: #da7b46;
  --phadin-accent-soft: #f9eee8;
  --phadin-text-900: #1f2a24;
  --phadin-text-800: #2a3b34;
  --phadin-text-700: #40544c;
  --phadin-text-600: #5f6b65;
  --phadin-border: #d9e5de;
  --phadin-border-strong: #c7d8cf;
  --phadin-shadow-sm: 0 4px 12px rgba(6, 62, 45, 0.05);
  --phadin-shadow-md: 0 10px 28px rgba(6, 62, 45, 0.08);
  --phadin-shadow-lg: 0 18px 40px rgba(6, 62, 45, 0.12);
}

body.phadin-native-menu,
body.phadin-native-menu button,
body.phadin-native-menu input,
body.phadin-native-menu select,
body.phadin-native-menu textarea {
  font-family: Play, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (min-width: 850px) {
  body.phadin-native-menu .menu_show {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 176px;
    min-height: 48px;
    padding: 8px 18px;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  }

  body.phadin-native-menu .menu_show:hover,
  body.phadin-native-menu .menu_show:focus-visible,
  body.phadin-native-menu .menu_show.active {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 22px rgba(5, 46, 34, 0.2);
    outline: 0;
  }

  body.phadin-native-menu .menu_show .image-show-menu {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px;
    object-fit: contain;
  }

  body.phadin-native-menu .menu_show .catpro {
    color: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
  }

  body.phadin-native-menu .menu-show-click,
  body.phadin-native-menu .menu-show-click .menu-click {
    position: static;
  }

  body.phadin-native-menu .menu-show-click .menu-click {
    display: none !important;
  }

  body.phadin-native-menu .menu-show-click.is-open .menu-click {
    display: block !important;
  }

  body.phadin-native-menu .menu-show-click .menu-click > .mbasic {
    position: fixed !important;
    top: var(--phadin-native-menu-top, 108px) !important;
    right: auto !important;
    left: 50% !important;
    z-index: 9999;
    width: min(1500px, calc(100vw - 32px)) !important;
    height: min(560px, calc(100dvh - var(--phadin-native-menu-top, 108px) - 12px)) !important;
    min-height: min(460px, calc(100dvh - var(--phadin-native-menu-top, 108px) - 12px)) !important;
    max-width: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(199, 216, 207, 0.92);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--phadin-shadow-lg);
    transform: translateX(-50%) !important;
  }

  body.phadin-native-menu.admin-bar .menu-show-click .menu-click > .mbasic {
    z-index: 99999;
  }

  body.phadin-native-menu #cssmenu_content,
  body.phadin-native-menu #cssmenu_content * {
    box-sizing: border-box;
  }

  body.phadin-native-menu #cssmenu_content {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: inherit;
    background: linear-gradient(180deg, #fbfdfc 0%, #f6faf8 100%);
    color: var(--phadin-text-900);
  }

  body.phadin-native-menu #cssmenu_content ul,
  body.phadin-native-menu #cssmenu_content li {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  body.phadin-native-menu #cssmenu_content a {
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
  }

  body.phadin-native-menu #cssmenu_content > .menu-product {
    position: static !important;
    display: block !important;
    width: 308px !important;
    min-width: 308px !important;
    max-width: 308px !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 13px !important;
    overflow: hidden auto;
    border-right: 1px solid var(--phadin-border);
    background: rgba(255, 255, 255, 0.95);
    scrollbar-width: thin;
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0 {
    position: static;
    display: block;
    width: 100%;
    min-height: 66px;
    margin-bottom: 5px;
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:last-child {
    margin-bottom: 0;
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0 > a.lv_0 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-width: 0;
    min-height: 66px;
    padding: 10px 38px 10px 12px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 13px;
    background: transparent;
    color: var(--phadin-text-900);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    transition: background-color 190ms ease, border-color 190ms ease, color 190ms ease, box-shadow 190ms ease;
  }

  body.phadin-native-menu #cssmenu_content .phadin-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: hidden;
    border: 1px solid #cfe0d8;
    border-radius: 12px;
    background: var(--phadin-green-soft-1);
    color: var(--phadin-green-700);
  }

  body.phadin-native-menu #cssmenu_content .phadin-menu-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  body.phadin-native-menu #cssmenu_content .phadin-menu-copy {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
  }

  body.phadin-native-menu #cssmenu_content .phadin-menu-arrow {
    position: absolute;
    top: 50%;
    right: 14px;
    display: block;
    width: 16px;
    flex: 0 0 auto;
    color: var(--phadin-green-800);
    font-size: 23px;
    line-height: 1;
    text-align: center;
    transform: translateY(-50%);
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:hover > a.lv_0,
  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:focus-within > a.lv_0,
  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0.current-menu-item > a.lv_0,
  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0.current-menu-ancestor > a.lv_0,
  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:first-child > a.lv_0 {
    border-color: #f0c9b4;
    background: linear-gradient(180deg, #fff8f4 0%, #fef2eb 100%);
    color: var(--phadin-accent-600);
    box-shadow: inset 4px 0 0 var(--phadin-accent-500), 0 5px 14px rgba(168, 78, 45, 0.07);
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:hover > a.lv_0 .phadin-menu-icon,
  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:focus-within > a.lv_0 .phadin-menu-icon,
  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:first-child > a.lv_0 .phadin-menu-icon {
    border-color: var(--phadin-green-700);
    background: var(--phadin-green-700);
    box-shadow: 0 7px 18px rgba(15, 107, 75, 0.2);
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:hover > a.lv_0 .phadin-menu-icon img,
  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:focus-within > a.lv_0 .phadin-menu-icon img,
  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:first-child > a.lv_0 .phadin-menu-icon img {
    filter: brightness(0) invert(1);
  }

  body.phadin-native-menu #cssmenu_content > .menu-product:has(> li.level_0:hover) > li.level_0:first-child:not(:hover) > a.lv_0,
  body.phadin-native-menu #cssmenu_content > .menu-product:has(> li.level_0:focus-within) > li.level_0:first-child:not(:focus-within) > a.lv_0 {
    border-color: transparent;
    background: transparent;
    color: var(--phadin-text-900);
    box-shadow: none;
  }

  body.phadin-native-menu #cssmenu_content > .menu-product:has(> li.level_0:hover) > li.level_0:first-child:not(:hover) > a.lv_0 .phadin-menu-icon,
  body.phadin-native-menu #cssmenu_content > .menu-product:has(> li.level_0:focus-within) > li.level_0:first-child:not(:focus-within) > a.lv_0 .phadin-menu-icon {
    border-color: #cfe0d8;
    background: var(--phadin-green-soft-1);
    box-shadow: none;
  }

  body.phadin-native-menu #cssmenu_content > .menu-product:has(> li.level_0:hover) > li.level_0:first-child:not(:hover) > a.lv_0 .phadin-menu-icon img,
  body.phadin-native-menu #cssmenu_content > .menu-product:has(> li.level_0:focus-within) > li.level_0:first-child:not(:focus-within) > a.lv_0 .phadin-menu-icon img {
    filter: none;
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0 > .wrapper_children_level0 {
    position: absolute;
    top: 0 !important;
    left: 308px !important;
    z-index: 2;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: stretch;
    gap: 14px;
    width: calc(100% - 308px) !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    padding: 15px;
    overflow: hidden auto;
    background: linear-gradient(180deg, #fbfdfc 0%, #f6faf8 100%);
    scrollbar-width: thin;
    scrollbar-color: var(--phadin-border-strong) transparent;
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.menu-columns-2 > .wrapper_children_level0 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.menu-columns-3 > .wrapper_children_level0 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.menu-columns-4 > .wrapper_children_level0 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:first-child > .wrapper_children_level0,
  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:hover > .wrapper_children_level0,
  body.phadin-native-menu #cssmenu_content > .menu-product > li.level_0:focus-within > .wrapper_children_level0 {
    display: grid;
  }

  body.phadin-native-menu #cssmenu_content > .menu-product:has(> li.level_0:hover) > li.level_0:first-child:not(:hover) > .wrapper_children_level0,
  body.phadin-native-menu #cssmenu_content > .menu-product:has(> li.level_0:focus-within) > li.level_0:first-child:not(:focus-within) > .wrapper_children_level0 {
    display: none;
  }

  body.phadin-native-menu #cssmenu_content li.level_1 {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    padding: 12px;
    overflow: hidden;
    border: 1px solid var(--phadin-border-strong);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--phadin-shadow-sm);
  }

  body.phadin-native-menu #cssmenu_content li.level_1 > a {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 52px;
    padding: 9px 16px;
    margin-bottom: 10px;
    border: 1px solid #cfe0d8;
    border-radius: 12px;
    background: linear-gradient(180deg, #f2fbf7 0%, #eaf5f0 100%);
    color: var(--phadin-green-700);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: break-word;
  }

  body.phadin-native-menu #cssmenu_content li.level_1 > a .phadin-menu-arrow {
    display: none;
  }

  body.phadin-native-menu #cssmenu_content li.level_1 > a:hover,
  body.phadin-native-menu #cssmenu_content li.level_1 > a:focus-visible {
    border-color: rgba(15, 107, 75, 0.38);
    color: var(--phadin-green-900);
    outline: none;
  }

  body.phadin-native-menu #cssmenu_content .wrapper_children_level1 {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
  }

  body.phadin-native-menu #cssmenu_content li.level_2 {
    display: block;
    min-width: 0;
  }

  body.phadin-native-menu #cssmenu_content li.level_2 > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 40px;
    padding: 6px 10px 6px 29px;
    border: 1px solid var(--phadin-border);
    border-radius: 10px;
    background: #fff;
    color: var(--phadin-text-900);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.32;
    overflow-wrap: break-word;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  body.phadin-native-menu #cssmenu_content li.level_2 > a::before {
    position: absolute;
    top: 50%;
    left: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--phadin-green-600);
    box-shadow: 0 0 0 4px rgba(18, 128, 90, 0.09);
    content: "";
    transform: translateY(-50%);
  }

  /* Keep Flatsome's inherited list rules from changing the WordPress hierarchy. */
  body.phadin-native-menu #cssmenu_content.menu > ul.menu-product > li.level_0 > ul.wrapper_children_level0 > li.level_1 {
    display: flex !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.phadin-native-menu #cssmenu_content.menu > ul.menu-product > li.level_0 > ul.wrapper_children_level0 > li.level_1 > a {
    display: flex !important;
    height: auto !important;
    min-height: 52px !important;
  }

  body.phadin-native-menu #cssmenu_content.menu > ul.menu-product > li.level_0 > ul.wrapper_children_level0 > li.level_1 > ul.wrapper_children_level1 {
    display: grid !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.phadin-native-menu #cssmenu_content.menu > ul.menu-product > li.level_0 > ul.wrapper_children_level0 > li.level_1 > ul.wrapper_children_level1 > li.level_2 {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.phadin-native-menu #cssmenu_content.menu > ul.menu-product > li.level_0 > ul.wrapper_children_level0 > li.level_1 > ul.wrapper_children_level1 > li.level_2 > a {
    display: flex !important;
    height: auto !important;
    min-height: 40px !important;
  }

  body.phadin-native-menu #cssmenu_content li.level_2 > a:hover,
  body.phadin-native-menu #cssmenu_content li.level_2 > a:focus-visible {
    border-color: rgba(15, 107, 75, 0.34);
    background: var(--phadin-green-soft-3);
    color: var(--phadin-green-700);
    box-shadow: 0 7px 15px rgba(6, 62, 45, 0.055);
    outline: none;
    transform: translateY(-1px);
  }

  body.phadin-native-menu #cssmenu_content a[aria-current="page"],
  body.phadin-native-menu #cssmenu_content .current-menu-item > a {
    color: var(--phadin-green-800);
  }

  body.phadin-native-menu #cssmenu_content .menu-item-title,
  body.phadin-native-menu #cssmenu_content .menu-item-description {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
  }

  body.phadin-native-menu #cssmenu_content .menu-item-description {
    margin-top: 3px;
    color: var(--phadin-text-600);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
  }
}

@media (max-width: 849px) {
  :root {
    --phadin-mobile-bottom-nav-height: 0px;
    --phadin-mobile-bottom-nav-gap: 14px;
    --phadin-mobile-bottom-nav-z: 40;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  html body {
    --phadin-mobile-header-height: 62px;
    padding-bottom: calc(
      var(--phadin-mobile-bottom-nav-height)
      + env(safe-area-inset-bottom, 0px)
    ) !important;
  }

  /* Remove only the retired fixed-nav reserves; body now owns the exact offset. */
  html body #footer.footer-wrapper {
    padding-bottom: 0 !important;
  }

  html body #footer .phadin-footer-v2__legal {
    padding-bottom: 26px !important;
  }

  #top-link {
    bottom: calc(
      var(--phadin-mobile-bottom-nav-height)
      + env(safe-area-inset-bottom, 0px)
      + var(--phadin-mobile-bottom-nav-gap)
    ) !important;
    z-index: calc(var(--phadin-mobile-bottom-nav-z) - 1);
  }

  body.phadin-native-menu .menu-show-click,
  body.phadin-native-menu .menu_show {
    display: none !important;
  }

  /* Header Builder remains the single source of mobile navigation elements. */
  html body #header.header {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 42 !important;
    width: 100%;
    height: 0 !important;
    min-height: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  html body #header.header .header-wrapper,
  html body #header.header .header-wrapper:not(.stuck),
  html body #header.header .header-wrapper.stuck {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 42 !important;
    width: 100%;
    height: var(--phadin-mobile-header-height) !important;
    min-height: var(--phadin-mobile-header-height) !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: transform 180ms ease !important;
  }

  /* Keep the white logo and controls legible on every mobile page. */
  html body #header.header #masthead.header-main {
    height: var(--phadin-mobile-header-height) !important;
    min-height: var(--phadin-mobile-header-height) !important;
    border: 0 !important;
    background: #07543b !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  html body #header.header .header-bg-container,
  html body #header.header .header-bg-color {
    background: transparent !important;
  }

  html body:not(.home) #header.header #masthead.header-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 5px 18px rgba(5, 46, 34, 0.14) !important;
  }

  html body.home #wrapper {
    padding-top: 0 !important;
  }

  /* Keep the homepage eyebrow clear of the overlaid 62px Header Builder row. */
  html body.home #main > #content > .ph-home-v2:first-of-type {
    padding-top: calc(var(--phadin-mobile-header-height) + 10px) !important;
  }

  html body:not(.home) #wrapper {
    padding-top: var(--phadin-mobile-header-height) !important;
  }

  html body #header.header #masthead.header-main .header-inner {
    position: relative;
    width: 100%;
    max-width: none;
    height: var(--phadin-mobile-header-height) !important;
    min-height: var(--phadin-mobile-header-height) !important;
    padding-right: 9px;
    padding-left: 9px;
  }

  html body #header.header #logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 112px !important;
    height: 48px;
    margin: 0 !important;
    transform: translate(-50%, -50%);
  }

  html body #header.header #logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  html body #header.header #logo img {
    width: auto !important;
    max-width: 112px !important;
    max-height: 46px !important;
    object-fit: contain;
  }

  #header .show-for-medium.flex-left,
  #header .show-for-medium.flex-right {
    position: relative;
    z-index: 3;
  }

  #header .show-for-medium.flex-left {
    margin-right: auto;
  }

  #header .show-for-medium.flex-right {
    margin-left: auto;
  }

  #header .mobile-nav {
    display: flex;
    align-items: center;
    gap: 0;
    height: 44px;
    margin: 0;
  }

  #header .mobile-nav > li {
    margin: 0 !important;
  }

  #header .mobile-nav > li > a,
  #header .mobile-nav > li > button,
  #header .mobile-nav .header-button > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
  }

  #header .mobile-nav > li > a:hover,
  #header .mobile-nav > li > a:focus-visible,
  #header .mobile-nav > li > button:hover,
  #header .mobile-nav > li > button:focus-visible,
  #header .mobile-nav .header-button > a:hover,
  #header .mobile-nav .header-button > a:focus-visible {
    background: rgba(255, 255, 255, 0.1) !important;
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: -5px;
  }

  #header .mobile-nav i {
    position: relative;
    color: inherit;
    font-size: 26px !important;
    line-height: 1;
  }

  #header .mobile-nav .icon-menu {
    font-size: 28px !important;
  }

  #header .mobile-nav .header-button {
    margin: 0 !important;
  }

  #header .mobile-nav [data-icon-label]::after {
    top: -7px;
    right: -9px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid rgba(7, 84, 59, 0.92);
    background: #e66535;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 13px;
  }

  #header .mobile-nav [data-icon-label="0"]::after,
  #header .mobile-nav [data-icon-label=""]::after {
    display: none !important;
  }

  html body #header.header .header-bottom {
    display: none !important;
  }

  body.admin-bar {
    padding-top: 46px !important;
  }

  html body.admin-bar #wpadminbar {
    display: block !important;
    position: fixed !important;
  }

  html body.admin-bar #header.header .header-wrapper,
  html body.admin-bar #header.header .header-wrapper:not(.stuck),
  html body.admin-bar #header.header .header-wrapper.stuck {
    top: 0 !important;
  }

  html body.phadin-mobile-header-scrolled #header.header .header-wrapper,
  html body.admin-bar.phadin-mobile-header-scrolled #header.header .header-wrapper {
    position: absolute !important;
    top: 0 !important;
    transform: translateY(-100%) !important;
    pointer-events: none !important;
  }

  /*
   * Mobile drawer presentation is owned by the active menu generation.
   * v3 keeps every selector in phadin-menu-v3-20260726.css; v2 ships its own
   * rollback stylesheet. Removing the former global card rules prevents two
   * presentation layers from styling the same Flatsome menu.
   */

  /*
   * Flatsome opens #main-menu in a full-screen Magnific Popup. The custom
   * header, bottom tabs, and page-level quick actions can have a higher
   * z-index, so they used to sit above the popup and block its controls.
   * Keep them out of the interaction layer only while the drawer is open.
   */
  body.phadin-native-mobile-menu-open #header,
  body.phadin-native-mobile-menu-open #menu-bottom-tabs,
  body.phadin-native-mobile-menu-open .phadin-op-bottom-actions {
    visibility: hidden;
    pointer-events: none;
  }

  body.phadin-native-mobile-menu-open {
    overflow: hidden;
  }
}


@media (max-width: 849px) {
  html body.admin-bar #wpadminbar .ab-top-secondary {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    float: none !important;
  }
}

@media (max-width: 600px) {
  html body.admin-bar #wpadminbar .ab-top-secondary > #wp-admin-bar-my-account > .ab-sub-wrapper {
    position: fixed !important;
    top: 46px !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: auto !important;
  }
}

@media (min-width: 783px) and (max-width: 849px) {
  body.admin-bar {
    padding-top: 32px !important;
  }

  html body.admin-bar #header.header .header-wrapper,
  html body.admin-bar #header.header .header-wrapper:not(.stuck),
  html body.admin-bar #header.header .header-wrapper.stuck {
    top: 0 !important;
  }
}

@media (min-width: 850px) {
  #menu-bottom-tabs {
    display: none !important;
  }
}

/* Phadin mobile dock — 2026-09-24. Existing menu, contact data and cart fragments. */
#menu-bottom-tabs {
  display: none !important;
}

@media (max-width: 767px) {
  :root {
    --phadin-nav-green: var(--phadin-green-700);
    --phadin-nav-text: var(--phadin-green-950);
    --phadin-nav-muted: var(--phadin-text-600);
    --phadin-nav-shadow: 0 8px 30px rgba(5, 46, 34, .14);
    --phadin-nav-radius: 28px;
    --phadin-nav-height: 72px;
    --phadin-nav-inset: 12px;
    --phadin-mobile-bottom-nav-height: 108px;
  }

  html {
    scroll-padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
  }

  #menu-bottom-tabs {
    box-sizing: border-box;
    position: fixed;
    left: max(var(--phadin-nav-inset), env(safe-area-inset-left, 0px));
    right: max(var(--phadin-nav-inset), env(safe-area-inset-right, 0px));
    /* Keep the visible gap equal to the sides when Safari changes its safe area. */
    bottom: var(--phadin-nav-inset);
    z-index: var(--phadin-mobile-bottom-nav-z);
    display: block !important;
    width: auto;
    height: var(--phadin-nav-height);
    margin: 0;
    padding: 0 4px;
    border: 0;
    border-radius: var(--phadin-nav-radius);
    background: #fff;
    box-shadow: var(--phadin-nav-shadow);
    isolation: isolate;
    overflow: visible;
  }

  #menu-bottom-tabs > .phadin-quick-links {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    list-style: none;
  }

  #menu-bottom-tabs .phadin-quick-links > li {
    box-sizing: border-box;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
  }

  #menu-bottom-tabs .phadin-quick-links > li > a {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
    height: 100%;
    min-width: 44px;
    min-height: 48px;
    padding: 10px 0;
    border-radius: 22px;
    color: var(--phadin-nav-text);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 140ms ease, background-color 140ms ease;
  }

  #menu-bottom-tabs .phadin-quick-link-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--phadin-nav-green);
    line-height: 1;
  }

  #menu-bottom-tabs .phadin-quick-link-icon img,
  #menu-bottom-tabs .phadin-quick-link-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
  }

  #menu-bottom-tabs .phadin-quick-link-icon::before {
    content: none !important;
  }

  #menu-bottom-tabs .menu-item-title {
    display: block;
    white-space: nowrap;
  }

  #menu-bottom-tabs .phadin-quick-links > li.phadin-action-hotline > a {
    color: var(--phadin-nav-green);
    font-size: 12px;
    font-weight: 700;
  }

  #menu-bottom-tabs .phadin-action-hotline .phadin-quick-link-icon {
    box-sizing: border-box;
    position: absolute;
    bottom: 28px;
    width: 60px;
    height: 60px;
    max-width: none;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--phadin-nav-green);
    background: linear-gradient(145deg, var(--phadin-green-500), var(--phadin-nav-green) 65%, var(--phadin-green-800));
    color: #fff;
    box-shadow: 0 0 0 5px var(--phadin-green-soft-1), 0 6px 18px rgba(15, 107, 75, .22);
  }

  #menu-bottom-tabs .phadin-action-hotline svg {
    width: 27px;
    height: 27px;
    max-width: 27px;
    max-height: 27px;
  }

  #menu-bottom-tabs .phadin-action-facebook .phadin-quick-link-icon {
    color: #1877f2;
  }

  #menu-bottom-tabs .phadin-action-zalo .phadin-quick-link-icon {
    box-sizing: border-box;
    color: #0068ff;
    border: 1px solid #d3e4ff;
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 -2px 0 #0068ff;
  }

  #menu-bottom-tabs .phadin-action-zalo svg {
    width: 21px;
    height: 21px;
  }

  #menu-bottom-tabs .phadin-cart-count,
  #menu-bottom-tabs .phadin-cart-count[hidden] {
    box-sizing: border-box;
    position: absolute;
    top: 7px;
    left: calc(50% + 5px);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 99px;
    background: #d9362b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
  }

  #menu-bottom-tabs .phadin-quick-links > li > a:hover,
  #menu-bottom-tabs .phadin-quick-links > li > a[aria-expanded="true"] {
    background-color: var(--phadin-green-soft-2);
  }

  #menu-bottom-tabs .phadin-quick-links > li > a:focus-visible {
    outline: 2px solid var(--phadin-nav-green);
    outline-offset: -3px;
    background-color: var(--phadin-green-soft-1);
  }

  #menu-bottom-tabs .phadin-quick-links > li > a:active {
    transform: scale(.96);
  }

  /* Let native form controls and their keyboards own the available screen. */
  body:has(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus) #menu-bottom-tabs,
  body:has(select:focus, textarea:focus, [contenteditable="true"]:focus) #menu-bottom-tabs,
  body:has(.woocommerce-sticky-add-to-cart--active) #menu-bottom-tabs {
    visibility: hidden;
    pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {
    #menu-bottom-tabs .phadin-quick-links > li > a {
      transition: none;
    }
  }
}

@media (min-width: 768px) and (max-width: 849px) {
  html body {
    padding-bottom: 0 !important;
  }
}

/* Regional contact sheet — one native top-layer dialog, no modal library. */
#phadin-mobile-contact-picker { display: none; }

@media (max-width: 767px) {
  #phadin-mobile-contact-picker {
    --phadin-contact-green: var(--phadin-green-700);
    --phadin-contact-green-dark: var(--phadin-green-950);
    --phadin-contact-orange: var(--phadin-accent-500);
    --phadin-contact-text: var(--phadin-text-900);
    --phadin-contact-muted: var(--phadin-text-600);
    --phadin-contact-border: var(--phadin-border);
    --phadin-contact-bg: #fff;
    --phadin-contact-shadow: 0 -12px 40px rgba(5, 46, 34, .12);
    box-sizing: border-box;
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    max-height: 88dvh;
    margin: 0;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 0;
    border-radius: 30px 30px 0 0;
    background: var(--phadin-contact-bg);
    box-shadow: var(--phadin-contact-shadow);
    color: var(--phadin-contact-text);
    font-family: inherit;
    opacity: 0;
    transform: translateY(32px);
    transition: transform 240ms ease-out, opacity 200ms ease-out;
  }

  #phadin-mobile-contact-picker[open] { display: block; }
  #phadin-mobile-contact-picker.is-open { opacity: 1; transform: translateY(0); }
  #phadin-mobile-contact-picker::backdrop {
    background: rgba(5, 35, 27, 0);
    transition: background-color 200ms ease-out;
  }
  #phadin-mobile-contact-picker.is-open::backdrop { background: rgba(5, 35, 27, .48); }
  #phadin-mobile-contact-picker * { box-sizing: border-box; }

  body.phadin-contact-open #menu-bottom-tabs,
  body.phadin-contact-open #header,
  body.phadin-contact-open #top-link {
    visibility: hidden;
    pointer-events: none;
  }

  #phadin-mobile-contact-picker .phadin-contact-sheet__handle {
    width: 44px;
    height: 5px;
    margin: 0 auto 20px;
    border-radius: 99px;
    background: #d7dcda;
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__header {
    position: relative;
    margin: 0 0 18px;
    padding: 10px 0 0;
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__header::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--phadin-contact-orange), transparent);
    content: "";
  }
  #phadin-mobile-contact-picker h2 {
    max-width: calc(100% - 58px);
    margin: 0;
    color: var(--phadin-contact-green-dark);
    font-size: 25px;
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -.4px;
    text-transform: none;
  }
  #phadin-mobile-contact-picker #phadin-contact-description {
    margin: 10px 0 0;
    padding: 0 2px 0 0;
    color: var(--phadin-contact-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__close {
    position: absolute;
    top: -3px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 1.5px solid var(--phadin-contact-green);
    border-right-color: var(--phadin-contact-orange);
    border-bottom-color: var(--phadin-contact-orange);
    border-radius: 50%;
    background: var(--phadin-green-soft-3);
    color: var(--phadin-contact-green-dark);
    box-shadow: none;
    cursor: pointer;
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__close svg { width: 25px; height: 25px; }
  #phadin-mobile-contact-picker .phadin-contact-sheet__regions { display: grid; gap: 12px; }
  #phadin-mobile-contact-picker .phadin-contact-sheet__card {
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--phadin-contact-border);
    border-radius: 20px;
    background: var(--phadin-green-soft-3);
    box-shadow: 0 4px 14px rgba(6, 62, 45, .035);
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__details {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__location {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #dfede6;
    color: var(--phadin-contact-green);
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__location svg { width: 34px; height: 34px; }
  #phadin-mobile-contact-picker .phadin-contact-sheet__location::after {
    position: absolute;
    top: 8px;
    right: 6px;
    width: 9px;
    height: 9px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: var(--phadin-contact-orange);
    content: "";
  }
  #phadin-mobile-contact-picker h3 {
    margin: 0;
    color: var(--phadin-contact-green-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__phone {
    display: block;
    margin-top: 3px;
    color: var(--phadin-contact-text);
    font-size: 24px;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__copy p {
    margin: 5px 0 0;
    color: var(--phadin-contact-muted);
    font-size: 12px;
    line-height: 1.45;
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__action {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 56px;
    margin: 12px 0 0;
    padding: 8px 12px;
    border: 1px solid var(--phadin-contact-green);
    border-right: 2px solid var(--phadin-contact-orange);
    border-radius: 16px;
    background: var(--phadin-contact-green);
    background: linear-gradient(100deg, var(--phadin-green-600), var(--phadin-contact-green) 74%, var(--phadin-green-800));
    box-shadow: 4px 3px 12px rgba(217, 120, 67, .10);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0;
    text-transform: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 140ms ease, box-shadow 140ms ease;
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__action-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 30px;
    border-right: 1px solid rgba(255, 255, 255, .25);
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__phone-icon { width: 23px; height: 23px; }
  #phadin-mobile-contact-picker .phadin-contact-sheet__zalo-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50% 50% 50% 3px;
    background: #fff;
    color: var(--phadin-contact-green-dark);
  }
  #phadin-mobile-contact-picker .phadin-contact-sheet__zalo-icon svg { width: 24px; height: 24px; }
  #phadin-mobile-contact-picker[data-contact-mode="zalo"] .phadin-contact-sheet__phone-icon { display: none; }
  #phadin-mobile-contact-picker[data-contact-mode="zalo"] .phadin-contact-sheet__zalo-icon { display: flex; }
  #phadin-mobile-contact-picker .phadin-contact-sheet__arrow { width: 24px; height: 24px; color: var(--phadin-contact-orange); }
  #phadin-mobile-contact-picker .phadin-contact-sheet__action:hover { color: #fff; box-shadow: 0 4px 14px rgba(6, 62, 45, .16); }
  #phadin-mobile-contact-picker .phadin-contact-sheet__action:active,
  #phadin-mobile-contact-picker .phadin-contact-sheet__close:active { transform: scale(.98); }
  #phadin-mobile-contact-picker :is(a,button):focus-visible { outline: 3px solid var(--phadin-contact-orange); outline-offset: 3px; }
  @media (max-width: 359px) {
    #phadin-mobile-contact-picker { padding-left: 16px; padding-right: 16px; }
    #phadin-mobile-contact-picker h2 { font-size: 23px; }
    #phadin-mobile-contact-picker .phadin-contact-sheet__card { padding: 12px; }
    #phadin-mobile-contact-picker .phadin-contact-sheet__phone { font-size: 22px; }
    #phadin-mobile-contact-picker .phadin-contact-sheet__action { gap: 7px; padding-inline: 10px; font-size: 14px; }
  }
  @media (prefers-reduced-motion: reduce) {
    #phadin-mobile-contact-picker,
    #phadin-mobile-contact-picker::backdrop,
    #phadin-mobile-contact-picker .phadin-contact-sheet__action { transition: none; }
  }
}
