/*
 Theme Name:   Astra Child Moytay
 Theme URI:    https://moytay.ir
 Description:  چایلدتم Astra با قالب برگه صفحه اصلی باشگاه موی تای (از نسخه cpanel)
 Author:       Moytay
 Template:     astra
 Version:      1.0.0
 Text Domain: astra-child-moytay
*/

/* Parent styles load via functions.php */

:root {
  --ast-global-color-0: #d32f2f;
  --ast-global-color-1: #b71c1c;
  --wp--preset--color--ast-global-color-0: #d32f2f;
  --wp--preset--color--ast-global-color-1: #b71c1c;
}

/* Buttons / links that still resolve to Astra accent */
.ast-theme-transparent-header .main-header-menu a:hover,
a:hover,
.ast-button,
.button,
input[type="submit"],
.menu-toggle:hover,
.ast-mobile-menu-trigger-minimal:hover {
  --ast-global-color-0: #d32f2f;
}

::selection {
  background-color: #d32f2f;
  color: #fff;
}

/* Header account / login button */
.moytay-account-btn,
.ast-header-html .moytay-account-btn,
.main-header-bar .moytay-account-btn,
.ast-builder-html-element .moytay-account-btn,
.widget .moytay-account-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem;
  min-height: 2.55rem !important;
  padding: 0.55rem 1.15rem !important;
  border: 1px solid #d32f2f !important;
  border-radius: 3px !important;
  background: #d32f2f !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.moytay-account-btn:hover,
.moytay-account-btn:focus,
.ast-header-html .moytay-account-btn:hover,
.main-header-bar .moytay-account-btn:hover,
.ast-builder-html-element .moytay-account-btn:hover,
.widget .moytay-account-btn:hover {
  background: #e53935 !important;
  border-color: #e53935 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.moytay-account-btn-widget {
  margin: 0;
  display: flex;
  align-items: center;
}
