body {
  background: #fafafa;
  color: #1f2937;
}

.varisafe-header-wrap {
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
  z-index: 40;
  margin-bottom: 0 !important;
}

.varisafe-theme-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.varisafe-theme-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 220px;
}

.varisafe-header-wrap .varisafe-theme-logo {
  height: 30px;
  max-width: 170px;
}

.varisafe-footer-wrap .varisafe-theme-logo {
  height: 36px;
  max-width: 180px;
}

.wp-site-blocks {
  min-height: 100vh;
}

.wp-site-blocks > .wp-block-template-part {
  margin-bottom: 0 !important;
}

body.home .wp-site-blocks > .wp-block-template-part + .wp-block-group {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home .wp-site-blocks > .wp-block-template-part + .wp-block-group > .varisafe-hero:first-child {
  margin-top: 0 !important;
}

.wp-block-button__link {
  border-radius: 0.75rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.varisafe-hero .wp-block-button.is-style-outline .wp-block-button__link {
  color: #ffffff !important;
  background: transparent !important;
}

.wp-block-navigation .wp-block-navigation-item__content {
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
  color: #2563eb;
}

.varisafe-header-cta .is-style-outline .wp-block-button__link:hover {
  background: #eff6ff !important;
  box-shadow: none;
}

.wp-block-group.is-style-section,
.section-gray {
  background-color: #f9fafb;
}

.wp-block-group.varisafe-hero {
  border-radius: 0;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image:
    linear-gradient(135deg, rgba(37, 99, 235, 0.78) 0%, rgba(29, 78, 216, 0.78) 100%),
    url("../images/lost_keys.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.varisafe-hero > .wp-block-buttons {
  margin-top: 1.75rem;
}

.varisafe-cta-band .wp-block-buttons .wp-block-button__link {
  min-height: 48px;
  min-width: 190px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.varisafe-page-intro .wp-block-heading {
  margin-bottom: 0.4rem;
}

.wp-block-post-title a {
  color: #111827;
  text-decoration: none;
}

.wp-block-post-title a:hover {
  color: #2563eb;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  padding: 0.75rem 1rem;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  outline: none;
}

.varisafe-feature-card {
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.varisafe-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.varisafe-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.varisafe-footer-wrap a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.92rem;
}

.varisafe-footer-wrap a:hover {
  color: #2563eb;
}

.varisafe-footer-wrap p,
.varisafe-footer-wrap li,
.varisafe-footer-wrap .wp-block-heading {
  font-size: 0.92rem;
}

.varisafe-footer-wrap .wp-block-heading {
  font-weight: 600;
}

.varisafe-footer-wrap .wp-block-heading.has-large-font-size {
  font-size: 1.4rem !important;
}

.varisafe-footer-wrap .has-small-font-size {
  font-size: 0.82rem !important;
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  border-radius: 0.75rem;
}

@media (max-width: 900px) {
  .varisafe-main-nav {
    display: none;
  }
}
