/* YourTaxiMadeira static-site improvements */
:root {
  --ytm-ink: #171717;
  --ytm-muted: #5c6268;
  --ytm-sun: #f7c948;
  --ytm-sun-strong: #f0b429;
  --ytm-green: #1fa463;
  --ytm-paper: #ffffff;
  --ytm-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ytm-sun);
  outline-offset: 3px;
}

.pp-woo-cart-contents,
.ast-site-header-cart,
.ast-header-woo-cart,
.menu-item a[href="/carrinho/"] {
  display: none !important;
}

.pp-post,
.pp-woo-products-inner,
.woocommerce ul.products li.product {
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pp-post:hover,
.pp-woo-products-inner:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.pp-posts-button,
.elementor-button,
.gform_button.button {
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

a[href*="wa.me"],
.pp-posts-button[href*="wa.me"] {
  background-color: var(--ytm-green) !important;
  border-color: var(--ytm-green) !important;
  color: #fff !important;
}

a[href*="wa.me"]:hover,
.pp-posts-button[href*="wa.me"]:hover {
  filter: brightness(0.94);
}

.ytm-floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99998;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  background: rgba(23, 23, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: var(--ytm-shadow);
  backdrop-filter: blur(12px);
}

.ytm-floating-contact__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 999px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.ytm-floating-contact__link--primary {
  background: linear-gradient(135deg, var(--ytm-green), #16854f);
}

.ytm-floating-contact__link--secondary {
  background: rgba(255, 255, 255, 0.12);
}

.ytm-floating-contact__icon {
  font-size: 18px;
  line-height: 1;
}

.ytm-form-notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 5px solid var(--ytm-sun-strong);
  border-radius: 12px;
  background: #fff8db;
  color: var(--ytm-ink);
  font-size: 15px;
  line-height: 1.45;
}

.ytm-form-notice a {
  color: var(--ytm-ink);
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 84px;
  }

  .ytm-floating-contact {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: stretch;
    border-radius: 22px;
  }

  .ytm-floating-contact__link {
    flex: 1 1 0;
    padding: 12px 10px;
    font-size: 13px;
  }

  .ytm-floating-contact__label--optional {
    display: none;
  }
}
