/* 1.4.15 — match the mobile film captions to the two image stories. */
@media (max-width: 767px) {
  body.maghsoodi-site .maghsoodi-elementor-front :is(.elementor-element-b5a1e9d, .elementor-element-ef3c75f) {
    gap: 40px !important;
  }

  /* The second media column also contains a script-only HTML widget. */
  body.maghsoodi-site .maghsoodi-elementor-front .elementor-element-2935285 {
    gap: 0 !important;
  }

  body.maghsoodi-site .maghsoodi-elementor-front :is(.elementor-element-8f6c7c2, .elementor-element-67cb9fd),
  body.maghsoodi-site .maghsoodi-native-front .maghsoodi-home-feature-copy {
    gap: 40px !important;
    padding: 0 20px !important;
  }

  body.maghsoodi-site .maghsoodi-elementor-front :is(.elementor-element-8f6c7c2, .elementor-element-67cb9fd) > .elementor-widget {
    margin: 0 !important;
  }

  body.maghsoodi-site .maghsoodi-elementor-front :is(.elementor-element-8f6c7c2, .elementor-element-67cb9fd) .elementor-widget-button,
  body.maghsoodi-site .maghsoodi-elementor-front :is(.elementor-element-8f6c7c2, .elementor-element-67cb9fd) .elementor-widget-button .elementor-widget-container {
    display: flex;
    justify-content: center;
    line-height: 0;
  }

  body.maghsoodi-site .maghsoodi-elementor-front :is(.elementor-element-8f6c7c2, .elementor-element-67cb9fd) .elementor-button,
  body.maghsoodi-site .maghsoodi-native-front .maghsoodi-home-feature-copy .maghsoodi-outline-link {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  body.maghsoodi-site .maghsoodi-elementor-front :is(.elementor-element-8f6c7c2, .elementor-element-67cb9fd) .elementor-button::after {
    right: 0;
    left: 0;
  }

  body.maghsoodi-site .maghsoodi-native-front .maghsoodi-home-feature {
    gap: 40px;
  }

  /* A quieter hero caption, with a comfortable button target. */
  body.maghsoodi-site .mgs-hero-caption {
    gap: 12px;
    padding: 18px 20px;
  }

  body.maghsoodi-site .mgs-hero-caption .elementor-heading-title {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
  }

  body.maghsoodi-site .mgs-hero-caption .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 22px !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
  }
}

/* The native WooCommerce eye is a small control, not a login submit button. */
body.woocommerce-account.maghsoodi-site .woocommerce form .password-input {
  position: relative;
  display: block;
  width: 100%;
}

body.woocommerce-account.maghsoodi-site .woocommerce form .password-input > input {
  padding-left: 56px !important;
}

body.woocommerce-account.maghsoodi-site .woocommerce form .password-input > .show-password-input {
  position: absolute !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 4px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #616161 !important;
  box-shadow: none !important;
  line-height: 1 !important;
  transform: translateY(-50%) !important;
  cursor: pointer;
}

body.woocommerce-account.maghsoodi-site .woocommerce form .password-input > .show-password-input::before,
body.woocommerce-account.maghsoodi-site .woocommerce form .password-input > .show-password-input::after {
  margin: 0 !important;
  font-size: 20px;
  line-height: 1;
}

body.woocommerce-account.maghsoodi-site .woocommerce form .password-input > .show-password-input:hover {
  color: #292521 !important;
}

body.woocommerce-account.maghsoodi-site .woocommerce form .password-input > .show-password-input:focus-visible {
  outline: 2px solid #9c8152;
  outline-offset: -4px;
}
