/*
Theme Name: V-MED Astra Child Premium
Theme URI: https://v-med.pl/
Description: Bezpieczny motyw potomny Astra dla strony V-MED. Dodaje mobilne przyciski Cennik i Kontakt w nagłówku oraz premium stylistykę przycisków.
Author: V-MED
Template: astra
Version: 1.0.0
Text Domain: vmed-astra-child-premium
*/

:root {
  --vmed-navy: #06245C;
  --vmed-teal: #22AFC5;
  --vmed-teal-dark: #1398AD;
  --vmed-bg-soft: #F3FBFD;
  --vmed-border: rgba(34, 175, 197, 0.42);
  --vmed-shadow: 0 8px 22px rgba(6, 36, 92, 0.10);
}

/* Premium buttons injected into Astra header */
.vmed-header-actions {
  display: none;
}

.vmed-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--vmed-border);
  border-radius: 10px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FCFD 100%);
  color: var(--vmed-navy) !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(6, 36, 92, 0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.vmed-header-btn:hover,
.vmed-header-btn:focus {
  transform: translateY(-1px);
  border-color: var(--vmed-teal);
  background: #FFFFFF;
  box-shadow: var(--vmed-shadow);
  color: var(--vmed-navy) !important;
}

.vmed-header-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  stroke: var(--vmed-teal-dark);
}

@media (max-width: 921px) {
  #masthead .ast-container,
  .site-header .ast-container,
  .main-header-bar .ast-container {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #masthead .site-branding,
  .site-header .site-branding {
    flex: 1 1 auto;
    min-width: 0;
  }

  #masthead .custom-logo-link img,
  .site-header .custom-logo-link img {
    max-width: 142px;
    height: auto;
  }

  .vmed-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .main-header-menu-toggle,
  .ast-mobile-menu-trigger-minimal,
  .menu-toggle {
    margin-left: 2px !important;
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  .vmed-header-btn {
    min-height: 33px;
    padding: 7px 9px;
    font-size: 12px;
    border-radius: 9px;
  }

  .vmed-header-btn svg {
    width: 14px;
    height: 14px;
  }

  #masthead .custom-logo-link img,
  .site-header .custom-logo-link img {
    max-width: 125px;
  }
}

@media (max-width: 360px) {
  .vmed-header-btn svg {
    display: none;
  }

  .vmed-header-btn {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 11.5px;
  }
}
