/*
Theme Name: PetPlanet365 Greenshift Child V2
Theme URI: https://petplanet365.com/
Description: Tema filho V2 do Greenshift para o portal PetPlanet365.
Author: PetPlanet365
Author URI: https://petplanet365.com/
Template: greenshift
Version: 2.0.2
Requires at least: 6.7
Text Domain: petplanet365-greenshift-child-v2
*/

:root {
  --pp365-navy: #0B1F3A;
  --pp365-blue: #153A63;
  --pp365-accent: #D90F5A;
  --pp365-coral: #F34739;
  --pp365-text: #172033;
  --pp365-muted: #667085;
  --pp365-border: #DCE3EC;
  --pp365-surface: #F6F8FB;
}

body {
  color: var(--pp365-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

footer.wp-block-template-part a {
  color: inherit;
  text-decoration: none;
}

footer.wp-block-template-part a:hover,
footer.wp-block-template-part a:focus-visible {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

header.wp-block-template-part .wp-block-search {
  display: flex;
  align-items: center;
  align-self: center;
  min-width: 0;
  margin: 0 !important;
}

header.wp-block-template-part .wp-block-search__inside-wrapper {
  display: flex;
  align-items: center;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

header.wp-block-template-part .wp-block-search__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  line-height: 1 !important;
}

header.wp-block-template-part .wp-block-search__button svg {
  display: block;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

body.home .site-title-area {
  display: none;
}

body.home main.site-content {
  padding-top: 0 !important;
}

@media (max-width: 781px) {
  body {
    padding-bottom: 40px;
  }

  .petplanet-social-top {
    position: fixed !important;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 -3px 12px rgba(11, 31, 58, 0.16);
  }

  header.wp-block-template-part > .wp-block-group:not(.petplanet-social-top) {
    padding: 6px 10px !important;
  }

  header.wp-block-template-part > .wp-block-group:not(.petplanet-social-top) > .wp-block-group {
    min-height: 42px;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  header.wp-block-template-part > .wp-block-group:not(.petplanet-social-top) .wp-block-group {
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  header.wp-block-template-part .wp-block-site-logo,
  header.wp-block-template-part .wp-block-navigation,
  header.wp-block-template-part .wp-block-search,
  header.wp-block-template-part .wp-block-buttons,
  header.wp-block-template-part .wp-block-button {
    flex-shrink: 0 !important;
  }

  header.wp-block-template-part .wp-block-site-logo img {
    width: auto !important;
    max-width: 112px !important;
    max-height: 32px !important;
    object-fit: contain;
  }

  header.wp-block-template-part .wp-block-button__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 62px;
    height: 38px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    word-break: normal !important;
  }

  header.wp-block-template-part .wp-block-search__button {
    flex-basis: 34px;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 7px !important;
  }
}
