/* v1.1.50 safe bundle: precious-branches.css + precious-radius.css, original order preserved. */
/* Precious Smiles branch navigation/footer enhancement.
   Scoped additions only: original theme CSS, colours, fonts and animation assets remain untouched. */

/* Unified desktop/mobile dropdown presentation.
   This overrides only dropdown-card presentation requested by the site owner. */
.navbar .dropdown-menu,
.ps-about-dropdown > .ps-about-menu {
  min-width: 310px;
  width: auto;
  height: auto !important;
  max-height: none !important;
  margin-top: 8px;
  padding: 8px 0 !important;
  border: 1px solid rgba(140, 70, 0, 0.12) !important;
  border-radius: 14px !important;
  background: #fffdf8 !important;
  background-color: #fffdf8 !important;
  box-shadow: 0 12px 30px rgba(140, 70, 0, 0.18) !important;
  overflow: visible !important;
}
.navbar .dropdown-menu > li,
.ps-about-dropdown > .ps-about-menu > li {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  border-bottom: 1px solid rgba(140, 70, 0, 0.11) !important;
  line-height: normal !important;
}
.navbar .dropdown-menu > li:last-child,
.ps-about-dropdown > .ps-about-menu > li:last-child {
  border-bottom: 0 !important;
}
.navbar .dropdown-menu > li > a,
.ps-about-dropdown > .ps-about-menu > li > a {
  position: relative;
  display: block !important;
  padding: 14px 44px 14px 20px !important;
  line-height: 1.35 !important;
  white-space: normal;
  background: transparent !important;
}
.navbar .dropdown-menu > li > a:hover,
.navbar .dropdown-menu > li > a:focus,
.ps-about-dropdown > .ps-about-menu > li > a:hover,
.ps-about-dropdown > .ps-about-menu > li > a:focus {
  background: rgba(255, 128, 0, 0.06) !important;
}
.ps-about-dropdown > .ps-about-menu > li.ps-nursery-menu-item > a:after {
  content: "\203A";
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -13px;
  font-size: 25px;
  line-height: 26px;
  color: currentColor;
}
@media (min-width: 768px) {
  .ps-about-dropdown:hover > .ps-about-menu,
  .ps-about-dropdown:focus-within > .ps-about-menu {
    display: block;
  }
}
@media (max-width: 767px) {
  .navbar-nav .open > .dropdown-menu,
  .navbar-nav .open.ps-about-dropdown > .ps-about-menu {
    min-width: 0;
    margin: 4px 10px 8px !important;
    padding: 5px 0 !important;
    border-radius: 12px !important;
    background: #fffdf8 !important;
    background-color: #fffdf8 !important;
    box-shadow: 0 7px 20px rgba(140, 70, 0, 0.14) !important;
  }
  .navbar-nav .open > .dropdown-menu > li > a,
  .navbar-nav .open.ps-about-dropdown > .ps-about-menu > li > a {
    padding: 11px 38px 11px 20px !important;
  }
}

/* Branch cards inside the existing footer */
.ps-branch-footer {
  padding: 0;
}
.ps-follow-us {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 28px;
  margin: 0 0 8px;
  line-height: 1;
  text-align: center;
}
.ps-follow-label {
  margin-right: 7px;
  font-size: 14px;
}
.ps-instagram-icon {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(140, 70, 0, 0.22);
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
  color: #8c4600;
  font-size: 16px;
}
.ps-branch-footer .ps-branch-row {
  margin-bottom: 0;
}
.ps-branch-card {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 102px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(140, 70, 0, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 7px 20px rgba(140, 70, 0, 0.12);
  color: #8c4600 !important;
  text-decoration: none !important;
  -webkit-transition: -webkit-transform 0.18s ease, box-shadow 0.18s ease;
          transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ps-branch-card:hover,
.ps-branch-card:focus {
  color: #8c4600 !important;
  text-decoration: none !important;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  box-shadow: 0 11px 26px rgba(140, 70, 0, 0.17);
}
.ps-branch-icon {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 54px;
  height: 54px;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 54px;
      -ms-flex: 0 0 54px;
          flex: 0 0 54px;
  border-radius: 50%;
  background: rgba(251, 202, 142, 0.58);
  color: #8c4600;
  font-size: 25px;
}
.ps-branch-content {
  min-width: 0;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  padding: 0 12px;
}
.ps-branch-title,
.ps-branch-address,
.ps-branch-phone,
.ps-branch-cta {
  display: block;
}
.ps-branch-title {
  margin-bottom: 3px;
  font-size: 18px;
  line-height: 1.25;
}
.ps-branch-address,
.ps-branch-phone {
  font-size: 13px;
  line-height: 1.35;
}
.ps-branch-cta {
  margin-top: 4px;
  color: #ff8000;
  font-weight: bold;
}
.ps-branch-arrow {
  display: block;
  width: 40px;
  height: 40px;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 40px;
      -ms-flex: 0 0 40px;
          flex: 0 0 40px;
  border-radius: 50%;
  background: rgba(251, 202, 142, 0.45);
  color: #8c4600;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
}
.ps-footer-links {
  margin: 0 0 10px;
  text-align: center;
}
.ps-legal-footer {
  margin-bottom: 0;
}
/* Compact only the existing green footer area; artwork and theme visuals remain untouched. */
footer.type3 {
  margin-top: 22px;
  padding-bottom: 14px;
}
.ps-footer-links span {
  padding: 0 8px;
}
@media (max-width: 767px) {
  .ps-branch-card {
    min-height: 0;
    padding: 11px 12px;
  }
  .ps-branch-icon {
    width: 54px;
    height: 54px;
    -webkit-flex-basis: 54px;
        -ms-flex-preferred-size: 54px;
            flex-basis: 54px;
    font-size: 25px;
  }
  .ps-branch-title {
    font-size: 18px;
  }
  .ps-branch-arrow {
    width: 34px;
    height: 34px;
    -webkit-flex-basis: 34px;
        -ms-flex-preferred-size: 34px;
            flex-basis: 34px;
    font-size: 27px;
    line-height: 30px;
  }
}

/* ---- precious-radius.css ---- */
/* Precious Smiles sitewide corner-radius enhancement.
   Requested visual-only change: no colours, fonts, images, spacing, layout or animation rules are modified. */

/* Main white/content panels used throughout the original template. */
.shadow-box {
  border-radius: 14px !important;
}

/* Existing Bootstrap/template panels and alerts. */
.panel,
.alert {
  border-radius: 12px !important;
}

/* Keep controls consistent while preserving all original colours, typography and sizing. */
.btn,
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
  border-radius: 8px !important;
}

/* Embedded maps/forms/media frames get the same subtle finish without changing their content. */
iframe {
  border-radius: 12px;
}
